Table collation doesn't follow schema #58446
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
compatibility-mysql8
This is a compatibility issue with MySQL 8.0(but NOT 5.7)
component/ddl
This issue is related to DDL of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
type/compatibility
Bug Report
When creating a table the collation should be the collation from the schema if it is not explicitly set for the table. This doesn't seem to be the case with TiDB if the character set is specified explicitly, but the collation is not.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
MySQL 9.1.0:
3. What did you see instead (Required)
TiDB v8.5.0
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: