Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
de3ff607
Commit
de3ff607
authored
Nov 01, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #31484 Cluster LOST_EVENTS entry not added to binlog on mysqld restart
- correction
parent
de0780e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/suite/ndb/r/ndb_multi.result
mysql-test/suite/ndb/r/ndb_multi.result
+3
-2
mysql-test/suite/ndb/t/ndb_multi.test
mysql-test/suite/ndb/t/ndb_multi.test
+4
-2
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+1
-0
No files found.
mysql-test/suite/ndb/r/ndb_multi.result
View file @
de3ff607
drop table if exists t1, t2, t3, t4;
drop table if exists t1, t2, t3, t4;
flush status;
drop table if exists t1, t2, t3, t4;
drop table if exists t1, t2, t3, t4;
flush status;
flush status;
create table t1 (a int) engine=ndbcluster;
create table t1 (a int) engine=ndbcluster;
...
@@ -132,11 +133,11 @@ master_epoch, count))
...
@@ -132,11 +133,11 @@ master_epoch, count))
engine ndb;
engine ndb;
show tables like '%$%';
show tables like '%$%';
Tables_in_test (%$%)
Tables_in_test (%$%)
t1$
EX
t1$
ex
use test;
use test;
show tables like '%$%';
show tables like '%$%';
Tables_in_test (%$%)
Tables_in_test (%$%)
t1$
EX
t1$
ex
drop table `test`.`t1$EX`;
drop table `test`.`t1$EX`;
show tables like '%$%';
show tables like '%$%';
Tables_in_test (%$%)
Tables_in_test (%$%)
...
...
mysql-test/suite/ndb/t/ndb_multi.test
View file @
de3ff607
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
--
disable_warnings
--
disable_warnings
connection
server2
;
connection
server2
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
flush
status
;
connection
server1
;
connection
server1
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
--
enable_warnings
flush
status
;
flush
status
;
--
enable_warnings
# Create test tables on server1
# Create test tables on server1
create
table
t1
(
a
int
)
engine
=
ndbcluster
;
create
table
t1
(
a
int
)
engine
=
ndbcluster
;
...
@@ -139,9 +139,11 @@ create table `test`.`t1$EX`
...
@@ -139,9 +139,11 @@ create table `test`.`t1$EX`
# check that table shows up ok on both servers
# check that table shows up ok on both servers
# before bugfix table would not show up on server2
# before bugfix table would not show up on server2
--
replace_regex
/
EX
/
ex
/
show
tables
like
'%$%'
;
show
tables
like
'%$%'
;
connection
server2
;
connection
server2
;
use
test
;
use
test
;
--
replace_regex
/
EX
/
ex
/
show
tables
like
'%$%'
;
show
tables
like
'%$%'
;
# check cleanup
# check cleanup
...
...
sql/ha_ndbcluster_binlog.cc
View file @
de3ff607
...
@@ -3716,6 +3716,7 @@ restart:
...
@@ -3716,6 +3716,7 @@ restart:
/*
/*
Main NDB Injector loop
Main NDB Injector loop
*/
*/
if
(
ndb_binlog_running
)
{
{
/*
/*
Always insert a GAP event as we cannot know what has happened
Always insert a GAP event as we cannot know what has happened
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment