Add test for modifying columns to different charsets
This commit is contained in:
parent
2f80c9d424
commit
8c5dcca187
@ -1,7 +1,8 @@
|
||||
drop table if exists gh_ost_test;
|
||||
create table gh_ost_test (
|
||||
id int auto_increment,
|
||||
t varchar(128) charset latin1 collate latin1_swedish_ci,
|
||||
t1 varchar(128) charset latin1 collate latin1_swedish_ci,
|
||||
t2 varchar(128) charset latin1 collate latin1_swedish_ci,
|
||||
tutf8 varchar(128) charset utf8,
|
||||
tutf8mb4 varchar(128) charset utf8mb4,
|
||||
primary key(id)
|
||||
@ -17,7 +18,7 @@ create event gh_ost_test
|
||||
enable
|
||||
do
|
||||
begin
|
||||
insert into gh_ost_test values (null, md5(rand()), md5(rand()), md5(rand()));
|
||||
insert into gh_ost_test values (null, 'átesting', 'átesting', 'átesting');
|
||||
insert into gh_ost_test values (null, 'testátest', 'testátest', '🍻😀');
|
||||
insert into gh_ost_test values (null, md5(rand()), md5(rand()), md5(rand()), md5(rand()));
|
||||
insert into gh_ost_test values (null, 'átesting', 'átesting', 'átesting', 'átesting');
|
||||
insert into gh_ost_test values (null, 'testátest', 'testátest', 'testátest', '🍻😀');
|
||||
end ;;
|
||||
|
@ -1 +1 @@
|
||||
--alter='MODIFY `t` varchar(128) CHARACTER SET utf8mb4 NOT NULL'
|
||||
--alter='MODIFY `t1` varchar(128) CHARACTER SET utf8mb4 NOT NULL, MODIFY `t2` varchar(128) CHARACTER SET latin2 NOT NULL, MODIFY `tutf8` varchar(128) CHARACTER SET latin1 NOT NULL'
|
||||
|
Loading…
Reference in New Issue
Block a user