diff options
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/log.h b/sql/log.h index 9b6f365eea7..ef28c6ceac6 100644 --- a/sql/log.h +++ b/sql/log.h @@ -118,7 +118,6 @@ public: }; #define TC_LOG_PAGE_SIZE 8192 -#define TC_LOG_MIN_SIZE (3*TC_LOG_PAGE_SIZE) #ifdef HAVE_MMAP class TC_LOG_MMAP: public TC_LOG @@ -133,7 +132,7 @@ class TC_LOG_MMAP: public TC_LOG struct pending_cookies { uint count; uint pending_count; - ulong cookies[TC_LOG_PAGE_SIZE/sizeof(my_xid)]; + ulong cookies[1]; }; private: |