Commit 4d5992fc authored by Rich Prohaska's avatar Rich Prohaska

#57 add a test for tinytext -> text expansion

parent ac2c1a4a
drop table if exists t;
create table t (u tinytext, v text);
insert into t values ('hi', 'there');
select * from t;
u v
hi there
alter table t change column u u text;
select * from t;
u v
hi there
drop table t;
# this test verifies that column expansion of a tinytext to text column retains the correct data
--source include/have_tokudb.inc
--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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment