mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
changed processing of LOAD DATA in mysqlbinlog
This commit is contained in:
parent
c858d72588
commit
ec247fd6af
6 changed files with 64 additions and 54 deletions
|
|
@ -7,7 +7,7 @@ start slave;
|
|||
create table t1(a int not null auto_increment, b int, primary key(a) );
|
||||
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
||||
create temporary table t2 (day date,id int(9),category enum('a','b','c'),name varchar(60));
|
||||
load data infile '../../std_data/rpl_loaddata2.dat' into table t2 fields terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' ignore 1 lines;
|
||||
load data infile '../../std_data/rpl_loaddata2.dat' into table t2 fields terminated by ',' optionally enclosed by '%' escaped by '@' lines terminated by '\n##\n' starting by '>' ignore 1 lines;
|
||||
create table t3 (day date,id int(9),category enum('a','b','c'),name varchar(60));
|
||||
insert into t3 select * from t2;
|
||||
select * from t1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue