[MDEV-22233] information_schema.TABLES does not show table's default character set Created: 2020-04-13 Updated: 2020-04-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Information Schema |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The information_schema.TABLES table does not currently show a table's default character set. For example, see here:
It does have a TABLE_COLLATION column, which can be used to infer the table's default character set. However, the documentation would be simpler and clearer if the information_schema.TABLES table had *both* the default character set and the collation. The information_schema.SCHEMATA table already contains both values for databases:
The table's default character set can currently be found from SHOW CREATE TABLE:
|