From 4cefad6ed022fb2b2e16b4a9b4ab3ba4dff37b8c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Mar 2008 12:19:36 +0100 Subject: [PATCH] Repair any table in mysql database as part of cleaning up from previous runs --- mysql-test/t/mysqlcheck.test | 3 +++ 1 file changed, 3 insertions(+) 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 #