~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/loaddata_autocom.inc

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# So use a dummy PK here.
12
12
create table t1 (id int not null auto_increment primary key, a text, b text);
13
13
start transaction;
14
 
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
15
 
eval load data infile '$DRIZZLETEST_VARDIR/std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
14
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
16
15
commit;
17
16
select count(*) from t1;
18
17
truncate table t1;
19
18
start transaction;
20
 
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
21
 
eval load data infile '$DRIZZLETEST_VARDIR/std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
19
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
22
20
rollback;
23
21
select count(*) from t1;
24
22