summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-04-26 16:03:20 +0300
committerunknown <monty@mysql.com>2005-04-26 16:03:20 +0300
commitcf09e6063275e53fdfabd6208751eab8576cda38 (patch)
treee16c8153efd791a8c26f94b000dfd2292641fd89
parent20cf8f82eefbc4db26ec50aef4f602c991811397 (diff)
parent57fa327069da8c1119601e427bef69336ba8125e (diff)
downloadmariadb-git-cf09e6063275e53fdfabd6208751eab8576cda38.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1 sql/mysqld.cc: Auto merged
-rw-r--r--mysql-test/r/innodb-replace.result1
-rw-r--r--mysql-test/t/innodb-replace.test4
-rw-r--r--sql/mysqld.cc1
-rw-r--r--sql/share/english/errmsg.txt2
4 files changed, 7 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/mysqld.cc b/sql/mysqld.cc
index 056c2a7ad7f..e19427ceeb0 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -1492,6 +1492,7 @@ void end_thread(THD *thd, bool put_in_cache)
thd=thread_cache.get();
thd->real_id=pthread_self();
(void) thd->store_globals();
+ thd->thr_create_time= time(NULL);
threads.append(thd);
pthread_mutex_unlock(&LOCK_thread_count);
DBUG_VOID_RETURN;
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'",