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
195e6219
Commit
195e6219
authored
Dec 11, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#134 fix non-determinism in the IS lock waits tests
parent
a47d4eb8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
...l-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
+2
-1
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
+2
-1
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
+2
-1
No files found.
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
View file @
195e6219
...
...
@@ -27,7 +27,8 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
connection
default
;
real_sleep
1
;
# give some time for conn_b to block
let
$wait_condition
=
select
count
(
*
)
=
1
from
information_schema
.
processlist
where
info
=
'insert into t values (1)'
and
state
=
'update'
;
source
include
/
wait_condition
.
inc
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
select
*
from
information_schema
.
tokudb_locks
;
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
View file @
195e6219
...
...
@@ -24,7 +24,8 @@ send insert into t values (1);
# should find the presence of a lock on 1st transaction
connection
default
;
real_sleep
1
;
# give some time for conn_b to get blocked
let
$wait_condition
=
select
count
(
*
)
=
1
from
information_schema
.
processlist
where
info
=
'insert into t values (1)'
and
state
=
'update'
;
source
include
/
wait_condition
.
inc
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
select
*
from
information_schema
.
tokudb_locks
;
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
View file @
195e6219
...
...
@@ -30,7 +30,8 @@ send insert into t values (1);
# should find the presence of a lock on 2nd transaction
connection
default
;
real_sleep
1
;
# give some time for conn_b to get blocked
let
$wait_condition
=
select
count
(
*
)
=
1
from
information_schema
.
processlist
where
info
=
'insert into t values (1)'
and
state
=
'update'
;
source
include
/
wait_condition
.
inc
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
eval
select
*
from
information_schema
.
tokudb_locks
;
...
...
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