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
4c77f22c
Commit
4c77f22c
authored
Dec 18, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
temp commit
parent
0d67738e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mysql-test/t/rpl_get_lock.test
mysql-test/t/rpl_get_lock.test
+8
-0
No files found.
mysql-test/t/rpl_get_lock.test
View file @
4c77f22c
source
include
/
master
-
slave
.
inc
;
source
include
/
master
-
slave
.
inc
;
connection
master
;
connection
master
;
create
table
t1
(
n
int
);
create
table
t1
(
n
int
);
create
table
t2
(
n
int
);
insert
into
t1
values
(
get_lock
(
"lock"
,
2
));
insert
into
t1
values
(
get_lock
(
"lock"
,
2
));
dirty_close
master
;
dirty_close
master
;
connection
master1
;
connection
master1
;
select
get_lock
(
"lock"
,
2
);
select
get_lock
(
"lock"
,
2
);
select
release_lock
(
"lock"
);
select
release_lock
(
"lock"
);
let
$
1
=
20000
;
while
(
$
1
)
{
select
get_lock
(
"lock"
,
2
);
select
release_lock
(
"lock"
);
dec
$
1
;
}
save_master_pos
;
save_master_pos
;
connection
slave
;
connection
slave
;
sync_with_master
;
sync_with_master
;
...
...
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