s4:ldb print out which LDB the transaction is still active on.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 20 Sep 2009 22:38:29 +0000 (15:38 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 20 Sep 2009 23:29:37 +0000 (16:29 -0700)
source4/lib/ldb/common/ldb.c

index 613451a7c2a2cba9ce634f7fc478fe95a52aae7b..b75d837674c3c1f9bd362422632732a7c3818523 100644 (file)
@@ -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;