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
e3e51204
Commit
e3e51204
authored
Jul 17, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added timeouts to make lock test repeatable
parent
b051b3ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
mysql-test/r/lock.result
mysql-test/r/lock.result
+1
-1
mysql-test/t/lock.test
mysql-test/t/lock.test
+4
-0
No files found.
mysql-test/r/lock.result
View file @
e3e51204
...
...
@@ -5,6 +5,6 @@ test.t1 check status OK
Table Op Msg_type Msg_text
test.t2 check error Table 't2' was not locked with LOCK TABLES
n
1
4
n
1
mysql-test/t/lock.test
View file @
e3e51204
...
...
@@ -66,8 +66,10 @@ lock tables t1 write;
connection
writer
;
send
update
low_priority
t1
set
n
=
4
;
connection
reader
;
--
sleep
2
send
select
n
from
t1
;
connection
locker
;
--
sleep
2
unlock
tables
;
connection
writer
;
reap
;
...
...
@@ -82,8 +84,10 @@ lock tables t1 read;
connection
writer
;
send
update
low_priority
t1
set
n
=
4
;
connection
reader
;
--
sleep
2
send
select
n
from
t1
;
connection
locker
;
--
sleep
2
unlock
tables
;
connection
writer
;
reap
;
...
...
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