mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +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.
41 lines
1.8 KiB
PHP
41 lines
1.8 KiB
PHP
# To be used with partition mgm commands like
|
|
# ALTER TABLE t1 COALESCE/REBUILD/REORGANIZE PARTITION.
|
|
--echo # Error recovery change partition (REORGANIZE/REBUILD/COALESCE
|
|
--echo # or ADD HASH PARTITION).
|
|
SET @save_dbug=@@debug_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_1";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_2";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_3";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_4";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_5";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_6";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_7";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_8";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_9";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_10";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_11";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|
|
SET SESSION debug_dbug="+d,fail_change_partition_12";
|
|
--source suite/parts/inc/partition_fail.inc
|
|
SET SESSION debug_dbug=@save_dbug;
|