~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/loaddata_autocom.inc

  • Committer: Padraig O'Sullivan
  • Date: 2009-12-17 04:48:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1246.
  • Revision ID: osullivan.padraig@gmail.com-20091217044859-qorpkp4911zypfv3
Added some dtrace probes for tracing the optimizer.

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