mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #36435 rpl_events uses non-deterministic check
Select of the test could not perform deterministically, because the table remains to be updatable by the running event handler. Fixed with changing verification to use a logical values instead of comparison with a pre-recorded results. mysql-test/include/rpl_events.inc: changing verification to use a logical values instead of comparison with a pre-recorded results mysql-test/suite/rpl/r/rpl_events.result: resutls updated.
This commit is contained in:
@ -23,17 +23,11 @@ SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name
|
||||
db name status originator
|
||||
test justonce ENABLED 1
|
||||
"Checking event data on the master"
|
||||
SELECT * FROM t1 ORDER BY id;
|
||||
id c ts
|
||||
1 manually TIMESTAMP
|
||||
2 from justonce TIMESTAMP
|
||||
affected rows: 2
|
||||
ONE
|
||||
1
|
||||
"Checking event data on the slave"
|
||||
SELECT * FROM t1 ORDER BY id;
|
||||
id c ts
|
||||
1 manually TIMESTAMP
|
||||
2 from justonce TIMESTAMP
|
||||
affected rows: 2
|
||||
ZERO
|
||||
0
|
||||
"Checking event is inactive on slave"
|
||||
SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name = 'justonce';
|
||||
db name status originator
|
||||
@ -118,17 +112,11 @@ SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name
|
||||
db name status originator
|
||||
test justonce ENABLED 1
|
||||
"Checking event data on the master"
|
||||
SELECT * FROM t1 ORDER BY id;
|
||||
id c ts
|
||||
1 manually TIMESTAMP
|
||||
2 from justonce TIMESTAMP
|
||||
affected rows: 2
|
||||
ONE
|
||||
1
|
||||
"Checking event data on the slave"
|
||||
SELECT * FROM t1 ORDER BY id;
|
||||
id c ts
|
||||
1 manually TIMESTAMP
|
||||
2 from justonce TIMESTAMP
|
||||
affected rows: 2
|
||||
ZERO
|
||||
0
|
||||
"Checking event is inactive on slave"
|
||||
SELECT db, name, status, originator FROM mysql.event WHERE db = 'test' AND name = 'justonce';
|
||||
db name status originator
|
||||
|
Reference in New Issue
Block a user