summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-09-07 11:55:34 +0500
committerunknown <hf@deer.(none)>2004-09-07 11:55:34 +0500
commit89ee639541a36aef7be25855b5bdc24b890108f8 (patch)
treee7c329902080841ee5657b450f9c954f44bb920a /mysys
parent3c3db07321d1a75a241e1d6689dc56d9415519a5 (diff)
downloadmariadb-git-89ee639541a36aef7be25855b5bdc24b890108f8.tar.gz
A set of mysql_home_path-related fixes
mysys/mf_format.c: I think here i fixed a bug sql/item_strfunc.cc: mysql_real_data_home added sql/sql_class.cc: it's more closer to what manual says sql/sql_load.cc: code rewritten to be similar sql/sql_table.cc: mysql_real_data_home added to the path
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_format.c b/mysys/mf_format.c
index 114e19759c8..d1ca1108d02 100644
--- a/mysys/mf_format.c
+++ b/mysys/mf_format.c
@@ -42,7 +42,7 @@ my_string fn_format(my_string to, const char *name, const char *dir,
/* Use given directory */
convert_dirname(dev,dir,NullS); /* Fix to this OS */
}
- else if ((flag & MY_RELATIVE_PATH) && !test_if_hard_path(name))
+ else if ((flag & MY_RELATIVE_PATH) && !test_if_hard_path(dev))
{
/* Put 'dir' before the given path */
strmake(buff,dev,sizeof(buff)-1);