File tree Expand file tree Collapse file tree
localtests/convert-utf8mb4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ drop table if exists gh_ost_test;
2+ create table gh_ost_test (
3+ id int auto_increment,
4+ t varchar (128 ) charset utf8 collate utf8_general_ci,
5+ ta varchar (128 ) charset ascii not null ,
6+ primary key (id)
7+ ) auto_increment= 1 ;
8+
9+ drop event if exists gh_ost_test;
10+ delimiter ;;
11+ create event gh_ost_test
12+ on schedule every 1 second
13+ starts current_timestamp
14+ ends current_timestamp + interval 60 second
15+ on completion not preserve
16+ enable
17+ do
18+ begin
19+ insert into gh_ost_test values (null , md5(rand()), ' a' );
20+ insert into gh_ost_test values (null , ' novo proprietário' , ' b' );
21+ insert into gh_ost_test values (null , ' usuário' , ' c' );
22+ insert into gh_ost_test values (null , ' usuário' , ' x' );
23+
24+ delete from gh_ost_test where ta= ' x' order by id desc limit 1 ;
25+ end ;;
Original file line number Diff line number Diff line change 1+ --alter='convert to character set utf8mb4'
You can’t perform that action at this time.
0 commit comments