mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixing test cases
Added missing system tables used in 5.6
This commit is contained in:
@ -1,15 +1,23 @@
|
||||
--source include/have_innodb.inc
|
||||
# Bug #60049 Verify that purge leaves no garbage in unique secondary indexes
|
||||
# This test requires a fresh server start-up and a slow shutdown.
|
||||
# This was a suspected bug (not a bug).
|
||||
|
||||
-- source include/not_embedded.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/have_innodb_16k.inc
|
||||
|
||||
#
|
||||
# This test will not work if we don't do full shutdown of innodb
|
||||
#
|
||||
set @@global.innodb_fast_shutdown=0;
|
||||
|
||||
-- disable_query_log
|
||||
let $create1 = query_get_value(SHOW CREATE TABLE mysql.innodb_table_stats, Create Table, 1);
|
||||
let $create2 = query_get_value(SHOW CREATE TABLE mysql.innodb_index_stats, Create Table, 1);
|
||||
DROP TABLE mysql.innodb_index_stats;
|
||||
DROP TABLE mysql.innodb_table_stats;
|
||||
-- enable_query_log
|
||||
|
||||
CREATE TABLE t(a INT)ENGINE=InnoDB;
|
||||
RENAME TABLE t TO u;
|
||||
DROP TABLE u;
|
||||
@ -42,3 +50,8 @@ EOF
|
||||
-- exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
-- enable_reconnect
|
||||
-- source include/wait_until_connected_again.inc
|
||||
|
||||
-- disable_query_log
|
||||
USE mysql;
|
||||
eval $create1;
|
||||
eval $create2;
|
||||
|
Reference in New Issue
Block a user