mariadb/sql
unknown b9f9fe2e1a Bug #43913 rpl_cross_version can't pass on conflicts complainig clash with --slave-load-tm
The 'slave_patternload_file' is assigned to the real path of the load data file 
when initializing the object of Relay_log_info. But the path of the load data
file is not formatted to real path when executing event from relay log. So the 
error will be encountered if the path of the load data file is a symbolic link.

Actually the global 'opt_secure_file_priv' is not formatted to real path when 
loading data from file. So the same thing will happen too.

      
To fix these errors, the path of the load data file should be formatted to 
real path when executing event from relay log. And the 'opt_secure_file_priv' 
should be formatted to real path when loading data infile.


mysql-test/suite/rpl/r/rpl_loaddata_symlink.result:
  Test result for bug#43913.
mysql-test/suite/rpl/t/rpl_loaddata_symlink-master.sh:
  Added the test file to create a link from $MYSQLTEST_VARDIR/std_data 
  to $MYSQLTEST_VARDIR/std_data_master_link
mysql-test/suite/rpl/t/rpl_loaddata_symlink-slave.sh:
  Added the test file to create a link from $MYSQLTEST_VARDIR/std_data 
  to $MYSQLTEST_VARDIR/std_data_slave_link
mysql-test/suite/rpl/t/rpl_loaddata_symlink.test:
  Added the test file to verify if loading data infile will work fine 
  if the path of the load data file is a symbolic link.
sql/rpl_rli.cc:
  Added call 'my_realpath' function for avoiding sometimes the 'fn_format' 
  function can't format real path rightly.
