| 1 |
-- source include/not_ndb_default.inc |
| 2 |
-- source include/have_binlog_format_statement.inc |
| 3 |
|
| 4 |
# MTR is not case-sensitive. |
| 5 |
let $UPPER_STMT_HEAD= LOAD DATA; |
| 6 |
if ($lock_option) |
| 7 |
{ |
| 8 |
#if $lock_option is null, an extra blank is added into the statement, |
| 9 |
#this will change the result of rpl_loaddata test case. so $lock_option |
| 10 |
#is set only when it is not null. |
| 11 |
let $UPPER_STMT_HEAD= LOAD DATA $lock_option; |
| 12 |
} |
| 13 |
|
| 14 |
#BUG#17233 LOAD DATA INFILE: failure causes mysqld dbug_assert, binlog not flushed |
| 15 |
CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=INNODB; |
| 16 |
|
| 17 |
--error ER_DUP_ENTRY |
| 18 |
eval $UPPER_STMT_HEAD INFILE "../../std_data/words.dat" INTO TABLE t1; |
| 19 |
|
| 20 |
DROP TABLE t1; |
| 21 |
|