mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 19:34:52 +00:00
PT-2083 - Pt-archiver --charset option is not working for MySQL8.0
- Changed logic, introduced by commit 1d1c13f
- Added test case
This commit is contained in:
18
t/pt-archiver/samples/pt-2083.sql
Normal file
18
t/pt-archiver/samples/pt-2083.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
DROP TABLE IF EXISTS test.table_1;
|
||||
DROP TABLE IF EXISTS test.table_1_dest;
|
||||
|
||||
SET NAMES latin1;
|
||||
|
||||
CREATE TABLE test.table_1 (
|
||||
id int(11) NOT NULL,
|
||||
c1 varchar(20) DEFAULT NULL,
|
||||
PRIMARY KEY (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
INSERT INTO test.table_1 VALUES(1, 'I love MySQL!');
|
||||
|
||||
CREATE TABLE test.table_1_dest (
|
||||
id int(11) NOT NULL,
|
||||
c1 varchar(20) DEFAULT NULL,
|
||||
PRIMARY KEY (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
Reference in New Issue
Block a user