summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_loaddata_rule_m.test
blob: 1ece82122eac1a71c4ceafc2fda9b4984f8e4ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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;
stop slave; # don't need slave for this test

# 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;

# End of 4.1 tests