mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
19 lines
504 B
Text
19 lines
504 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;
|
||
|
connection slave;
|
||
|
reset master;
|
||
|
|
||
|
# Test logging on master
|
||
|
|
||
|
connection master;
|
||
|
# 'test' is the current database
|
||
|
create database test2;
|
||
|
create table t1(a int, b int, unique(b));
|
||
|
use test2;
|
||
|
load data infile '../../std_data/rpl_loaddata.dat' into table test.t1;
|
||
|
show binlog events from 79; # should be nothing
|
||
|
drop database test2;
|