summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authoranjuta@arthur.local <>2006-06-01 12:34:44 +0300
committeranjuta@arthur.local <>2006-06-01 12:34:44 +0300
commit5459ebc572a24e467856562338e6c82157dec845 (patch)
tree10eb7910fd2359d5b3c6457f3f9070b48a9eab20 /include/config-win.h
parent1efda1ea54f25165b71389acd81968a01d70905a (diff)
downloadmariadb-git-5459ebc572a24e467856562338e6c82157dec845.tar.gz
Fixed Bug#19479:mysqldump creates invalid dump.
Only check for FN_DEVCHAR in filenames if FN_DEVCHAR is defined. This allows to use table names with ":" on non windows platforms. On Windows platform get an error if you use table name that contains FN_DEVCHAR
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 8d937ffed22..75133ddc837 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -384,6 +384,7 @@ inline double ulonglong2double(ulonglong value)
#define FN_LIBCHAR '\\'
#define FN_ROOTDIR "\\"
+#define FN_DEVCHAR ':'
#define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */
#define FN_NO_CASE_SENCE /* Files are not case-sensitive */
#define OS_FILE_LIMIT 2048