~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/loaddata_autocom_innodb.result

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET SESSION STORAGE_ENGINE = InnoDB;
 
2
drop table if exists t1;
 
3
create table t1 (id int not null auto_increment primary key, a text, b text);
 
4
start transaction;
 
5
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
6
commit;
 
7
select count(*) from t1;
 
8
count(*)
 
9
3
 
10
truncate table t1;
 
11
start transaction;
 
12
load data infile '../std_data_ln/loaddata2.dat' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
13
rollback;
 
14
select count(*) from t1;
 
15
count(*)
 
16
0
 
17
drop table t1;