1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

One more fix for binlog_row_binlog due to interminism of checking with

SHOW BINLOG event. The latter should be either fixed or replaced to favor
reading from binlog as the check.


mysql-test/extra/binlog_tests/binlog_insert_delayed.test:
  interminism of binlogging of multi-row insert delayed forced to relocate the show
mysql-test/r/binlog_row_binlog.result:
  new results
This commit is contained in:
unknown
2006-09-27 13:05:29 +03:00
parent 1ac90c6a50
commit a365817a99
2 changed files with 20 additions and 24 deletions

View File

@ -20,6 +20,13 @@ insert delayed into t1 values (300);
inc $count;
--source include/wait_until_rows_count.inc
# moving binlog check affront of multi-rows queries which work is indeterministic (extra table_maps)
# todo: better check is to substitute SHOW BINLOG with reading from binlog, probably bug#19459 is in
# the way
--replace_column 2 # 5 #
--replace_regex /table_id: [0-9]+/table_id: #/
show binlog events from 102;
insert delayed into t1 values (null),(null),(null),(null);
inc $count; inc $count; inc $count; inc $count;
--source include/wait_until_rows_count.inc
@ -32,7 +39,4 @@ inc $count; inc $count; inc $count; inc $count;
--echo $count == $rows_inserted
select * from t1;
--replace_column 2 # 5 #
--replace_regex /table_id: [0-9]+/table_id: #/
show binlog events from 102;
drop table t1;