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
eac88b68
Commit
eac88b68
authored
Nov 16, 2005
by
sasha@asksasha.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed the race condition in the test case for BUG#7947
parent
cb6d69f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
mysql-test/r/mix_innodb_myisam_binlog.result
mysql-test/r/mix_innodb_myisam_binlog.result
+5
-3
mysql-test/t/mix_innodb_myisam_binlog.test
mysql-test/t/mix_innodb_myisam_binlog.test
+5
-3
No files found.
mysql-test/r/mix_innodb_myisam_binlog.result
View file @
eac88b68
...
...
@@ -222,9 +222,9 @@ insert into t0 select GET_LOCK("lock1",null);
set autocommit=0;
create table t2 (n int) engine=innodb;
insert into t2 values (3);
select get_lock("lock1",
null
);
get_lock("lock1",
null
)
0
select get_lock("lock1",
60
);
get_lock("lock1",
60
)
1
show binlog events from 79;
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000001 79 Query 1 79 use `test`; BEGIN
...
...
@@ -249,5 +249,7 @@ master-bin.000001 1056 Query 1 1056 use `test`; insert t0 select * from t1
master-bin.000001 1117 Query 1 1117 use `test`; DO RELEASE_LOCK("a")
master-bin.000001 1172 Query 1 1172 use `test`; insert into t0 select GET_LOCK("lock1",null)
master-bin.000001 1251 Query 1 1251 use `test`; create table t2 (n int) engine=innodb
master-bin.000001 1323 Query 1 1323 use `test`; DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `test`.`t1`,`test`.`ti`
master-bin.000001 1424 Query 1 1424 use `test`; DO RELEASE_LOCK("lock1")
do release_lock("lock1");
drop table t0,t2;
mysql-test/t/mix_innodb_myisam_binlog.test
View file @
eac88b68
...
...
@@ -218,8 +218,10 @@ create temporary table ti (a int) engine=innodb;
rollback
;
insert
into
ti
values
(
1
);
set
autocommit
=
0
;
create
temporary
table
t1
(
a
int
)
engine
=
myisam
;
commit
;
insert
t1
values
(
1
);
rollback
;
create
temporary
table
t1
(
a
int
)
engine
=
myisam
;
commit
;
insert
t1
values
(
1
);
rollback
;
create
table
t0
(
n
int
);
insert
t0
select
*
from
t1
;
set
autocommit
=
1
;
...
...
@@ -229,7 +231,7 @@ create table t2 (n int) engine=innodb;
insert
into
t2
values
(
3
);
disconnect
con2
;
connection
con3
;
select
get_lock
(
"lock1"
,
null
);
select
get_lock
(
"lock1"
,
60
);
show
binlog
events
from
79
;
do
release_lock
(
"lock1"
);
drop
table
t0
,
t2
;
...
...
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