diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-10 19:03:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-10 19:03:29 +0000 |
commit | 6d8085a6bc3847734cfdfd497055bc0f9ec8f9c5 (patch) | |
tree | f6e79bbceca7c3bd5e0876618be3799d38aaedef /plugins/Dbx_mdb/src/lmdb | |
parent | 2927b24587cf46907242792bf6190b3c607cbea5 (diff) |
fix for the events' sorting order
git-svn-id: http://svn.miranda-ng.org/main/trunk@12377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/lmdb')
-rw-r--r-- | plugins/Dbx_mdb/src/lmdb/mdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/lmdb/mdb.c b/plugins/Dbx_mdb/src/lmdb/mdb.c index 2ab6bda0c5..65ac5b7d74 100644 --- a/plugins/Dbx_mdb/src/lmdb/mdb.c +++ b/plugins/Dbx_mdb/src/lmdb/mdb.c @@ -4962,7 +4962,7 @@ mdb_node_search(MDB_cursor *mc, MDB_val *key, int *exactp) if (cmp == mdb_cmp_cint && IS_BRANCH(mp)) { if (NODEPTR(mp, 1)->mn_ksize == sizeof(size_t)) cmp = mdb_cmp_long; - else + else if(NODEPTR(mp, 1)->mn_ksize == sizeof(int)) cmp = mdb_cmp_int; } |