mariadb/mysql-test/t/rpl_loaddata_rule_m.test
monty@narttu.mysql.fi d9ff665102 Fixes after merge
2003-10-08 12:01:58 +03:00

23 lines
590 B
Text

# See if the master logs LOAD DATA INFILE correctly when binlog_*_db rules
# exist.
# This is for BUG#1100 (LOAD DATA INFILE was half-logged).
source include/master-slave.inc;
--disable_warnings
drop database if exists mysqltest;
--enable_warnings
connection slave;
reset master;
# Test logging on master
connection master;
# 'test' is the current database
create database mysqltest;
create table t1(a int, b int, unique(b));
use mysqltest;
load data infile '../../std_data/rpl_loaddata.dat' into table test.t1;
show binlog events from 79; # should be nothing
drop database mysqltest;