mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
b99c3b20c9
MDEV-22488 test failures: parts.partition_debug_innodb / parts.partition_debug_myisam The reason for the failure was a wrong printf() that accessed not existing things on the stack. The reason the falure was hard to find was that the partition_debug_... tests disables core dumps, so there was no trace that the server had crashed in the logs. Fixed by fixing the faulty push_warning_printf() and splitting the tests into two parts, one that test failures (with core dumps enabled) and one part that test crash recovery. The review and test splitting was done by Monty
15 lines
392 B
Text
15 lines
392 B
Text
# Partitioning test that require debug features
|
|
# including crashing tests.
|
|
|
|
--source include/have_debug.inc
|
|
--source include/have_partition.inc
|
|
--source include/not_valgrind.inc
|
|
--source include/not_embedded.inc
|
|
|
|
--let $DATADIR= `SELECT @@datadir;`
|
|
|
|
let $engine= 'MyISAM';
|
|
|
|
--echo # Test crash in fast_alter_partition_table.
|
|
let $do_crash=1;
|
|
--source suite/parts/inc/partition_mgm_crash.inc
|