summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorreggie@mdk10.(none) <>2005-05-23 11:53:16 -0500
committerreggie@mdk10.(none) <>2005-05-23 11:53:16 -0500
commitc9e7c0fd56e04ce15b09b44c927c221143c6a9b6 (patch)
tree3153a514a15fc0a00b4cda2dcc8a351985d39566 /mysys
parent0e8e44e70dd13ef8c0f011ed2a9002102547692a (diff)
downloadmariadb-git-c9e7c0fd56e04ce15b09b44c927c221143c6a9b6.tar.gz
BUG# 10687: MERGE Engine fails on Windows
This is a replacement for the original patch given by Ingo. This one comes from Monty. The problem is that merge files now use unix style pathnames on all platforms. The merge file open code was not properly converting those pathnames back to non-unix when necessary.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_getwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_getwd.c b/mysys/my_getwd.c
index 89f949eca27..14d68168acd 100644
--- a/mysys/my_getwd.c
+++ b/mysys/my_getwd.c
@@ -208,7 +208,7 @@ int test_if_hard_path(register const char *dir_name)
my_bool has_path(const char *name)
{
- return test(strchr(name, FN_LIBCHAR))
+ return test(strchr(name, FN_LIBCHAR)) || test(strchr(name,'/'))
#ifdef FN_DEVCHAR
|| test(strchr(name, FN_DEVCHAR))
#endif