summaryrefslogtreecommitdiff
path: root/mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test')
-rw-r--r--mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test22
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test b/mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test
new file mode 100644
index 00000000000..d4595900939
--- /dev/null
+++ b/mysql-test/suite/funcs_1/t/is_tables_myisam_embedded.test
@@ -0,0 +1,22 @@
+# suite/funcs_1/t/is_tables_myisam_embedded.test
+#
+# Check the content of information_schema.tables about tables within
+# the databases created by the user.
+# Variant for storage engine MyISAM and the embedded server
+# The expected results must equal is_tabless_myisam except that
+# that the privilege system works (affects some result sets).
+#
+# Author:
+# 2008-06-06 mleich Create this this variant for the embedded server.
+#
+
+if (`SELECT VERSION() NOT LIKE '%embedded%'`)
+{
+ --skip Test requires: embedded server
+}
+let $engine_type= MyISAM;
+SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
+
+# We look only for the tables created by suite/funcs_1/datadict/tables.inc
+let $my_where = WHERE table_schema LIKE 'test%' AND table_type = 'BASE TABLE';
+--source suite/funcs_1/datadict/tables.inc