Skip to content

Commit e0e3747

Browse files
author
Jan Lindström
committed
MDEV-9865: Test encryption.innodb-log-encrypt-crash takes too long on debug build
Add big_test and not_debug requirements to avoid timeouts.
1 parent 743814f commit e0e3747

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

mysql-test/suite/encryption/t/innodb-log-encrypt-crash.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
-- source include/have_innodb.inc
22
-- source include/not_embedded.inc
3+
# test takes very long time on debug build
4+
-- source include/not_debug.inc
5+
-- source include/big_test.inc
36
-- source filekeys_plugin.inc
47

58
call mtr.add_suppression("InnoDB: New log files created, LSN=.*");

storage/innobase/handler/ha_innodb.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13535,14 +13535,15 @@ ha_innobase::info_low(
1353513535
break;
1353613536
}
1353713537

13538-
DBUG_EXECUTE_IF("ib_ha_innodb_stat_not_initialized",
13538+
DBUG_EXECUTE_IF("ib_ha_innodb_stat_not_initialized",
1353913539
index->table->stat_initialized = FALSE;);
1354013540

1354113541
if (!ib_table->stat_initialized ||
1354213542
(index->table != ib_table ||
1354313543
!index->table->stat_initialized)) {
1354413544
fprintf(stderr,
13545-
"InnoDB: Warning: Index %s points to table %s" " and ib_table %s statistics is initialized %d "
13545+
"InnoDB: Warning: Index %s points to table %s"
13546+
" and ib_table %s statistics is initialized %d "
1354613547
" but index table %s initialized %d "
1354713548
" mysql table is %s. Have you mixed "
1354813549
"up .frm files from different "

0 commit comments

Comments
 (0)