~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/loaddata_autocom_innodb.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

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 unsigned not null auto_increment primary key, a text, b text);
 
4
start transaction;
 
5
load data infile 'LOAD_FILE' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
6
Warnings:
 
7
Warning 1261    Row 3 doesn't contain data for all columns
 
8
commit;
 
9
select count(*) from t1;
 
10
count(*)
 
11
4
 
12
truncate table t1;
 
13
start transaction;
 
14
load data infile 'LOAD_FILE' into table t1 fields terminated by ',' enclosed by '''' (a, b);
 
15
Warnings:
 
16
Warning 1261    Row 3 doesn't contain data for all columns
 
17
rollback;
 
18
select count(*) from t1;
 
19
count(*)
 
20
0
 
21
drop table t1;