summaryrefslogtreecommitdiff
path: root/mysql-test/suite/parts/t/partition_debug_innodb.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/parts/t/partition_debug_innodb.test')
-rw-r--r--mysql-test/suite/parts/t/partition_debug_innodb.test7
1 files changed, 2 insertions, 5 deletions
diff --git a/mysql-test/suite/parts/t/partition_debug_innodb.test b/mysql-test/suite/parts/t/partition_debug_innodb.test
index 33cbd8e3b7b..1724ad1c2a1 100644
--- a/mysql-test/suite/parts/t/partition_debug_innodb.test
+++ b/mysql-test/suite/parts/t/partition_debug_innodb.test
@@ -7,10 +7,6 @@
--source include/not_valgrind.inc
--source include/not_embedded.inc
---disable_warnings
-DROP TABLE IF EXISTS t1;
---enable_warnings
-
--let $DATADIR= `SELECT @@datadir;`
--echo #
@@ -29,6 +25,7 @@ INSERT INTO t1 VALUES (6, 'X 6 row'), (7, 'Seventh row'), (8, 'Last row');
ALTER TABLE t1 ADD INDEX new_b_index (b);
ALTER TABLE t1 DROP INDEX new_b_index;
+SET @save_dbug=@@debug_dbug;
SET SESSION debug_dbug = "+d,ha_partition_fail_final_add_index";
--error ER_NO_PARTITION_FOR_GIVEN_VALUE
@@ -44,7 +41,7 @@ SHOW CREATE TABLE t1;
--sorted_result
SELECT * FROM t1;
-SET SESSION debug_dbug = "-d,ha_partition_fail_final_add_index";
+SET SESSION debug_dbug = @save_dbug;
SHOW CREATE TABLE t1;
DROP TABLE t1;