summaryrefslogtreecommitdiff
path: root/mysql-test/include/system_db_struct.inc
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-03-10 22:54:07 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-03-10 22:54:07 +0400
commit2053f8f850f2b078dc947fa38d23339b8b24fed9 (patch)
tree9477ae54316c6e9890d227309fae165d98b377c9 /mysql-test/include/system_db_struct.inc
parentc0422729cf5b271d703564ff42afc621b069dfe5 (diff)
downloadmariadb-git-2053f8f850f2b078dc947fa38d23339b8b24fed9.tar.gz
fixed BUG #2874 "Grant table bug" and
added tests for testing structure of mysql db client/mysqltest.c: extend "replace" to column names extend "disable_result_log" to output of --exec commad mysql-test/install_test_db.sh: corrected wrong column definitions (as a result of tests) mysql-test/mysql-test-run.sh: export MYSQL and MYSQL_FIX_SYSTEM_TABLES + added option --result-file for *.opt files scripts/mysql_fix_privilege_tables.sh: added new options to using in tests + added new alters (as a result of new tests) scripts/mysql_fix_privilege_tables.sql: added new alters (as a result of new tests) scripts/mysql_install_db.sh: corrected definition of tables_priv.Table_name
Diffstat (limited to 'mysql-test/include/system_db_struct.inc')
-rw-r--r--mysql-test/include/system_db_struct.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/include/system_db_struct.inc b/mysql-test/include/system_db_struct.inc
new file mode 100644
index 00000000000..5a7aa26c65a
--- /dev/null
+++ b/mysql-test/include/system_db_struct.inc
@@ -0,0 +1,12 @@
+#
+# This test must examine structure of current system database
+#
+
+-- replace_result Tables_in_mysql Tables_in_db Tables_in_test Tables_in_db
+show tables;
+show create table db;
+show create table host;
+show create table user;
+show create table func;
+show create table tables_priv;
+show create table columns_priv;