dont emit the can not start transaction with locks held at all.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 May 2008 01:23:46 +0000 (11:23 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 May 2008 01:23:46 +0000 (11:23 +1000)
it just pollutes the logs

lib/tdb/common/transaction.c

index b36dcdb37a20c6d97efb578788a07f04d66aa257..5e5260b80a8304c8e6f2191b02f15a8bd0c85e8d 100644 (file)
@@ -419,7 +419,7 @@ int tdb_transaction_start(struct tdb_context *tdb)
                /* the caller must not have any locks when starting a
                   transaction as otherwise we'll be screwed by lack
                   of nested locks in posix */
-               TDB_LOG((tdb, TDB_DEBUG_TRACE, "tdb_transaction_start: cannot start a transaction with locks held\n"));
+//             TDB_LOG((tdb, TDB_DEBUG_TRACE, "tdb_transaction_start: cannot start a transaction with locks held\n"));
                tdb->ecode = TDB_ERR_LOCK;
                return -1;
        }