1
# Test if the engine does autocommit in LOAD DATA INFILE, or not
2
# (NDB wants to do, others don't).
4
eval SET SESSION STORAGE_ENGINE = $engine_type;
7
drop table if exists t1;
10
# NDB does not support the create option 'Binlog of table with BLOB attribute and no PK'
11
# So use a dummy PK here.
12
create table t1 (id int not null auto_increment primary key, a text, b text);
14
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
16
select count(*) from t1;
19
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
21
select count(*) from t1;