summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/archive/archive_debug.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/archive/archive_debug.test')
-rw-r--r--mysql-test/suite/archive/archive_debug.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/suite/archive/archive_debug.test b/mysql-test/suite/archive/archive_debug.test
new file mode 100644
index 00000000..b1078267
--- /dev/null
+++ b/mysql-test/suite/archive/archive_debug.test
@@ -0,0 +1,13 @@
+--source include/have_archive.inc
+--source include/have_debug.inc
+
+--echo #
+--echo # BUG#12402794 - 60976: CRASH, VALGRIND WARNING AND MEMORY LEAK
+--echo # WITH PARTITIONED ARCHIVE TABLES
+--echo #
+CREATE TABLE t1(a INT) ENGINE=ARCHIVE;
+INSERT INTO t1 VALUES(1);
+SET SESSION debug_dbug='d,simulate_archive_open_failure';
+CHECK TABLE t1;
+SET SESSION debug_dbug=DEFAULT;
+DROP TABLE t1;