mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 09:14:17 +01:00
c562ccf796
Some tests drop the default mtr database "test". This may fail due
to the directory not being empty. InnoDB may not delete all tables
immediately, due to the "background drop table queue" or its
replacement in commit 1bd681c8b3
(the purge of history would clean up after a DDL operation during
which the server was killed).
Let us try to avoid "drop database test" whenever it is easily possible.
Where it is not, SET GLOBAL innodb_max_purge_lag_wait=0 will ensure
that the replacement of the "background drop table queue" will have
completed its job.
18 lines
870 B
Text
18 lines
870 B
Text
################################################################################
|
|
# Author: Serge Kozlov #
|
|
# Date: 2005-09-21 #
|
|
# Purpose: Testing the charsets for InnoDB engine #
|
|
# #
|
|
# Checking of other prerequisites is in charset_master.test #
|
|
################################################################################
|
|
|
|
--source include/no_valgrind_without_big.inc
|
|
--source include/have_innodb.inc
|
|
|
|
# Starting with MariaDB 10.6, ensure that DDL recovery will have completed
|
|
# before DROP DATABASE test.
|
|
SET GLOBAL innodb_max_purge_lag_wait=0;
|
|
|
|
let $engine_type= InnoDB;
|
|
--source suite/funcs_2/charset/charset_master.test
|
|
|