Commit d017953e authored by Sergei Golubchik's avatar Sergei Golubchik

fixes for test cases

parent 7e29c1b5
......@@ -435,8 +435,8 @@ CREATE TABLE t1 (col_int_nokey INT) ENGINE=InnoDB;
CREATE OR REPLACE TEMPORARY TABLE tmp LIKE t1;
LOCK TABLE t1 WRITE;
CREATE OR REPLACE TABLE t1 LIKE tmp;;
KILL QUERY 3;
KILL QUERY con_id;
CREATE OR REPLACE TABLE t1 (a int);;
KILL QUERY 3;
KILL QUERY con_id;
drop table t1;
DROP TABLE t2;
......@@ -348,6 +348,7 @@ LOCK TABLE t1 WRITE;
--connection default
--send CREATE OR REPLACE TABLE t1 LIKE tmp;
--connection con1
--replace_result $con_id con_id
eval KILL QUERY $con_id;
--connection default
......@@ -356,6 +357,7 @@ eval KILL QUERY $con_id;
--send CREATE OR REPLACE TABLE t1 (a int);
--connection con1
--replace_result $con_id con_id
eval KILL QUERY $con_id;
--connection default
......
# verify that information_schema.tokudb_locks gets populated with locks, information_schema.tokudb_lock_waits gets
if (`select @@tokudb_version <= "7.1.7"`)
if (`select @@tokudb_version <= "7.1.8"`)
{
--skip Race condition in the test in TokuDB 7.1.7 or earlier
--skip Race condition in the test in TokuDB 7.1.8 or earlier
}
# populated with 1 lock_wait and all transactions are present in information_schema.tokudb_trx for 2 clients
......
if (`select @@tokudb_version <= "7.1.7"`)
if (`select @@tokudb_version <= "7.1.8"`)
{
--skip Race condition in the test in TokuDB 7.1.7 or earlier
--skip Race condition in the test in TokuDB 7.1.8 or earlier
}
# verify that information_schema.tokudb_locks gets populated with locks for 2 clients
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment