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

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/t/transaction_log_loaddata.test

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# transaction_log_loaddata
2
 
# test of how the transaction log treats
3
 
# LOAD DATA INFILE
4
 
 
5
 
# Ignore startup/shutdown events
6
 
--disable_query_log
7
 
--source ../plugin/transaction_log/tests/t/truncate_log.inc
8
 
--enable_query_log
9
 
 
10
 
 
11
 
--echo Testing basic LOAD DATA 
12
 
--disable_warnings
13
 
DROP TABLE IF EXISTS t1;
14
 
--enable_warnings
15
 
 
16
 
CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b CHAR(50), PRIMARY KEY(a) );
17
 
--replace_result $DRIZZLETEST_VARDIR DRIZZLETEST_VARDIR
18
 
eval LOAD DATA INFILE '$DRIZZLETEST_VARDIR/std_data_ln/translogloaddata.dat' into table t1 ;
19
 
--source ../plugin/transaction_log/tests/t/check_transaction_log.inc
20
 
--echo
21
 
 
22
 
DROP TABLE t1;
23
 
 
24
 
# Truncate the log file to reset for the next test
25
 
--source ../plugin/transaction_log/tests/t/truncate_log.inc
26
 
--echo
27
 
 
28