mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
ef00ac4c86
This patch allows the server to open old tables that have "bad" generated columns (i.e. indexed virtual generated columns, persistent generated columns) that depend on sql_mode, for general things like SELECT, INSERT, DROP, etc. Warning are issued in such cases. Only these commands are now disallowed and return an error: - CREATE TABLE introducing a "bad" generated column - ALTER TABLE introducing a "bad" generated column - CREATE INDEX introdicing a "bad" generated column (i.e. adding an index on a virtual generated column that depends on sql_mode). Note, these commands are allowed: - ALTER TABLE removing a "bad" generate column - ALTER TABLE removing an index from a "bad" virtual generated column - DROP INDEX removing an index from a "bad" virtual generated column but only if the table does not have any "bad" columns as a result. |
||
---|---|---|
.. | ||
maria100226_char_to_vchar_stored.frm | ||
maria100226_char_to_vchar_stored.MYD | ||
maria100226_char_to_vchar_stored.MYI | ||
maria100226_char_to_vchar_virtual.frm | ||
maria100226_char_to_vchar_virtual.MYD | ||
maria100226_char_to_vchar_virtual.MYI |