mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-31811 deprecate old_mode values
mark non-default values of old_mode as deprecated. print a warning when they're set from the command line and in SQL.
This commit is contained in:
@ -1432,6 +1432,8 @@ online
|
||||
set debug_sync= 'now SIGNAL proceed';
|
||||
connection default;
|
||||
set old_mode= LOCK_ALTER_TABLE_COPY;
|
||||
Warnings:
|
||||
Warning 1287 'LOCK_ALTER_TABLE_COPY' is deprecated and will be removed in a future release
|
||||
set debug_sync= 'alter_table_copy_end SIGNAL copy_end WAIT_FOR proceed';
|
||||
alter table t1 drop primary key, add primary key(b), algorithm= copy;
|
||||
connection con2;
|
||||
|
Reference in New Issue
Block a user