summaryrefslogtreecommitdiff
path: root/mysql-test/t/alter_table.test
diff options
context:
space:
mode:
authorunknown <svoj@june.mysql.com>2007-07-27 14:44:31 +0500
committerunknown <svoj@june.mysql.com>2007-07-27 14:44:31 +0500
commitf97155c9f680aacee37a056e239d2e619ae6bf51 (patch)
tree8e18f4166ce59784fbd184b29af158ac8fe1135a /mysql-test/t/alter_table.test
parentd64f73e43174a9695eeb643e2dd8531ea648f957 (diff)
parent766725c5025cc53a510487454be09238c849ac77 (diff)
downloadmariadb-git-f97155c9f680aacee37a056e239d2e619ae6bf51.tar.gz
Merge mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.0-engines
into mysql.com:/home/svoj/devel/mysql/BUG29957/mysql-5.1-engines storage/myisam/mi_extra.c: Auto merged mysql-test/r/alter_table.result: Manual merge mysql-test/t/alter_table.test: Manual merge
Diffstat (limited to 'mysql-test/t/alter_table.test')
-rw-r--r--mysql-test/t/alter_table.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test
index fa50d75b8d2..99c9ae23801 100644
--- a/mysql-test/t/alter_table.test
+++ b/mysql-test/t/alter_table.test
@@ -902,3 +902,15 @@ SELECT * FROM t1;
ALTER TABLE t1 MODIFY COLUMN f3 INT AFTER f2;
SELECT * FROM t1;
DROP TABLE t1;
+
+#
+# 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;