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
5a9215a1
Commit
5a9215a1
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
12e51e43
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 @
5a9215a1
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 @
5a9215a1
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 @
5a9215a1
...
...
@@ -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 @
5a9215a1
...
...
@@ -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