Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not a Bug
-
Affects Version/s: 10.1.7
-
Fix Version/s: N/A
-
Component/s: Data Definition - Alter Table
-
Labels:None
Description
SHOW CREATE TABLE shows backticks around the encryption options
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-8884 InnoDB redo log encryption not working and documentation incomplete
-
- Open
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
This is intentional behavior. These table attributes are defined by the engine, not by the server, they can be arbitrary identifiers. See https://mariadb.com/kb/en/mariadb/engine-defined-new-tablefieldindex-attributes/
In the future new keywords can be added to the grammar that could conflict with these attributes. To make sure that old SQL table dumps will continue to be readable and usable, SHOW CREATE TABLE quotes all engine-defined table attributes.
If you don't like quotes, you can disable them with SET SQL_QUOTE_SHOW_CREATE=0