From c00fd13ea14bdafd1d18c19fef9df9b3907130a4 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 18 Mar 2016 07:36:42 +0000 Subject: 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 --- plugins/Dbx_mdb/src/lmdb/mdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Dbx_mdb/src/lmdb') 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); } -- cgit v1.2.3