1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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

out-of-sync test and result.
This commit is contained in:
jimw@mysql.com
2005-01-18 15:05:16 -08:00
parent 1edf7279ef
commit 20552486e5
3 changed files with 12 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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;