fixes for test cases

This commit is contained in:
Sergei Golubchik 2014-09-16 14:04:50 +02:00
parent 7e29c1b539
commit d017953e2e
4 changed files with 8 additions and 6 deletions

View File

@ -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;

View File

@ -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

View File

@ -1,7 +1,7 @@
# 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

View File

@ -1,6 +1,6 @@
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