mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/51
into quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/jun05/51
This commit is contained in:
@ -825,4 +825,28 @@ lock table t2 write;
|
||||
alter table t2 modify i int default 4, rename t1;
|
||||
unlock tables;
|
||||
drop table t1;
|
||||
drop table if exists t1;
|
||||
create table t1 (i int);
|
||||
insert into t1 values ();
|
||||
lock table t1 write;
|
||||
alter table t1 modify i int default 1;
|
||||
insert into t1 values ();
|
||||
select * from t1;
|
||||
i
|
||||
NULL
|
||||
1
|
||||
alter table t1 change i c char(10) default "Two";
|
||||
insert into t1 values ();
|
||||
select * from t1;
|
||||
c
|
||||
NULL
|
||||
1
|
||||
Two
|
||||
unlock tables;
|
||||
select * from t1;
|
||||
c
|
||||
NULL
|
||||
1
|
||||
Two
|
||||
drop tables t1;
|
||||
End of 5.1 tests
|
||||
|
Reference in New Issue
Block a user