summaryrefslogtreecommitdiff
path: root/mysql-test/suite/tokudb.bugs/t/expand_tinytext_text.test
blob: 32c894cb86593627d865c721bb3c04e88885c220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# this test verifies that column expansion of a tinytext to text column retains the correct data
--source include/have_tokudb.inc
set default_storage_engine='tokudb';
--disable_warnings
drop table if exists t;
--enable_warnings

create table t (u tinytext, v text);
insert into t values ('hi', 'there');
select * from t;
alter table t change column u u text;
select * from t;

# Final cleanup.
drop table t;