From 20552486e50e41dba46fdd151f4a6571bf79b641 Mon Sep 17 00:00:00 2001 From: "jimw@mysql.com" <> Date: Tue, 18 Jan 2005 15:05:16 -0800 Subject: [PATCH] Fix test results from merge, and fix the symlink test which had an out-of-sync test and result. --- mysql-test/r/symlink.result | 9 +++++++++ mysql-test/r/type_float.result | 2 +- mysql-test/t/symlink.test | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/mysql-test/r/symlink.result b/mysql-test/r/symlink.result index 53d0f63aea2..8aa20a88177 100644 --- a/mysql-test/r/symlink.result +++ b/mysql-test/r/symlink.result @@ -45,6 +45,15 @@ alter table t9 rename t8, add column d int not null; alter table t8 rename t7; rename table t7 to t9; drop table t1; +SHOW CREATE TABLE t9; +Table Create Table +t9 CREATE TABLE `t9` ( + `a` int(11) NOT NULL auto_increment, + `b` char(16) NOT NULL, + `c` int(11) NOT NULL, + `d` int(11) NOT NULL, + PRIMARY KEY (`a`) +) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='TEST_DIR/var/tmp/' INDEX DIRECTORY='TEST_DIR/var/run/' Got one of the listed errors Got one of the listed errors Got one of the listed errors diff --git a/mysql-test/r/type_float.result b/mysql-test/r/type_float.result index 32edda67a53..c77b3ad7578 100644 --- a/mysql-test/r/type_float.result +++ b/mysql-test/r/type_float.result @@ -150,7 +150,7 @@ create table t1 (d1 double, d2 double unsigned); insert into t1 set d1 = -1.0; update t1 set d2 = d1; Warnings: -Warning 1264 Data truncated; out of range for column 'd2' at row 1 +Warning 1264 Out of range value adjusted for column 'd2' at row 1 select * from t1; d1 d2 -1 0 diff --git a/mysql-test/t/symlink.test b/mysql-test/t/symlink.test index 9e71ac4b925..25c78129129 100644 --- a/mysql-test/t/symlink.test +++ b/mysql-test/t/symlink.test @@ -50,8 +50,8 @@ optimize table t9; repair table t9; alter table t9 add column c int not null; -#--replace_result $MYSQL_TEST_DIR TEST_DIR -#show create table t9; +--replace_result $MYSQL_TEST_DIR TEST_DIR +show create table t9; # Test renames alter table t9 rename t8, add column d int not null;