Skip to content

Commit

Permalink
Merge pull request #291 from github/more-charset-tests
Browse files Browse the repository at this point in the history
more DML tests for latin1
  • Loading branch information
Shlomi Noach authored Nov 1, 2016
2 parents ccaa840 + 5d9bac1 commit 3435539
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion localtests/latin1/create.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
drop table if exists gh_ost_test;
create table gh_ost_test (
id int auto_increment,
t varchar(128),
t varchar(128) charset latin1 collate latin1_swedish_ci,
primary key(id)
) auto_increment=1 charset latin1 collate latin1_swedish_ci;

Expand All @@ -17,5 +17,9 @@ create event gh_ost_test
begin
insert into gh_ost_test values (null, md5(rand()));
insert into gh_ost_test values (null, 'átesting');
insert into gh_ost_test values (null, 'ádelete');
insert into gh_ost_test values (null, 'testátest');
update gh_ost_test set t='áupdated' order by id desc limit 1;
update gh_ost_test set t='áupdated1' where t='áupdated' order by id desc limit 1;
delete from gh_ost_test where t='ádelete';
end ;;

0 comments on commit 3435539

Please sign in to comment.