Skip to content

Commit

Permalink
fixes for test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Golubchik committed Sep 16, 2014
1 parent 7e29c1b commit d017953
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mysql-test/r/create_or_replace.result
Original file line number Diff line number Diff line change
Expand Up @@ -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;
2 changes: 2 additions & 0 deletions mysql-test/t/create_or_replace.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit d017953

Please sign in to comment.