Commit 20552486 authored by jimw@mysql.com's avatar jimw@mysql.com

Fix test results from merge, and fix the symlink test which had an

out-of-sync test and result.
parent 1edf7279
...@@ -45,6 +45,15 @@ alter table t9 rename t8, add column d int not null; ...@@ -45,6 +45,15 @@ alter table t9 rename t8, add column d int not null;
alter table t8 rename t7; alter table t8 rename t7;
rename table t7 to t9; rename table t7 to t9;
drop table t1; 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 Got one of the listed errors
Got one of the listed errors Got one of the listed errors
......
...@@ -150,7 +150,7 @@ create table t1 (d1 double, d2 double unsigned); ...@@ -150,7 +150,7 @@ create table t1 (d1 double, d2 double unsigned);
insert into t1 set d1 = -1.0; insert into t1 set d1 = -1.0;
update t1 set d2 = d1; update t1 set d2 = d1;
Warnings: 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; select * from t1;
d1 d2 d1 d2
-1 0 -1 0
......
...@@ -50,8 +50,8 @@ optimize table t9; ...@@ -50,8 +50,8 @@ optimize table t9;
repair table t9; repair table t9;
alter table t9 add column c int not null; alter table t9 add column c int not null;
#--replace_result $MYSQL_TEST_DIR TEST_DIR --replace_result $MYSQL_TEST_DIR TEST_DIR
#show create table t9; show create table t9;
# Test renames # Test renames
alter table t9 rename t8, add column d int not null; alter table t9 rename t8, add column d int not null;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment