Browse Source

Fix for Bug#44493 Fix InnoDB owned 5.0 tests with imperfect cleanup

Details:
  innodb-autoinc-optimize
     Add DROP TABLE which is missing (Backport of fix from 5.1)
  innodb_notembedded
     Take care that the disconnects of additional sessions
     are completed.

  Note:
     The merge 5.0 -> 5.1 for innodb-autoinc-optimize
     should be a "null" merge = no changes in 5.1.
pull/374/head
Matthias Leich 17 years ago
parent
commit
413c0756ac
  1. 2
      mysql-test/r/innodb-autoinc-optimize.result
  2. 3
      mysql-test/t/innodb-autoinc-optimize.test
  3. 11
      mysql-test/t/innodb_notembedded.test

2
mysql-test/r/innodb-autoinc-optimize.result

@ -4,3 +4,5 @@ insert into t1 set a = -1;
optimize table t1;
Table Op Msg_type Msg_text
test.t1 optimize status OK
==== clean up ====
DROP TABLE t1;

3
mysql-test/t/innodb-autoinc-optimize.test

@ -14,3 +14,6 @@ insert into t1 set a = -1;
# NOTE: The database needs to be shutdown and restarted (here) for
# the test to work. It's included for reference only.
optimize table t1;
--echo ==== clean up ====
DROP TABLE t1;

11
mysql-test/t/innodb_notembedded.test

@ -33,8 +33,15 @@ rollback;
connection b;
reap;
rollback;
# Cleanup
connection a;
disconnect a;
--source include/wait_until_disconnected.inc
connection b;
disconnect b;
--source include/wait_until_disconnected.inc
connection default;
drop table t1;
drop function f1;
disconnect a;
disconnect b;
Loading…
Cancel
Save