diff --git a/dependencies/lmdb/libraries/liblmdb/mdb.c b/dependencies/lmdb/libraries/liblmdb/mdb.c index 07fce8d1b..570a859a8 100644 --- a/dependencies/lmdb/libraries/liblmdb/mdb.c +++ b/dependencies/lmdb/libraries/liblmdb/mdb.c @@ -3305,7 +3305,7 @@ mdb_txn_renew0(MDB_txn *txn) if (r->mr_pid != env->me_pid || r->mr_txnid != (txnid_t)-1) { last_error = malloc(100); if (r->mr_pid != env->me_pid) - sprintf(last_error, "The reader lock pid %u doesn't match env pid %u", r->mr_pid, env->me_pid); + sprintf(last_error, "The reader lock pid %u, txn %i, doesn't match env pid %u", r->mr_pid, r->mr_txnid, env->me_pid); else sprintf(last_error, "The reader lock has a txn id %i", r->mr_txnid); return MDB_BAD_RSLOT;