diff options
Diffstat (limited to 'mysql-test/suite/rpl/t/rpl_loaddata_symlink.test')
-rw-r--r-- | mysql-test/suite/rpl/t/rpl_loaddata_symlink.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_loaddata_symlink.test b/mysql-test/suite/rpl/t/rpl_loaddata_symlink.test new file mode 100644 index 00000000..e5ee400d --- /dev/null +++ b/mysql-test/suite/rpl/t/rpl_loaddata_symlink.test @@ -0,0 +1,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 |