mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
7ee0c6b5cf
into neptunus.(none):/home/msvensson/mysql/mysqltest_var/my50-mysqltest_var-integration mysql-test/mysql-test-run.pl: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/r/rpl000001.result: Auto merged mysql-test/r/rpl_loaddata.result: Auto merged mysql-test/r/rpl_loaddata_rule_m.result: Auto merged mysql-test/r/rpl_loaddata_rule_s.result: Auto merged mysql-test/r/rpl_misc_functions.result: Auto merged mysql-test/r/rpl_replicate_do.result: Auto merged mysql-test/r/sp-security.result: Auto merged mysql-test/r/variables.result: Auto merged mysql-test/r/view_grant.result: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl000001.test: Auto merged mysql-test/t/rpl_loaddata.test: Auto merged mysql-test/t/rpl_loaddata_rule_m.test: Auto merged mysql-test/t/rpl_loaddata_rule_s.test: Auto merged mysql-test/t/rpl_misc_functions.test: Auto merged mysql-test/t/rpl_replicate_do.test: Auto merged mysql-test/t/sp-security.test: Auto merged mysql-test/t/trigger-compat.test: Auto merged mysql-test/r/trigger-compat.result: Merge
33 lines
910 B
Text
33 lines
910 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;
|
|
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_ln/rpl_loaddata.dat' into table test.t1;
|
|
# Starting from 5.0.3 LOAD DATA is replicated much in the same way as ordinary
|
|
# query so "show binlog ..." should show two events (before 5.0.3 no events
|
|
# were returned).
|
|
--replace_column 2 # 5 #
|
|
show binlog events from 98;
|
|
|
|
drop database mysqltest;
|
|
use test;
|
|
drop table t1;
|
|
|
|
# End of 4.1 tests
|
|
# Adding comment for force manual merge 5.0 -> wl1012: Delete me
|