1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-20487: Fix a test

The test rpl.rpl_failed_drop_tbl_binlog exercises a scenario where
the adaptive hash index is enabled. Try to explicitly enable the
adaptive hash index for this test, and skip the test if it does not
succeed (that is, if the server was not built WITH_INNODB_AHI=ON).
This commit is contained in:
Marko Mäkelä
2019-10-28 21:28:21 +02:00
parent 613e9e7d4d
commit 1c022aaf58
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1 @@
--loose-innodb-adaptive-hash-index

View File

@@ -26,6 +26,11 @@
--source include/have_binlog_format_statement.inc
--source include/master-slave.inc
if (!`select @@GLOBAL.innodb_adaptive_hash_index`)
{
--skip Need innodb_adaptive_hash_index
}
create table t1 (a int) engine=innodb;
create table t2 (b longblob) engine=innodb;
create table t3 (c int) engine=innodb;