mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-18465 Logging of DDL statements during backup
Many of the changes was needed to be able to collect and print engine name and table version id's in the ddl log.
This commit is contained in:
@ -33,11 +33,13 @@ SET DEBUG_SYNC= 'RESET';
|
||||
#
|
||||
CREATE DATABASE test2;
|
||||
CREATE TABLE t1(a INT) ENGINE=InnoDB;
|
||||
connect con1,localhost,root,,;
|
||||
BACKUP STAGE START;
|
||||
connection default;
|
||||
SET DEBUG_SYNC='alter_opened_table SIGNAL ready WAIT_FOR go';
|
||||
ALTER TABLE t1 RENAME TO test2.t1;
|
||||
connect con1,localhost,root,,;
|
||||
connection con1;
|
||||
SET DEBUG_SYNC='now WAIT_FOR ready';
|
||||
BACKUP STAGE START;
|
||||
SET DEBUG_SYNC='mdl_acquire_lock_wait SIGNAL ready1';
|
||||
BACKUP STAGE BLOCK_DDL;
|
||||
connect con2,localhost,root,,;
|
||||
|
Reference in New Issue
Block a user