mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
9fa20716b6
Do not effectively set DEBUG_DBUG='d' by setting DEBUG_DBUG='-d,...'. Instead, restore the saved value of DEBUG_DBUG. Also, split the test innodb_fts.innodb_fts_misc_debug into innodb_fts.crash_recovery and innodb_fts.misc_debug, and enable these tests for --valgrind, the latter test for --embedded, and the former tests for the non-debug server.
17 lines
468 B
Text
17 lines
468 B
Text
#
|
|
# Bug #56947 valgrind reports a memory leak in innodb-plugin.innodb-index
|
|
#
|
|
-- source include/have_innodb.inc
|
|
-- source include/have_debug.inc
|
|
|
|
SET GLOBAL innodb_file_per_table=0;
|
|
create table bug56947(a int not null) engine = innodb;
|
|
|
|
SET DEBUG_DBUG='+d,ib_rebuild_cannot_rename';
|
|
--replace_regex /"[^"]*"/"xxx"/
|
|
--error ER_GET_ERRNO
|
|
alter table bug56947 add unique index (a);
|
|
check table bug56947;
|
|
|
|
drop table bug56947;
|
|
SET @@global.innodb_file_per_table=DEFAULT;
|