summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/system_mysql_db.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/system_mysql_db.test')
-rw-r--r--mysql-test/main/system_mysql_db.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/main/system_mysql_db.test b/mysql-test/main/system_mysql_db.test
new file mode 100644
index 00000000..398a222b
--- /dev/null
+++ b/mysql-test/main/system_mysql_db.test
@@ -0,0 +1,19 @@
+#
+# This test must examine integrity of system database "mysql"
+#
+
+# check that CSV engine was compiled in, as the result of the test
+# depends on the presence of the log tables (which are CSV-based).
+--source include/have_csv.inc
+
+-- disable_query_log
+use mysql;
+-- enable_query_log
+-- source include/system_db_struct.inc
+-- disable_query_log
+use test;
+-- enable_query_log
+# keep results same with system_mysql_db_fix
+show tables;
+
+# End of 4.1 tests