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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fc54b137
Commit
fc54b137
authored
Nov 12, 2002
by
ram@mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bdb-deadlock test: added reap commands
parent
7e7939ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/r/bdb-deadlock.result
mysql-test/r/bdb-deadlock.result
+4
-4
mysql-test/t/bdb-deadlock.test
mysql-test/t/bdb-deadlock.test
+2
-0
No files found.
mysql-test/r/bdb-deadlock.result
View file @
fc54b137
...
...
@@ -9,23 +9,23 @@ set autocommit=0;
update t2 set x = 1 where id = 0;
select x from t1 where id = 0;
select x from t2 where id = 0;
commit;
Deadlock found when trying to get lock; Try restarting transaction
commit;
x
1
commit;
select * from t1;
id x
0 1
select * from t2;
id x
0 1
commit;
select * from t1;
id x
0 1
select * from t1;
select * from t2;
id x
0 1
commit;
id x
0 1
drop table t1,t2;
mysql-test/t/bdb-deadlock.test
View file @
fc54b137
...
...
@@ -35,9 +35,11 @@ select x from t2 where id = 0;
connection
con2
;
--
error
1213
reap
;
commit
;
connection
con1
;
reap
;
commit
;
connection
con2
;
...
...
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