summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-11-24 02:36:28 +0200
committermonty@mysql.com <>2005-11-24 02:36:28 +0200
commitf5804869e376e7214817a5ccd23737ec9f46f0d0 (patch)
treefc3928c9ced01afa8474a263e5d847940b4cff4a /include/my_global.h
parentc571ec2da2b760f1b2290cd0a8d282ecbe988123 (diff)
downloadmariadb-git-f5804869e376e7214817a5ccd23737ec9f46f0d0.tar.gz
Don't use PATH_MAX for FN_REFLEN as this uses too much stack space
Larger stack size neaded for open table on x86 64 bit Fix failing test cases Deleted symlink from bk
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 33cdfa2d03c..851033cf366 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -574,11 +574,7 @@ 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 */