summaryrefslogtreecommitdiff
path: root/mysql-test/include/not_crashrep.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/not_crashrep.inc')
-rw-r--r--mysql-test/include/not_crashrep.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/not_crashrep.inc b/mysql-test/include/not_crashrep.inc
index e126f339a5f..7e0d6c19b85 100644
--- a/mysql-test/include/not_crashrep.inc
+++ b/mysql-test/include/not_crashrep.inc
@@ -22,3 +22,9 @@ EOF
if ($crashrep) {
--skip CrashReporter would popup a window
}
+
+# the test will crash mysqld. flush tables now to make sure that
+# system tables aren't corrupted by the crash
+--disable_query_log ONCE
+FLUSH TABLES;
+