summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/parts/inc/partition_fail_add.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/parts/inc/partition_fail_add.inc')
-rw-r--r--mysql-test/suite/parts/inc/partition_fail_add.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/mysql-test/suite/parts/inc/partition_fail_add.inc b/mysql-test/suite/parts/inc/partition_fail_add.inc
new file mode 100644
index 00000000..a7b8dd8a
--- /dev/null
+++ b/mysql-test/suite/parts/inc/partition_fail_add.inc
@@ -0,0 +1,34 @@
+# To be used with partition mgm commands like
+# ALTER TABLE t1 ADD PARTITION (LIST/RANGE PARTITIONING).
+--echo # Error recovery testing ADD PARTITION
+SET @save_dbug=@@debug_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_1";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_2";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_3";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_4";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_5";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_6";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_7";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_8";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_9";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;
+SET SESSION debug_dbug="+d,fail_add_partition_10";
+--source suite/parts/inc/partition_fail.inc
+SET SESSION debug_dbug=@save_dbug;