summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-03-12 12:19:36 +0100
committerunknown <msvensson@pilot.mysql.com>2008-03-12 12:19:36 +0100
commit4cefad6ed022fb2b2e16b4a9b4ab3ba4dff37b8c (patch)
treeb9d9bc119b529e53c2c043890461886d876a8667 /mysql-test/t/mysqlcheck.test
parent7d336347d56b7a31c59cec60d9dc88e639e7aff0 (diff)
downloadmariadb-git-4cefad6ed022fb2b2e16b4a9b4ab3ba4dff37b8c.tar.gz
Repair any table in mysql database as part of cleaning up from previous runs
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r--mysql-test/t/mysqlcheck.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test
index 2d96d00772c..22b7f007b7e 100644
--- a/mysql-test/t/mysqlcheck.test
+++ b/mysql-test/t/mysqlcheck.test
@@ -14,6 +14,9 @@
DROP TABLE IF EXISTS t1, `t``1`, `t 1`;
drop view if exists v1;
drop database if exists client_test_db;
+# Repair any tables in mysql, sometimes the slow_log is marked as crashed
+# after server has been killed
+--exec $MYSQL_CHECK --repair --databases mysql > /dev/null 2>&1
--enable_warnings
#