mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
4ebaf81360
Apply the correct pattern for debug instrumentation: SET @save_dbug=@@debug_dbug; SET debug_dbug='+d,...'; ... SET debug_dbug=@save_dbug; Numerous tests use statements of the form SET debug_dbug='-d,...'; which will inadvertently enable all DBUG tracing output, causing unnecessary waste of resources.
31 lines
1.3 KiB
PHP
31 lines
1.3 KiB
PHP
# To be used with partition mgm commands like
|
|
# ALTER TABLE t1 DROP PARTITION.
|
|
--echo # Test DROP PARTITION
|
|
SET @save_dbug=@@debug_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_1";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_2";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_3";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_4";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_5";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_6";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_7";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_8";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,crash_drop_partition_9";
|
|
--source suite/parts/inc/partition_crash.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|