summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2005-01-26 17:09:38 +0400
committerunknown <ram@gw.mysql.r18.ru>2005-01-26 17:09:38 +0400
commitc8746a661c214b3d43e7da4a4d06ed56d4358c54 (patch)
tree9889a5bf821b1cc5f541f23b629d511b89609759 /include
parent8df4eead55bab8681e5a349c5d5a53cb6104650a (diff)
parent13a99ec92446d1e3ad6ed2fcd6c71dfc3f620092 (diff)
downloadmariadb-git-c8746a661c214b3d43e7da4a4d06ed56d4358c54.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1
into gw.mysql.r18.ru:/usr/home/ram/work/4.1 include/my_global.h: Auto merged sql/mysqld.cc: Auto merged
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index f54a18649c5..3263d079853 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -530,7 +530,11 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define FN_LEN 256 /* Max file name len */
#define FN_HEADLEN 253 /* Max length of filepart of file name */
#define FN_EXTLEN 20 /* Max length of extension (part of FN_LEN) */
+#ifdef PATH_MAX
+#define FN_REFLEN PATH_MAX/* Max length of full path-name */
+#else
#define FN_REFLEN 512 /* Max length of full path-name */
+#endif
#define FN_EXTCHAR '.'
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */