From bdc6998bb07eabaed2a583049fc744c8b1073657 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Jul 2014 19:44:41 +0000 Subject: 0.94 database format is valid for 0.95 git-svn-id: http://svn.miranda-ng.org/main/trunk@9679 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbheaders.cpp | 1 + plugins/Db3x_mmap/src/dbintf.h | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/Db3x_mmap/src/dbheaders.cpp b/plugins/Db3x_mmap/src/dbheaders.cpp index 5fc2b534c9..f279b98cfa 100644 --- a/plugins/Db3x_mmap/src/dbheaders.cpp +++ b/plugins/Db3x_mmap/src/dbheaders.cpp @@ -87,6 +87,7 @@ int CDb3Mmap::CheckDbHeaders() } switch (m_dbHeader.version) { + case DB_094_VERSION: case DB_095_1_VERSION: case DB_095_VERSION: break; diff --git a/plugins/Db3x_mmap/src/dbintf.h b/plugins/Db3x_mmap/src/dbintf.h index b69054f87d..e0c5b43ebb 100644 --- a/plugins/Db3x_mmap/src/dbintf.h +++ b/plugins/Db3x_mmap/src/dbintf.h @@ -47,6 +47,7 @@ DBHeader #define DBMODE_SHARED 0x0001 #define DBMODE_READONLY 0x0002 +#define DB_094_VERSION 0x00000701u #define DB_095_VERSION 0x00000800u #define DB_095_1_VERSION 0x00000801u -- cgit v1.2.3