git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56af7df
)
dont emit the can not start transaction with locks held at all.
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 21 May 2008 01:23:46 +0000
(11:23 +1000)
committer
Ronnie 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
patch
|
blob
|
history
diff --git
a/lib/tdb/common/transaction.c
b/lib/tdb/common/transaction.c
index b36dcdb37a20c6d97efb578788a07f04d66aa257..5e5260b80a8304c8e6f2191b02f15a8bd0c85e8d 100644
(file)
--- a/
lib/tdb/common/transaction.c
+++ b/
lib/tdb/common/transaction.c
@@
-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;
}