Bug #104504 | COLLATE maybe overwritten by charset if both specified in create database stmt | ||
---|---|---|---|
Submitted: | 2 Aug 2021 12:26 | Modified: | 20 Aug 2021 16:44 |
Reporter: | Cheng Zhou | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S3 (Non-critical) |
Version: | 8.0.25, 8.0.26 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[2 Aug 2021 12:26]
Cheng Zhou
[3 Aug 2021 8:01]
MySQL Verification Team
Hello Cheng Zhou, Thank you for the report and test case. regards, Umesh
[20 Aug 2021 16:44]
Jon Stephens
Documented fix as follows in the MySQL 8.0.27 changelog: Given the default collation c1 of a character set cs, and a different collation c2 (that is, not equal to c1), then the statement CREATE DATABASE d COLLATE c2 CHARACTER SET cs created a new database with the default collation set to c1 instead of c2. Closed.