~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/loaddata_autocom.inc

  • Committer: Brian Aker
  • Date: 2010-11-08 18:54:26 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108185426-fymkf2xnelupf11x
Rename lock methods to be style + well make sense.

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
 
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
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);
15
16
commit;
16
17
select count(*) from t1;
17
18
truncate table t1;
18
19
start transaction;
19
 
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
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);
20
22
rollback;
21
23
select count(*) from t1;
22
24