{\rtf1\ansi\ansicpg1252\cocoartf2868 \cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fmodern\fcharset0 Courier;} {\colortbl;\red255\green255\blue255;\red255\green255\blue255;\red0\green0\blue0;} {\*\expandedcolortbl;;\cssrgb\c100000\c100000\c100000;\cssrgb\c0\c0\c0;} {\info {\author Rahul Sisondia}}\paperw11900\paperh16840\margl1440\margr1440\vieww11260\viewh8400\viewkind0 \deftab720 \pard\pardeftab720\partightenfactor0 \f0\fs24 \cf0 \cb2 \expnd0\expndtw0\kerning0 \outl0\strokewidth0 \strokec3 diff --git a/storage/temptable/include/temptable/allocator.h b/storage/temptable/include/temptable/allocator.h\ index cef47b3df6c..d8e2d383df6 100644\ --- a/storage/temptable/include/temptable/allocator.h\ +++ b/storage/temptable/include/temptable/allocator.h\ @@ -101,11 +101,7 @@ struct MemoryMonitor \{\ *\ * @return MMAP-memory threshold. */\ static size_t threshold() \{\ - if (temptable_use_mmap) \{\ return temptable_max_mmap;\ - \} else \{\ - return 0;\ - \}\ \}\ /** Get current level of MMAP-backed memory consumption.\ *\ }