mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 06:30:10 +00:00

* PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias Added check if source DSN has character set UTF specified while option --charset is not provided In this case it is safe to open bulk insert data file in utf8 mode. * PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias Removed unrelated row in t/pt-archiver/samples/pt-2123.sql * PT-2123 pt-archiver gives error "Wide character in print at /usr/bin/pt-archiver line 6815" when using --bulk-insert while using character set alias util/update-modules for pt-archiver
21 lines
634 B
SQL
21 lines
634 B
SQL
SET NAMES utf8mb4;
|
|
DROP DATABASE IF EXISTS pt_2123;
|
|
CREATE DATABASE pt_2123;
|
|
|
|
CREATE TABLE `pt_2123`.`t1` (
|
|
`col1` int(11) NOT NULL AUTO_INCREMENT,
|
|
`col2` varchar(3) DEFAULT NULL,
|
|
PRIMARY KEY (`col1`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
|
|
|
|
CREATE TABLE `pt_2123`.`t2` (
|
|
`col1` int(11) NOT NULL AUTO_INCREMENT,
|
|
`col2` varchar(3) DEFAULT NULL,
|
|
PRIMARY KEY (`col1`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
|
|
|
|
insert into pt_2123.t1 (col2) values ('あ');
|
|
insert into pt_2123.t1 (col2) values ('あ');
|
|
insert into pt_2123.t1 (col2) values ('あ');
|
|
insert into pt_2123.t1 (col2) values ('あ');
|