summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/alter_table.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/r/alter_table.result')
-rw-r--r--mysql-test/suite/innodb/r/alter_table.result11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/alter_table.result b/mysql-test/suite/innodb/r/alter_table.result
index 304bc865f75..8a0717aa677 100644
--- a/mysql-test/suite/innodb/r/alter_table.result
+++ b/mysql-test/suite/innodb/r/alter_table.result
@@ -11,3 +11,14 @@ t1 CREATE TABLE `t1` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
drop table t1;
set @@sql_mode=default;
+create table t1 (
+id1 int(11) not null auto_increment,
+id2 varchar(30) not null,
+id3 datetime not null default current_timestamp,
+primary key (id1),
+unique key unique_id2 (id2)
+) engine=innodb;
+alter table t1 change column id2 id4 varchar(100) not null;
+select * from t1 where id4 like 'a';
+id1 id4 id3
+drop table t1;