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:
@ -49,12 +49,15 @@ 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';
|
||||
send 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';
|
||||
send BACKUP STAGE BLOCK_DDL;
|
||||
|
||||
|
Reference in New Issue
Block a user