1 --disable_abort_on_error
6 DROP
TABLE IF EXISTS t1, t2, t4, t10, t11;
9 CREATE
TABLE t1 (f1
char(20),f2
char(25),f3 date,f4
int,f5
char(25),f6
int)
10 ENGINE = $engine_type;
12 CREATE
TABLE t2 (f1
char(20),f2
char(25),f3 date,f4
int,f5
char(25),f6
int)
13 ENGINE = $engine_type;
15 CREATE
TABLE t4 (f1
char(20),f2
char(25),f3 date,f4
int,f5
char(25),f6
int)
16 ENGINE = $engine_type;
18 CREATE
TABLE t10 (f1
char(20),f2
char(25),f3 date,f4
int,f5
char(25),f6
int)
19 ENGINE = $engine_type;
21 CREATE
TABLE t11 (f1
char(20),f2
char(25),f3 date,f4
int,f5
char(25),f6
int)
22 ENGINE = $engine_type;
23 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
25 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t1;
26 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
28 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t2;
29 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
31 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t4;
32 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
34 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t10;
35 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
37 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t11;
41 drop
TABLE if exists t3;
44 CREATE
TABLE t3 (f1
char(20), f2
char(20), f3 integer) ENGINE = $engine_type;
45 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
47 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t3.txt' INTO
TABLE t3;
49 #---------------------------
52 drop database
if exists test4;
54 CREATE database test4;
58 CREATE
TABLE t6 (f1
char(20), f2
char(25), f3 date, f4
int, f5
char(25), f6
int)
59 ENGINE = $engine_type;
60 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
62 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t4.txt' INTO
TABLE t6;
63 #---------------------------
68 drop
TABLE if exists t7, t8;
71 CREATE
TABLE t7 (f1
char(20),f2
char(25),f3 date,f4
int) ENGINE = $engine_type;
73 CREATE
TABLE t8 (f1
char(20),f2
char(25),f3 date,f4
int) ENGINE = $engine_type;
74 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
76 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t7.txt' INTO
TABLE t7;
77 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
79 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t7.txt' INTO
TABLE t8;
83 drop
TABLE if exists t9;
85 eval CREATE
TABLE t9 (f1
int, f2
char(25), f3
int) ENGINE = $engine_type;
86 --replace_result $MYSQLTEST_VARDIR <MYSQLTEST_VARDIR>
88 LOAD DATA INFILE
'$MYSQLTEST_VARDIR/std_data/funcs_1/t9.txt' INTO
TABLE t9;