summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-04-06 16:52:41 +0300
committerunknown <monty@mysql.com>2005-04-06 16:52:41 +0300
commit57fa327069da8c1119601e427bef69336ba8125e (patch)
tree6e93f4f1c61c87f2f0cfdd67a82158359da4dae7
parentc8c6c91811209aa1fef6a9f7110a3582beae713f (diff)
downloadmariadb-git-57fa327069da8c1119601e427bef69336ba8125e.tar.gz
Small fixes done while reviewing pushed code
mysql-test/r/innodb-replace.result: Added proper cleanup for test mysql-test/t/innodb-replace.test: Added proper cleanup for test sql/share/english/errmsg.txt: Don't extend the possible length of error message too much for common errors are MySQL 4.0 clients has a limit of 200 characters
-rw-r--r--mysql-test/r/innodb-replace.result1
-rw-r--r--mysql-test/t/innodb-replace.test4
-rw-r--r--sql/share/english/errmsg.txt2
3 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/r/innodb-replace.result b/mysql-test/r/innodb-replace.result
index a27806640ad..b7edcc49e56 100644
--- a/mysql-test/r/innodb-replace.result
+++ b/mysql-test/r/innodb-replace.result
@@ -1,3 +1,4 @@
+drop table if exists t1;
create table t1 (c1 char(5) unique not null, c2 int, stamp timestamp) engine=innodb;
select * from t1;
c1 c2 stamp
diff --git a/mysql-test/t/innodb-replace.test b/mysql-test/t/innodb-replace.test
index e7e96da1443..516f058a68e 100644
--- a/mysql-test/t/innodb-replace.test
+++ b/mysql-test/t/innodb-replace.test
@@ -2,6 +2,10 @@
# embedded server ignores 'delayed', so skip this
-- source include/not_embedded.inc
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
#
# Bug #1078
#
diff --git a/sql/share/english/errmsg.txt b/sql/share/english/errmsg.txt
index 3bfc83a4b41..1ae4e79bf01 100644
--- a/sql/share/english/errmsg.txt
+++ b/sql/share/english/errmsg.txt
@@ -67,7 +67,7 @@ character-set=latin1
"Column '%-.64s' cannot be null",
"Unknown database '%-.64s'",
"Table '%-.64s' already exists",
-"Unknown table '%-.180s'",
+"Unknown table '%-.100s'",
"Column '%-.64s' in %-.64s is ambiguous",
"Server shutdown in progress",
"Unknown column '%-.64s' in '%-.64s'",