summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/src/dbcache.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbcache.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/dbcache.cpp b/plugins/Db3x_mmap/src/dbcache.cpp
index 1196d4bceb..8d03a2945b 100644
--- a/plugins/Db3x_mmap/src/dbcache.cpp
+++ b/plugins/Db3x_mmap/src/dbcache.cpp
@@ -26,9 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
void CDb3Mmap::Map()
{
DWORD dwProtectMode, dwAccess;
- if (cb && cb->bAggressive)
- dwProtectMode = PAGE_WRITECOPY, dwAccess = FILE_MAP_COPY;
- else if (m_bReadOnly)
+ if (m_bReadOnly)
dwProtectMode = PAGE_READONLY, dwAccess = FILE_MAP_READ;
else
dwProtectMode = PAGE_READWRITE, dwAccess = FILE_MAP_ALL_ACCESS;