summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-09-20 15:38:29 -0700
committerAndrew Bartlett <abartlet@samba.org>2009-09-20 16:29:37 -0700
commit1d4a16acd7e6c5bd664f2276d4d8e86efb36baaf (patch)
tree84d8ba3a8b8f170baabbfde29dfe1098185bc813 /source4/lib
parent509a2bb97c5ccb13c4c2f885f3961f2880aceb91 (diff)
downloadsamba-1d4a16acd7e6c5bd664f2276d4d8e86efb36baaf.tar.gz
samba-1d4a16acd7e6c5bd664f2276d4d8e86efb36baaf.tar.bz2
samba-1d4a16acd7e6c5bd664f2276d4d8e86efb36baaf.zip
s4:ldb print out which LDB the transaction is still active on.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 613451a7c2..b75d837674 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -41,8 +41,8 @@ static int ldb_context_destructor(void *ptr)
if (ldb->transaction_active) {
ldb_debug(ldb, LDB_DEBUG_FATAL,
- "A transaction is still active in ldb context [%p]",
- ldb);
+ "A transaction is still active in ldb context [%p] on %s",
+ ldb, (const char *)ldb_get_opaque(ldb, "ldb_url"));
}
return 0;