summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/rpl/t/rpl_loaddata_symlink.test
blob: e5ee400d2310f9f89d3e63901bee7dd9cf641dc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# BUG#43913
# This test verifies if loading data infile will work fine 
# if the path of the load data file is a symbolic link.
#
--source include/not_windows.inc
--source include/have_binlog_format_statement.inc
--source include/master-slave.inc

create table t1(a int not null auto_increment, b int, primary key(a) );
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
select * from t1;

sync_slave_with_master;
connection slave;
select * from t1;

connection master;
drop table t1;
sync_slave_with_master;

--source include/rpl_end.inc