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
5313e001
Commit
5313e001
authored
Dec 12, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tokudb tests that fail in --ps-protocol
https://github.com/Tokutek/ft-engine/issues/153
parent
976e242c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
36 deletions
+24
-36
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
...ge/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
+3
-6
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
.../tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
+6
-12
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
.../tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
+3
-6
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
+3
-3
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
...ge/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
+6
-6
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
...ge/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
+3
-3
No files found.
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock.result
View file @
5313e001
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set global tokudb_checkpoint_on_flush_logs=ON;
set global tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
# 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
DB command state info
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
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
DB command state info
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
set tokudb_checkpoint_lock=1;
flush logs;;
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
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Query NULL flush logs
test Query NULL flush logs
set tokudb_checkpoint_lock=0;
set tokudb_checkpoint_lock=0;
set global tokudb_checkpoint_on_flush_logs=OFF;
set global tokudb_checkpoint_on_flush_logs=OFF;
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_2.result
View file @
5313e001
...
@@ -2,45 +2,39 @@ SET DEFAULT_STORAGE_ENGINE = 'tokudb';
...
@@ -2,45 +2,39 @@ SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set GLOBAL tokudb_checkpoint_on_flush_logs=ON;
set GLOBAL tokudb_checkpoint_on_flush_logs=ON;
# Establish connection conn1 (user = root)
# Establish connection conn1 (user = root)
# should see nothing
# should see nothing
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
DB command state info
test Sleep NULL
test Sleep NULL
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
flush logs;
# should see nothing
# should see nothing
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
DB command state info
test Sleep NULL
test Sleep NULL
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
set session tokudb_checkpoint_lock=1;
set session tokudb_checkpoint_lock=1;
flush logs;;
flush logs;;
# should see a flush logs
# should see a 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
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Sleep NULL
test Query NULL flush logs
test Query NULL flush logs
set session tokudb_checkpoint_lock=1;
set session tokudb_checkpoint_lock=1;
# should still see a flush logs
# should still see a 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
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Sleep NULL
test Query NULL flush logs
test Query NULL flush logs
set session tokudb_checkpoint_lock=0;
set session tokudb_checkpoint_lock=0;
# should still see a flush logs
# should still see a 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
DB command state info
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
test Query NULL flush logs
test Query NULL flush logs
set session tokudb_checkpoint_lock=0;
set session tokudb_checkpoint_lock=0;
# should see nothing
# should see nothing
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
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Sleep NULL
test Sleep NULL
test Sleep NULL
set GLOBAL tokudb_checkpoint_on_flush_logs=OFF;
set GLOBAL tokudb_checkpoint_on_flush_logs=OFF;
storage/tokudb/mysql-test/tokudb_bugs/r/checkpoint_lock_3.result
View file @
5313e001
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
# 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
DB command state info
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
flush logs;
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
DB command state info
test Sleep NULL
test Sleep NULL
test Query executing select DB, command, state, info from information_schema.processlist
set tokudb_checkpoint_lock=1;
set tokudb_checkpoint_lock=1;
flush logs;;
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
DB command state info
test Query executing select DB, command, state, info from information_schema.processlist
test Sleep NULL
test Sleep NULL
set tokudb_checkpoint_lock=0;
set tokudb_checkpoint_lock=0;
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock.test
View file @
5313e001
...
@@ -8,9 +8,9 @@ connect (conn1,localhost,root,,);
...
@@ -8,9 +8,9 @@ connect (conn1,localhost,root,,);
connection
default
;
connection
default
;
--
sleep
2
--
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
;
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
;
connection
conn1
;
set
tokudb_checkpoint_lock
=
1
;
set
tokudb_checkpoint_lock
=
1
;
...
@@ -20,7 +20,7 @@ connection default;
...
@@ -20,7 +20,7 @@ connection default;
connection
conn1
;
connection
conn1
;
--
sleep
2
--
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
;
set
tokudb_checkpoint_lock
=
0
;
connection
default
;
connection
default
;
...
...
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_2.test
View file @
5313e001
...
@@ -13,11 +13,11 @@ connect (conn2,localhost,root,,);
...
@@ -13,11 +13,11 @@ connect (conn2,localhost,root,,);
connection
default
;
connection
default
;
--
sleep
2
--
sleep
2
--
echo
# should see nothing
--
echo
# should see nothing
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
flush
logs
;
flush
logs
;
--
echo
# should see nothing
--
echo
# should see nothing
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
connection
conn1
;
connection
conn1
;
...
@@ -29,25 +29,25 @@ connection default;
...
@@ -29,25 +29,25 @@ connection default;
connection
conn2
;
connection
conn2
;
--
sleep
2
--
sleep
2
--
echo
# should see a flush logs
--
echo
# should see a flush logs
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
set
session
tokudb_checkpoint_lock
=
1
;
set
session
tokudb_checkpoint_lock
=
1
;
--
echo
# should still see a flush logs
--
echo
# should still see a 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
;
connection
conn1
;
--
sleep
2
--
sleep
2
set
session
tokudb_checkpoint_lock
=
0
;
set
session
tokudb_checkpoint_lock
=
0
;
--
echo
# should still see a flush logs
--
echo
# should still see a 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
conn2
;
connection
conn2
;
set
session
tokudb_checkpoint_lock
=
0
;
set
session
tokudb_checkpoint_lock
=
0
;
--
sleep
2
--
sleep
2
--
echo
# should see nothing
--
echo
# should see nothing
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
;
select
DB
,
command
,
state
,
info
from
information_schema
.
processlist
where
id
!=
connection_id
()
;
connection
default
;
connection
default
;
...
...
storage/tokudb/mysql-test/tokudb_bugs/t/checkpoint_lock_3.test
View file @
5313e001
...
@@ -7,9 +7,9 @@ connect (conn1,localhost,root,,);
...
@@ -7,9 +7,9 @@ connect (conn1,localhost,root,,);
connection
default
;
connection
default
;
--
sleep
2
--
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
;
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
;
connection
conn1
;
set
tokudb_checkpoint_lock
=
1
;
set
tokudb_checkpoint_lock
=
1
;
...
@@ -19,7 +19,7 @@ connection default;
...
@@ -19,7 +19,7 @@ connection default;
connection
conn1
;
connection
conn1
;
--
sleep
2
--
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
;
set
tokudb_checkpoint_lock
=
0
;
connection
default
;
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