mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-24781 fixup: Adjust innodb.innodb-index-debug
Now that an INSERT into an empty table is replicated more efficiently during online ALTER, an old test case started to fail. Let us disable the MDEV-515 logic for the critical INSERT statement.
This commit is contained in:
@@ -122,9 +122,11 @@ SET DEBUG_SYNC='row_log_table_apply1_before SIGNAL built WAIT_FOR log';
|
|||||||
ALTER TABLE t1 DROP j, FORCE;
|
ALTER TABLE t1 DROP j, FORCE;
|
||||||
connection default;
|
connection default;
|
||||||
SET DEBUG_SYNC='now WAIT_FOR built';
|
SET DEBUG_SYNC='now WAIT_FOR built';
|
||||||
|
SET DEBUG_DBUG='+d,row_ins_row_level';
|
||||||
INSERT INTO t1 (i) VALUES (0),(0);
|
INSERT INTO t1 (i) VALUES (0),(0);
|
||||||
ERROR 23000: Duplicate entry '0' for key 'i'
|
ERROR 23000: Duplicate entry '0' for key 'i'
|
||||||
SET DEBUG_SYNC='now SIGNAL log';
|
SET DEBUG_SYNC='now SIGNAL log';
|
||||||
|
SET DEBUG_DBUG=@saved_debug_dbug;
|
||||||
connection con1;
|
connection con1;
|
||||||
ERROR 23000: Duplicate entry '0' for key 'i'
|
ERROR 23000: Duplicate entry '0' for key 'i'
|
||||||
SET DEBUG_SYNC='row_log_table_apply1_before SIGNAL built2 WAIT_FOR log2';
|
SET DEBUG_SYNC='row_log_table_apply1_before SIGNAL built2 WAIT_FOR log2';
|
||||||
|
@@ -129,9 +129,11 @@ ALTER TABLE t1 DROP j, FORCE;
|
|||||||
|
|
||||||
--connection default
|
--connection default
|
||||||
SET DEBUG_SYNC='now WAIT_FOR built';
|
SET DEBUG_SYNC='now WAIT_FOR built';
|
||||||
|
SET DEBUG_DBUG='+d,row_ins_row_level';
|
||||||
--error ER_DUP_ENTRY
|
--error ER_DUP_ENTRY
|
||||||
INSERT INTO t1 (i) VALUES (0),(0);
|
INSERT INTO t1 (i) VALUES (0),(0);
|
||||||
SET DEBUG_SYNC='now SIGNAL log';
|
SET DEBUG_SYNC='now SIGNAL log';
|
||||||
|
SET DEBUG_DBUG=@saved_debug_dbug;
|
||||||
|
|
||||||
--connection con1
|
--connection con1
|
||||||
--error ER_DUP_ENTRY
|
--error ER_DUP_ENTRY
|
||||||
|
Reference in New Issue
Block a user