summaryrefslogtreecommitdiff
path: root/mysql-test/t/alter_table.test
diff options
context:
space:
mode:
authorTatiana A. Nurnberg <azundris@mysql.com>2008-12-30 12:47:34 +0100
committerTatiana A. Nurnberg <azundris@mysql.com>2008-12-30 12:47:34 +0100
commit728c75cc0bc23fe56eacd188d9183069d7df1e8a (patch)
tree8ed3da71dfc9950889ba80d2acfb328093b600a2 /mysql-test/t/alter_table.test
parent3edacb4f6dcb84280f4154dbcbce8fb4eb583597 (diff)
parent3b617acb87bce94b6ac27e3d91017cfaa9d67b83 (diff)
downloadmariadb-git-728c75cc0bc23fe56eacd188d9183069d7df1e8a.tar.gz
auto-merge
Diffstat (limited to 'mysql-test/t/alter_table.test')
-rw-r--r--mysql-test/t/alter_table.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/alter_table.test b/mysql-test/t/alter_table.test
index bcca122f9f8..18481291bba 100644
--- a/mysql-test/t/alter_table.test
+++ b/mysql-test/t/alter_table.test
@@ -696,3 +696,16 @@ unlock tables;
select * from t1;
check table t1;
drop table t1;
+
+
+#
+# Bug#31291 ALTER TABLE CONVERT TO CHARACTER SET does not change some data types
+#
+create table t1 (a tinytext character set latin1);
+alter table t1 convert to character set utf8;
+show create table t1;
+drop table t1;
+create table t1 (a mediumtext character set latin1);
+alter table t1 convert to character set utf8;
+show create table t1;
+drop table t1;