2009-11-28 12:43:16 +08:00
..
examples
share
.cvsignore
add_errmsg
authors.h
client_settings.h
CMakeLists.txt
contributors.h
custom_conf.h
debug_sync.cc
debug_sync.h
derror.cc
des_key_file.cc
discover.cc
event_data_objects.cc
event_data_objects.h
event_db_repository.cc Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
event_db_repository.h
event_parse_data.cc
event_parse_data.h
event_queue.cc
event_queue.h
event_scheduler.cc
event_scheduler.h
events.cc
events.h
field.cc Bug #45261 : Crash, stored procedure + decimal 2009-11-20 12:10:47 +02:00
field.h Bug #45261 : Crash, stored procedure + decimal 2009-11-20 12:10:47 +02:00
field_conv.cc
filesort.cc
frm_crypt.cc
gen_lex_hash.cc
gstream.cc
gstream.h
ha_ndbcluster.cc
ha_ndbcluster.h
ha_ndbcluster_binlog.cc
ha_ndbcluster_binlog.h
ha_ndbcluster_cond.cc
ha_ndbcluster_cond.h
ha_ndbcluster_tables.h
ha_partition.cc
ha_partition.h
handler.cc
handler.h
hash_filo.cc
hash_filo.h
hostname.cc
init.cc
item.cc Auto-merge. 2009-11-24 18:30:21 +03:00
item.h Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_buff.cc
item_cmpfunc.cc Additional fix for the bug#43668. 2009-11-25 12:52:03 +03:00
item_cmpfunc.h Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_create.cc BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
item_create.h
item_func.cc Bug #45261 : Crash, stored procedure + decimal 2009-11-20 12:10:47 +02:00
item_func.h Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_geofunc.cc Manual merge of the fix for bug#43668. 2009-11-24 18:26:13 +03:00
item_geofunc.h
item_row.cc
item_row.h
item_strfunc.cc BUG#47995: Mark system functions as unsafe 2009-11-18 15:50:31 +01:00
item_strfunc.h
item_subselect.cc Auto-merged fix for the bug#34384. 2009-11-06 22:42:24 +03:00
item_subselect.h Bug#43668: Wrong comparison and MIN/MAX for YEAR(2) 2009-11-17 17:06:46 +03:00
item_sum.cc Auto-merge. 2009-11-24 18:30:21 +03:00
item_sum.h Bug#43668: Wrong comparison and MIN/MAX for YEAR(2) 2009-11-17 17:06:46 +03:00
item_timefunc.cc Bug #48739 MySQL crashes on specific INTERVAL in select query 2009-11-19 16:49:13 -06:00
item_timefunc.h
item_xmlfunc.cc Bug#34384: Slow down on constant conversion. 2009-11-06 22:34:25 +03:00
item_xmlfunc.h
key.cc
lex.h
lex_symbol.h
lock.cc
log.cc merge 2009-11-20 21:56:43 +01:00
log.h
log_event.cc merge 5.1-bugteam (local) --> 5.1-bugteam 2009-11-21 13:02:18 +00:00
log_event.h
log_event_old.cc
log_event_old.h
Makefile.am
message.h
message.mc
message.rc
mf_iocache.cc
MSG00001.bin
my_decimal.cc
my_decimal.h
my_lock.c
mysql_priv.h
mysql_priv.h.pp
mysqld.cc Bug#47571 : idle named pipe connection is unkillable 2009-11-20 13:09:50 +01:00
mysqld_suffix.h
net_serv.cc
nt_servc.cc
nt_servc.h
opt_range.cc Bug#48459: valgrind errors with query using 'Range checked 2009-11-25 11:02:25 +01:00
opt_range.h
opt_sum.cc
parse_file.cc
parse_file.h
partition_element.h
partition_info.cc
partition_info.h
password.c
procedure.cc
procedure.h
protocol.cc
protocol.h
records.cc A fix and a test case for 2009-11-03 20:45:52 +03:00
repl_failsafe.cc Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
repl_failsafe.h
rpl_constants.h
rpl_filter.cc
rpl_filter.h
rpl_injector.cc
rpl_injector.h
rpl_mi.cc
rpl_mi.h
rpl_record.cc
rpl_record.h
rpl_record_old.cc
rpl_record_old.h
rpl_reporting.cc
rpl_reporting.h
rpl_rli.cc Bug #43913 rpl_cross_version can't pass on conflicts complainig clash with --slave-load-tm 2009-11-28 12:43:16 +08:00
rpl_rli.h
rpl_tblmap.cc Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
rpl_tblmap.h
rpl_utility.cc
rpl_utility.h
scheduler.cc
scheduler.h
set_var.cc
set_var.h
slave.cc
slave.h
sp.cc Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
sp.h Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
sp_cache.cc Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
sp_cache.h
sp_head.cc merge 2009-11-20 21:56:43 +01:00
sp_head.h Bug#45613 handle failures from my_hash_insert 2009-11-20 16:18:01 +01:00
sp_pcontext.cc
sp_pcontext.h
sp_rcontext.cc Bug#34384: Slow down on constant conversion. 2009-11-06 22:34:25 +03:00
sp_rcontext.h
spatial.cc
spatial.h
sql_acl.cc merge 2009-11-27 12:32:15 +02:00
sql_acl.h Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
sql_analyse.cc
sql_analyse.h
sql_array.h
sql_base.cc merge 2009-11-20 21:56:43 +01:00
sql_binlog.cc
sql_bitmap.h
sql_builtin.cc.in
sql_cache.cc Bug#39253 Large query cache still freezes server after fix for bug #21074 2009-11-20 13:49:06 +01:00
sql_cache.h Bug#39253 Large query cache still freezes server after fix for bug #21074 2009-11-20 13:49:06 +01:00
sql_class.cc
sql_class.h
sql_client.cc
sql_connect.cc
sql_crypt.cc
sql_crypt.h
sql_cursor.cc
sql_cursor.h
sql_db.cc
sql_delete.cc Bug #48350 truncate temporary table crashes replication 2009-11-22 13:10:33 +08:00
sql_derived.cc
sql_do.cc
sql_error.cc
sql_error.h
sql_handler.cc
sql_help.cc
sql_insert.cc Bug #47682 strange behaviour of INSERT DELAYED 2009-11-18 10:02:21 +01:00
sql_lex.cc
sql_lex.h
sql_list.cc
sql_list.h
sql_load.cc Bug #43913 rpl_cross_version can't pass on conflicts complainig clash with --slave-load-tm 2009-11-28 12:43:16 +08:00
sql_locale.cc
sql_manager.cc
sql_map.cc
sql_map.h
sql_olap.cc
sql_parse.cc auto-merge 2009-11-24 10:22:22 -08:00
sql_partition.cc merge 2009-11-17 22:51:49 +01:00
sql_partition.h
sql_plugin.cc
sql_plugin.h
sql_prepare.cc
sql_profile.cc
sql_profile.h
sql_rename.cc
sql_repl.cc
sql_repl.h
sql_select.cc merge 2009-11-20 21:56:43 +01:00
sql_select.h A fix and a test case for 2009-11-03 20:45:52 +03:00
sql_servers.cc
sql_servers.h
sql_show.cc
sql_show.h
sql_sort.h
sql_state.c
sql_string.cc
sql_string.h
sql_table.cc BUG#48506 crash in CREATE TABLE IF NOT EXISTS <existing_view> LIKE 2009-11-27 13:34:39 +00:00
sql_tablespace.cc
sql_test.cc
sql_trigger.cc
sql_trigger.h
sql_udf.cc
sql_udf.h
sql_union.cc
sql_update.cc
sql_view.cc
sql_view.h
sql_yacc.yy Automerge. 2009-11-25 11:09:12 -02:00
strfunc.cc
structs.h A fix and a test case for 2009-11-03 20:45:52 +03:00
table.cc Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
table.h Bug#41726: upgrade from 5.0 to 5.1.30 crashes if you didn't run mysql_upgrade 2009-11-21 09:18:21 -02:00
thr_malloc.cc
time.cc Bug#47925: regression of range optimizer and date comparison in 5.1.39! 2009-11-02 13:24:07 +01:00
tzfile.h
tztime.cc
tztime.h
udf_example.c
udf_example.def
uniques.cc
unireg.cc
unireg.h