mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merged 5.1 with maria 5.1
This commit is contained in:
@@ -293,8 +293,18 @@ insert delayed into t2 values(rand());
|
||||
set @a=2.345;
|
||||
insert delayed into t2 values(@a);
|
||||
|
||||
let $wait_condition= SELECT COUNT(*) = 19 FROM t2;
|
||||
# With INSERT DELAYED, rows are written to the binlog after they are
|
||||
# written to the table. Therefore, it is not enough to wait until the
|
||||
# rows make it to t2 on the master (the rows may not be in the binlog
|
||||
# at that time, and may still not be in the binlog when
|
||||
# sync_slave_with_master is later called). Instead, we wait until the
|
||||
# rows make it to t2 on the slave. We first call
|
||||
# sync_slave_with_master, so that we are sure that t2 has been created
|
||||
# on the slave.
|
||||
sync_slave_with_master;
|
||||
let $wait_condition= SELECT COUNT(*) = 19 FROM mysqltest1.t2;
|
||||
--source include/wait_condition.inc
|
||||
connection master;
|
||||
|
||||
# If you want to do manual testing of the mixed mode regarding UDFs (not
|
||||
# testable automatically as quite platform- and compiler-dependent),
|
||||
|
Reference in New Issue
Block a user