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
ace20e0c
Commit
ace20e0c
authored
Jul 13, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated lock test
parent
9f00125a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
mysql-test/r/lock.result
mysql-test/r/lock.result
+2
-0
mysql-test/t/lock.test
mysql-test/t/lock.test
+16
-0
No files found.
mysql-test/r/lock.result
View file @
ace20e0c
...
@@ -6,3 +6,5 @@ Table Op Msg_type Msg_text
...
@@ -6,3 +6,5 @@ Table Op Msg_type Msg_text
test.t2 check error Table 't2' was not locked with LOCK TABLES
test.t2 check error Table 't2' was not locked with LOCK TABLES
n
n
1
1
n
1
mysql-test/t/lock.test
View file @
ace20e0c
...
@@ -75,3 +75,19 @@ connection reader;
...
@@ -75,3 +75,19 @@ connection reader;
reap
;
reap
;
drop
table
t1
;
drop
table
t1
;
connection
locker
;
create
table
t1
(
n
int
);
insert
into
t1
values
(
1
);
lock
tables
t1
read
;
connection
writer
;
send
update
low_priority
t1
set
n
=
4
;
connection
reader
;
send
select
n
from
t1
;
connection
locker
;
unlock
tables
;
connection
writer
;
reap
;
connection
reader
;
reap
;
drop
table
t1
;
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