rpl_loaddata_s.test
来自「开启mysql的远程连接的方法 mysql-noinstall-5.1.6-al」· TEST 代码 · 共 25 行
TEST
25 行
# See if the slave logs (in its own binlog, with --log-slave-updates) a# replicated LOAD DATA INFILE correctly when it has binlog_*_db rules.# This is for BUG#1100 (LOAD DATA INFILE was half-logged).-- source include/have_binlog_format_statement.inc-- source include/master-slave.incconnection slave;# Not sure why we connect to slave and then try to reset master, but I will leave it [JBM]reset master;connection master;# 'test' is the current databasecreate table test.t1(a int, b int, unique(b));load data infile '../../std_data/rpl_loaddata.dat' into table test.t1;# Test logging on slave;save_master_pos;connection slave;sync_with_master;select count(*) from test.t1; # check that LOAD was replicated--replace_column 2 # 5 #show binlog events from 102; # should be nothing
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?