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
b6a43ff0
Commit
b6a43ff0
authored
Feb 07, 2014
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#153 change checkpoint lock tests to work with --ps-protocol
parent
c74cb7ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
18 deletions
+12
-18
mysql-test/suite/tokudb.bugs/r/checkpoint_lock.result
mysql-test/suite/tokudb.bugs/r/checkpoint_lock.result
+3
-6
mysql-test/suite/tokudb.bugs/r/checkpoint_lock_3.result
mysql-test/suite/tokudb.bugs/r/checkpoint_lock_3.result
+3
-6
mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test
mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test
+3
-3
mysql-test/suite/tokudb.bugs/t/checkpoint_lock_3.test
mysql-test/suite/tokudb.bugs/t/checkpoint_lock_3.test
+3
-3
No files found.
mysql-test/suite/tokudb.bugs/r/checkpoint_lock.result
View file @
b6a43ff0
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set global tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
flush logs;;
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Query NULL flush logs
set tokudb_checkpoint_lock=0;
set global tokudb_checkpoint_on_flush_logs=OFF;
mysql-test/suite/tokudb.bugs/r/checkpoint_lock_3.result
View file @
b6a43ff0
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
flush logs;;
select DB, command, state, info from information_schema.processlist;
select DB, command, state, info from information_schema.processlist
where id != connection_id()
;
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
set tokudb_checkpoint_lock=0;
mysql-test/suite/tokudb.bugs/t/checkpoint_lock.test
View file @
b6a43ff0
...
...
@@ -8,9 +8,9 @@ connect (conn1,localhost,root,,);
connection
default
;
--
sleep
2
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
flush
logs
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
connection
conn1
;
set
tokudb_checkpoint_lock
=
1
;
...
...
@@ -20,7 +20,7 @@ connection default;
connection
conn1
;
--
sleep
2
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
set
tokudb_checkpoint_lock
=
0
;
connection
default
;
...
...
mysql-test/suite/tokudb.bugs/t/checkpoint_lock_3.test
View file @
b6a43ff0
...
...
@@ -7,9 +7,9 @@ connect (conn1,localhost,root,,);
connection
default
;
--
sleep
2
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
flush
logs
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
connection
conn1
;
set
tokudb_checkpoint_lock
=
1
;
...
...
@@ -19,7 +19,7 @@ connection default;
connection
conn1
;
--
sleep
2
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
set
tokudb_checkpoint_lock
=
0
;
connection
default
;
...
...
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