polardbxengine/mysql-test/suite/xengine_rpl_nogtid/t/rpl_loaddata.test

24 lines
727 B
Plaintext

-- source include/not_ndb_default.inc
-- source include/have_binlog_format_statement.inc
# MTR is not case-sensitive.
let $UPPER_STMT_HEAD= LOAD DATA;
if ($lock_option)
{
#if $lock_option is null, an extra blank is added into the statement,
#this will change the result of rpl_loaddata test case. so $lock_option
#is set only when it is not null.
let $UPPER_STMT_HEAD= LOAD DATA $lock_option;
}
#BUG#17233 LOAD DATA INFILE: failure causes mysqld dbug_assert, binlog not flushed
CREATE TABLE t1 (word CHAR(20) NOT NULL PRIMARY KEY) ENGINE=XENGINE;
--error ER_DUP_ENTRY
eval $UPPER_STMT_HEAD INFILE "../../std_data/words.dat" INTO TABLE t1;
DROP TABLE t1;
--source suite/xengine/include/check_xengine_log_error.inc