Commit de3ff607 authored by unknown's avatar unknown

Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart

- correction

parent de0780e0
drop table if exists t1, t2, t3, t4;
flush status;
drop table if exists t1, t2, t3, t4;
flush status;
create table t1 (a int) engine=ndbcluster;
......@@ -132,11 +133,11 @@ master_epoch, count))
engine ndb;
show tables like '%$%';
Tables_in_test (%$%)
t1$EX
t1$ex
use test;
show tables like '%$%';
Tables_in_test (%$%)
t1$EX
t1$ex
drop table `test`.`t1$EX`;
show tables like '%$%';
Tables_in_test (%$%)
......
......@@ -4,11 +4,11 @@
--disable_warnings
connection server2;
drop table if exists t1, t2, t3, t4;
flush status;
connection server1;
drop table if exists t1, t2, t3, t4;
--enable_warnings
flush status;
--enable_warnings
# Create test tables on server1
create table t1 (a int) engine=ndbcluster;
......@@ -139,9 +139,11 @@ create table `test`.`t1$EX`
# check that table shows up ok on both servers
# before bugfix table would not show up on server2
--replace_regex /EX/ex/
show tables like '%$%';
connection server2;
use test;
--replace_regex /EX/ex/
show tables like '%$%';
# check cleanup
......
......@@ -3716,6 +3716,7 @@ pthread_handler_t ndb_binlog_thread_func(void *arg)
/*
Main NDB Injector loop
*/
if (ndb_binlog_running)
{
/*
Always insert a GAP event as we cannot know what has happened
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment