~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/engines/funcs/t/ld_more_columns_truncated.test

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 TEXT);
 
5
LOAD DATA LOCAL INFILE 'suite/engines/funcs/t/load_more_columns.inc' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
 
6
SELECT * FROM t1 ORDER BY c1;
 
7
TRUNCATE TABLE t1;
 
8
--copy_file suite/engines/funcs/t/load_more_columns.inc $MYSQLTEST_VARDIR/tmp/t1.dat
 
9
--disable_query_log
 
10
eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/tmp/t1.dat' INTO TABLE t1 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
 
11
--enable_query_log
 
12
SELECT * FROM t1 ORDER BY c1;
 
13
remove_file $MYSQLTEST_VARDIR/tmp/t1.dat;
 
14
DROP TABLE t1;
 
15