-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
382 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
DROP TABLE IF EXISTS t1, t2; | ||
SET DEBUG_SYNC= 'RESET'; | ||
# | ||
# Bug#42438: Crash ha_partition::change_table_ptr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,34 @@ | ||
# To be used with partition mgm commands like | ||
# ALTER TABLE t1 ADD PARTITION (LIST/RANGE PARTITIONING). | ||
--echo # Crash testing ADD PARTITION | ||
SET @save_dbug=@@debug_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_1"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_1"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_2"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_2"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_3"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_3"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_4"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_4"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_5"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_5"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_6"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_6"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_7"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_7"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_8"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_8"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_9"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_9"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,crash_add_partition_10"; | ||
--source suite/parts/inc/partition_crash.inc | ||
SET SESSION debug_dbug="-d,crash_add_partition_10"; | ||
SET SESSION debug_dbug=@save_dbug; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
# 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="-d,crash_drop_partition_1"; | ||
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="-d,crash_drop_partition_2"; | ||
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="-d,crash_drop_partition_3"; | ||
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="-d,crash_drop_partition_4"; | ||
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="-d,crash_drop_partition_5"; | ||
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="-d,crash_drop_partition_6"; | ||
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="-d,crash_drop_partition_7"; | ||
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="-d,crash_drop_partition_8"; | ||
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="-d,crash_drop_partition_9"; | ||
SET SESSION debug_dbug=@save_dbug; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
# To be used with WL#4445: EXCHANGE PARTITION WITH TABLE. | ||
SET @save_dbug=@@debug_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_1"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_1"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_2"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_2"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_3"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_3"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_4"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_4"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_5"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_5"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_6"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_6"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_7"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_7"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_8"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_8"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,exchange_partition_abort_9"; | ||
--source suite/parts/inc/partition_crash_t2.inc | ||
SET SESSION debug_dbug="-d,exchange_partition_abort_9"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +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="-d,fail_add_partition_1"; | ||
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="-d,fail_add_partition_2"; | ||
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="-d,fail_add_partition_3"; | ||
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="-d,fail_add_partition_4"; | ||
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="-d,fail_add_partition_5"; | ||
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="-d,fail_add_partition_6"; | ||
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="-d,fail_add_partition_7"; | ||
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="-d,fail_add_partition_8"; | ||
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="-d,fail_add_partition_9"; | ||
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="-d,fail_add_partition_10"; | ||
SET SESSION debug_dbug=@save_dbug; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,31 @@ | ||
# To be used with partition mgm commands like | ||
# ALTER TABLE t1 DROP PARTITION. | ||
--echo # Error recovery DROP PARTITION | ||
SET @save_dbug=@@debug_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_1"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_1"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_2"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_2"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_3"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_3"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_4"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_4"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_5"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_5"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_6"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_6"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_7"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_7"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_8"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_8"; | ||
SET SESSION debug_dbug=@save_dbug; | ||
SET SESSION debug_dbug="+d,fail_drop_partition_9"; | ||
--source suite/parts/inc/partition_fail.inc | ||
SET SESSION debug_dbug="-d,fail_drop_partition_9"; | ||
SET SESSION debug_dbug=@save_dbug; |
Oops, something went wrong.