mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
MDEV-24465: Added wait condition to make sure table t1 is replicated to node_2.
This commit is contained in:
parent
1284e6c30d
commit
06644f704a
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
|
|||
INSERT INTO t1 VALUES (1), (1);
|
||||
|
||||
--connection node_2
|
||||
--let $wait_condition = SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE NAME LIKE 'test/t1';
|
||||
--source include/wait_condition.inc
|
||||
|
||||
SET SESSION wsrep_OSU_method = "RSU";
|
||||
--error ER_DUP_ENTRY
|
||||
ALTER TABLE t1 ADD PRIMARY KEY (f1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue