summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2005-10-18 14:25:03 +0500
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2005-10-18 14:25:03 +0500
commit12dd0baa42e2f68162fa96769cd6a9cf70c78f97 (patch)
tree494520a82b86409fc03fbb671264a59ec9fee849 /mysql-test/t/mysqlcheck.test
parent0122ca60b8c07b9493fa453eb5e12a52234dd579 (diff)
downloadmariadb-git-12dd0baa42e2f68162fa96769cd6a9cf70c78f97.tar.gz
Fix for bug#13783 mysqlcheck tries to optimize and analyze information_schema
'information_schema' is excluded from list of databases for mysqlcheck command mysql-test/mysql-test-run.pl: dded support for 'mysqlcheck' mysql-test/mysql-test-run.sh: dded support for 'mysqlcheck'
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r--mysql-test/t/mysqlcheck.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test
new file mode 100644
index 00000000000..bc88be001ab
--- /dev/null
+++ b/mysql-test/t/mysqlcheck.test
@@ -0,0 +1,11 @@
+# Embedded server doesn't support external clients
+--source include/not_embedded.inc
+
+#
+# Bug #13783 mysqlcheck tries to optimize and analyze information_schema
+#
+--replace_result 'Table is already up to date' OK
+--exec $MYSQL_CHECK --all-databases --analyze --optimize
+--replace_result 'Table is already up to date' OK
+--exec $MYSQL_CHECK --analyze --optimize --databases test information_schema mysql
+--exec $MYSQL_CHECK --analyze --optimize information_schema schemata