next-4284 tree:
fix lock_sync.test failure in row based replication mode.
This commit is contained in:
parent
8bd1e19d68
commit
bca1fec83e
@ -60,8 +60,9 @@ release_lock("lock_bug45143_wait")
|
||||
1
|
||||
# Switch to connection 'con_bug45143_1'.
|
||||
# Reap INSERT statement.
|
||||
Warnings:
|
||||
Note 1592 Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT. Reason for unsafeness: Statement uses a system function whose value may differ on slave.
|
||||
# In Statement and Mixed replication mode we get here "Unsafe
|
||||
# for binlog" warnings. In row mode there are no warnings.
|
||||
# Hide the discrepancy.
|
||||
# Switch to connection 'con_bug45143_3'.
|
||||
# Reap LOCK TABLES statement.
|
||||
unlock tables;
|
||||
|
@ -109,7 +109,13 @@ select release_lock("lock_bug45143_wait");
|
||||
--echo # Switch to connection 'con_bug45143_1'.
|
||||
connection con_bug45143_1;
|
||||
--echo # Reap INSERT statement.
|
||||
--echo # In Statement and Mixed replication mode we get here "Unsafe
|
||||
--echo # for binlog" warnings. In row mode there are no warnings.
|
||||
--echo # Hide the discrepancy.
|
||||
--disable_warnings
|
||||
--reap
|
||||
--enable_warnings
|
||||
|
||||
|
||||
--echo # Switch to connection 'con_bug45143_3'.
|
||||
connection con_bug45143_3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user