diff options
author | unknown <svoj@june.mysql.com> | 2007-07-27 14:36:43 +0500 |
---|---|---|
committer | unknown <svoj@june.mysql.com> | 2007-07-27 14:36:43 +0500 |
commit | 766725c5025cc53a510487454be09238c849ac77 (patch) | |
tree | 0c10fccbc70886115686929027000f87ca323962 /mysql-test/t/alter_table.test | |
parent | b7eca8bc16068d47183e7411e8da2ae994ac9e85 (diff) | |
parent | e92ce5d56c66a96be64d3e64fea84bf66dae0b73 (diff) | |
download | mariadb-git-766725c5025cc53a510487454be09238c849ac77.tar.gz |
Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.0-engines
Diffstat (limited to 'mysql-test/t/alter_table.test')
-rw-r--r-- | mysql-test/t/alter_table.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test index 3ced1087757..bcca122f9f8 100644 --- a/mysql-test/t/alter_table.test +++ b/mysql-test/t/alter_table.test @@ -684,3 +684,15 @@ alter table t1 add column f4 datetime not null default '2002-02-02', select * from t1; drop table t1; set sql_mode= @orig_sql_mode; + +# +# BUG#29957 - alter_table.test fails +# +create table t1 (c char(10) default "Two"); +lock table t1 write; +insert into t1 values (); +alter table t1 modify c char(10) default "Three"; +unlock tables; +select * from t1; +check table t1; +drop table t1; |