PT-141 added --output-format to pt-archiver

This commit is contained in:
Carlos Salguero
2017-05-15 13:51:58 -03:00
parent 7d9dd84874
commit e305c40f52
3 changed files with 63 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
CREATE SCHEMA IF NOT EXISTS test;
use test;
drop table if exists table_2;
create table table_2(
a int not null primary key,
b int,
c int not null,
d varchar(50),
key(b)
) engine=innodb;
insert into table_2 values
(1, 2, 3, 4),
(2, null, 3, 4),
(3, 2, 3, "\t"),
(4, 2, 3, "\n"),
(5, 2, 3, "Zapp \"Brannigan");