mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
128c9be664
Bug #49984 Test 'rpl_loaddata_symlink' fails with "Could not find target log" Sometimes the symbolic link is available on Windows if you have some Unix (emulation) layer installed like Cygwin, MKS or other. But symbolic link is not always available. It depends on versions, file volume and system environment of Windows. And the symbolic link is not typically used on Windows, at least not in the degree and style they are used on Unix. We can not change the test case to do without symbolic link, because the test case is used to test that if the symbolic link works fine. To fix the problem, skip the test on windows. mysql-test/suite/rpl/t/rpl_loaddata_symlink.test: Added code to skip the test on windows.
21 lines
527 B
Text
21 lines
527 B
Text
#
|
|
# 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/master-slave.inc
|
|
--source include/not_windows.inc
|
|
--source include/have_binlog_format_statement.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;
|
|
|