mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user