diff options
author | unknown <stewart@mysql.com> | 2006-02-16 15:51:37 +1100 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2006-02-16 15:51:37 +1100 |
commit | 13adc06f53122cf890b8d58d21bc77a51132c80f (patch) | |
tree | 401ad4c74b5e49432403a71b4a0baa0339380bcc /storage/ndb/include/util/File.hpp | |
parent | 7141bfd049bc2729262550039e34aea06b5759a5 (diff) | |
parent | 82f645531ca1843de7651102e8653fdee1faf5a6 (diff) | |
download | mariadb-git-13adc06f53122cf890b8d58d21bc77a51132c80f.tar.gz |
Merge mysql.com:/home/stewart/Documents/MySQL/5.0/bug17411-thisisaverylongnamethatshouldbewaylongerthanthe128limitthatweprivouslyhadbutireallywantotestitandseethatitdoesreallywork.nowitshouldbeabout160charslongnonow.iwonderifanythingwillchokeornotwiththisoutrageouslylongpathname
into mysql.com:/home/stewart/Documents/MySQL/5.1/new
storage/ndb/include/util/File.hpp:
Auto merged
storage/ndb/src/common/portlib/NdbConfig.c:
Auto merged
storage/ndb/src/common/util/File.cpp:
Auto merged
Diffstat (limited to 'storage/ndb/include/util/File.hpp')
-rw-r--r-- | storage/ndb/include/util/File.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/ndb/include/util/File.hpp b/storage/ndb/include/util/File.hpp index 3ed0ad7a6f9..53ea88e0f52 100644 --- a/storage/ndb/include/util/File.hpp +++ b/storage/ndb/include/util/File.hpp @@ -191,10 +191,8 @@ public: int flush() const; private: - STATIC_CONST( MAX_FILE_NAME_SIZE = 128 ); - FILE* m_file; - char m_fileName[MAX_FILE_NAME_SIZE]; + char m_fileName[PATH_MAX]; const char* m_fileMode; /* Prohibit */ File_class (const File_class& aCopy); |