PT-1205 - LP #1275034: pt-table-sync reports 'wide character in print' and terminates

- Added binmode :utf8 for STDERR
- Added test case for PT-1205
- Run update-modules
This commit is contained in:
Sveta Smirnova
2024-03-22 00:37:07 +03:00
parent 1ad44e04da
commit 37ca3d2d49
23 changed files with 124 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
create table t1(
id int not null auto_increment primary key,
f1 varchar(10)
);
insert into t1(f1) values('😜');
insert into t1(f1) select f1 from t1;
insert into t1(f1) select f1 from t1;
insert into t1(f1) select f1 from t1;