summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
diff options
context:
space:
mode:
authormsvensson@pilot.mysql.com <>2008-03-12 12:19:36 +0100
committermsvensson@pilot.mysql.com <>2008-03-12 12:19:36 +0100
commit08a901091c05229d43255eed82a740d9fbb117e1 (patch)
treeb9d9bc119b529e53c2c043890461886d876a8667 /mysql-test/t/mysqlcheck.test
parent0dba42cf7cf3e01c222c851b452f9e6269b96901 (diff)
downloadmariadb-git-08a901091c05229d43255eed82a740d9fbb117e1.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
#