Spracherkennung für: .test vermutete Sprache: SQL {SQL[84] ABAP[48] Lisp[45]} [Methode: maximale Elemente, drei Dimensionen]
--source include/have_binlog_format_mixed.inc
--source include/have_debug_sync.inc
--source include/have_innodb_binlog.inc
CREATE TABLE t1 (a INT PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1), (2), (3), (4), (5);
--connect (con1,localhost,root,,)
SET debug_sync= 'alter_table_online_downgraded SIGNAL ready WAIT_FOR cont';
send ALTER TABLE t1 FORCE, ALGORITHM=COPY;
--connection default
SET debug_sync= 'now WAIT_FOR ready';
--connect (con2,localhost,root,,)
BEGIN;
INSERT INTO t1 VALUES (6);
--connection default
SET debug_sync= 'now SIGNAL cont';
--connection con2
INSERT INTO t1 VALUES (7);
COMMIT;
send INSERT INTO t1 VALUES (8);
--connection con1
reap;
SET debug_sync= 'RESET';
--connection con2
reap;
SELECT COUNT(*) FROM t1;
DROP TABLE t1;
[Dauer der Verarbeitung: 0.12 Sekunden, vorverarbeitet 2026-10-08]