summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-04 19:44:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-04 19:44:41 +0000
commitbdc6998bb07eabaed2a583049fc744c8b1073657 (patch)
tree3bbc3ff810bfe71b7d257a439a60b2c52ea59638 /plugins/Db3x_mmap
parent2da1f347012d15530482b2494e83ab0b8c785521 (diff)
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
Diffstat (limited to 'plugins/Db3x_mmap')
-rw-r--r--plugins/Db3x_mmap/src/dbheaders.cpp1
-rw-r--r--plugins/Db3x_mmap/src/dbintf.h1
2 files changed, 2 insertions, 0 deletions
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