summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/lmdb
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-03-18 07:36:42 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-03-18 07:36:42 +0000
commitc00fd13ea14bdafd1d18c19fef9df9b3907130a4 (patch)
treef0c122574c84a2abd796beaeb2855c3503047355 /plugins/Dbx_mdb/src/lmdb
parenta628ea1e2cdcb829e9cb88076ed165f16b39612b (diff)
dbx_lmdb: fix reading events from last contact; some commits temporary reverted
git-svn-id: http://svn.miranda-ng.org/main/trunk@16494 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/lmdb')
-rw-r--r--plugins/Dbx_mdb/src/lmdb/mdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dbx_mdb/src/lmdb/mdb.c b/plugins/Dbx_mdb/src/lmdb/mdb.c
index 6d5e75d2c3..57f03fc6db 100644
--- a/plugins/Dbx_mdb/src/lmdb/mdb.c
+++ b/plugins/Dbx_mdb/src/lmdb/mdb.c
@@ -1404,6 +1404,8 @@ mdb_assert_fail(MDB_env *env, const char *expr_txt,
if (env->me_assert_func)
env->me_assert_func(env, buf);
fprintf(stderr, "%s\n", buf);
+ if (IsDebuggerPresent())
+ DebugBreak();
_beginthread(dbpanic, 0, 0);
Sleep(INFINITE);
}