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
09a28474
Commit
09a28474
authored
May 08, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#230 disable the tokudb bulk loader in the tokudb locks schema tests
parent
b0493252
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
6 deletions
+10
-6
mysql-test/suite/tokudb/r/i_s_tokudb_lock_waits_released.result
...test/suite/tokudb/r/i_s_tokudb_lock_waits_released.result
+2
-0
mysql-test/suite/tokudb/r/i_s_tokudb_lock_waits_timeout.result
...-test/suite/tokudb/r/i_s_tokudb_lock_waits_timeout.result
+1
-0
mysql-test/suite/tokudb/r/i_s_tokudb_locks.result
mysql-test/suite/tokudb/r/i_s_tokudb_locks.result
+1
-1
mysql-test/suite/tokudb/r/i_s_tokudb_locks_released.result
mysql-test/suite/tokudb/r/i_s_tokudb_locks_released.result
+1
-0
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
-0
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
+1
-0
mysql-test/suite/tokudb/t/i_s_tokudb_locks.test
mysql-test/suite/tokudb/t/i_s_tokudb_locks.test
+1
-1
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
+1
-4
No files found.
mysql-test/suite/tokudb/r/i_s_tokudb_lock_waits_released.result
View file @
09a28474
...
...
@@ -9,6 +9,7 @@ locks_trx_id locks_mysql_thread_id locks_dname locks_key_left locks_key_right
select * from information_schema.tokudb_lock_waits;
requesting_trx_id blocking_trx_id lock_waits_dname lock_waits_key_left lock_waits_key_right lock_waits_start_time
set autocommit=0;
set tokudb_prelock_empty=OFF;
insert into t values (1);
set autocommit=0;
insert into t values (1);
...
...
@@ -38,6 +39,7 @@ locks_trx_id locks_mysql_thread_id locks_dname locks_key_left locks_key_right
select * from information_schema.tokudb_lock_waits;
requesting_trx_id blocking_trx_id lock_waits_dname lock_waits_key_left lock_waits_key_right lock_waits_start_time
set autocommit=0;
set tokudb_prelock_empty=OFF;
replace into t values (1);
set autocommit=0;
replace into t values (1);
...
...
mysql-test/suite/tokudb/r/i_s_tokudb_lock_waits_timeout.result
View file @
09a28474
...
...
@@ -9,6 +9,7 @@ locks_trx_id locks_mysql_thread_id locks_dname locks_key_left locks_key_right
select * from information_schema.tokudb_lock_waits;
requesting_trx_id blocking_trx_id lock_waits_dname lock_waits_key_left lock_waits_key_right lock_waits_start_time
set autocommit=0;
set tokudb_prelock_empty=OFF;
insert into t values (1);
set autocommit=0;
insert into t values (1);
...
...
mysql-test/suite/tokudb/r/i_s_tokudb_locks.result
View file @
09a28474
...
...
@@ -12,7 +12,7 @@ set autocommit=0;
insert into t values (2);
insert into t values (4);
insert into t values (6);
select * from information_schema.tokudb_locks order by locks_trx_id;
select * from information_schema.tokudb_locks order by locks_trx_id
,locks_key_left
;
locks_trx_id locks_mysql_thread_id locks_dname locks_key_left locks_key_right
TRX_ID MYSQL_ID ./test/t-main 0001000000 0001000000
TRX_ID MYSQL_ID ./test/t-main 0003000000 0003000000
...
...
mysql-test/suite/tokudb/r/i_s_tokudb_locks_released.result
View file @
09a28474
...
...
@@ -6,6 +6,7 @@ set autocommit=0;
select * from information_schema.tokudb_locks;
locks_trx_id locks_mysql_thread_id locks_dname locks_key_left locks_key_right
set autocommit=0;
set tokudb_prelock_empty=OFF;
insert into t values (1);
set autocommit=0;
insert into t values (1);
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_released.test
View file @
09a28474
...
...
@@ -19,6 +19,7 @@ select * from information_schema.tokudb_lock_waits;
connect
(
conn_a
,
localhost
,
root
,,);
set
autocommit
=
0
;
set
tokudb_prelock_empty
=
OFF
;
# disable the bulk loader
insert
into
t
values
(
1
);
connect
(
conn_b
,
localhost
,
root
,,);
...
...
@@ -68,6 +69,7 @@ select * from information_schema.tokudb_lock_waits;
connect
(
conn_a
,
localhost
,
root
,,);
set
autocommit
=
0
;
set
tokudb_prelock_empty
=
OFF
;
# disable the bulk loader
replace
into
t
values
(
1
);
connect
(
conn_b
,
localhost
,
root
,,);
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_lock_waits_timeout.test
View file @
09a28474
...
...
@@ -16,6 +16,7 @@ select * from information_schema.tokudb_lock_waits;
connect
(
conn_a
,
localhost
,
root
,,);
set
autocommit
=
0
;
set
tokudb_prelock_empty
=
OFF
;
insert
into
t
values
(
1
);
connect
(
conn_b
,
localhost
,
root
,,);
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_locks.test
View file @
09a28474
...
...
@@ -29,7 +29,7 @@ insert into t values (6);
# should find 3 locks for 2 transactions
connection
default
;
replace_column
1
TRX_ID
2
MYSQL_ID
;
eval
select
*
from
information_schema
.
tokudb_locks
order
by
locks_trx_id
;
eval
select
*
from
information_schema
.
tokudb_locks
order
by
locks_trx_id
,
locks_key_left
;
connection
conn_a
;
commit
;
...
...
mysql-test/suite/tokudb/t/i_s_tokudb_locks_released.test
View file @
09a28474
...
...
@@ -14,20 +14,17 @@ let $default_id=`select connection_id()`;
# should be empty
select
*
from
information_schema
.
tokudb_locks
;
connect
(
conn_a
,
localhost
,
root
,,);
set
autocommit
=
0
;
let
$a_id
=
`select connection_id()`
;
set
tokudb_prelock_empty
=
OFF
;
# disable bulk loader
insert
into
t
values
(
1
);
connect
(
conn_b
,
localhost
,
root
,,);
set
autocommit
=
0
;
let
$b_id
=
`select connection_id()`
;
send
insert
into
t
values
(
1
);
# should find the presence of a lock on 2nd transaction
connection
default
;
let
$wait_condition
=
select
count
(
*
)
=
1
from
information_schema
.
processlist
where
info
=
'insert into t values (1)'
and
state
=
'update'
;
...
...
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