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

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/r/ld_unique_error1_local.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-05-11 18:47:32 UTC
  • mto: (2.1.2 sid) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20100511184732-jhn055kfhxze24kt
Tags: upstream-5.1.46
ImportĀ upstreamĀ versionĀ 5.1.46

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
 
2
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT);
 
3
LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc'   INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
 
4
SELECT * FROM t1 ORDER BY c1;
 
5
c1      c2
 
6
1       abc
 
7
2       def
 
8
3       ghi
 
9
4       opq
 
10
DROP TABLE t1;
 
11
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT);
 
12
LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' IGNORE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
 
13
SELECT * FROM t1 ORDER BY c1;
 
14
c1      c2
 
15
1       abc
 
16
2       def
 
17
3       ghi
 
18
4       opq
 
19
DROP TABLE t1;
 
20
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT);
 
21
LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_unique_error1.inc' REPLACE INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
 
22
SELECT * FROM t1 ORDER BY c1;
 
23
c1      c2
 
24
1       abc
 
25
2       def
 
26
3       jkl
 
27
4       opq
 
28
DROP TABLE t1;