summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-12-08 01:17:52 +0200
committerunknown <monty@mysql.com>2004-12-08 01:17:52 +0200
commita37b15c6b013dcde0160bf0ff522e5a3422ba1f6 (patch)
treed502dda176112b528cefb102d9a05f878b8718ad /mysql-test
parentd11d6d697113297de7f2533703f3db89d1b7835d (diff)
downloadmariadb-git-a37b15c6b013dcde0160bf0ff522e5a3422ba1f6.tar.gz
Fixed that mysql-test-run --ps-protocol works with system_mysql_db_fix.test
client/mysqltest.c: More debugging mysql-test/t/system_mysql_db_fix.test: Fixed that mysql-test-run --ps-protocol works
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/system_mysql_db_fix.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/system_mysql_db_fix.test b/mysql-test/t/system_mysql_db_fix.test
index 1122803fd8f..e34dbefbcba 100644
--- a/mysql-test/t/system_mysql_db_fix.test
+++ b/mysql-test/t/system_mysql_db_fix.test
@@ -9,6 +9,7 @@ use test;
# create system tables as in mysql-3.20
+--disable_warnings
CREATE TABLE db (
Host char(60) binary DEFAULT '' NOT NULL,
Db char(32) binary DEFAULT '' NOT NULL,
@@ -23,10 +24,12 @@ CREATE TABLE db (
KEY User (User)
)
type=ISAM;
+--enable-warnings
INSERT INTO db VALUES ('%','test', '','Y','Y','Y','Y','Y','Y');
INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y');
+--disable_warnings
CREATE TABLE host (
Host char(60) binary DEFAULT '' NOT NULL,
Db char(32) binary DEFAULT '' NOT NULL,
@@ -39,7 +42,9 @@ CREATE TABLE host (
PRIMARY KEY Host (Host,Db)
)
type=ISAM;
+--enable-warnings
+--disable_warnings
CREATE TABLE user (
Host char(60) binary DEFAULT '' NOT NULL,
User char(16) binary DEFAULT '' NOT NULL,
@@ -56,6 +61,7 @@ CREATE TABLE user (
PRIMARY KEY Host (Host,User)
)
type=ISAM;
+--enable-warnings
INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y');
INSERT INTO user VALUES ('localhost','', '','N','N','N','N','N','N','N','N','N');