s3:dbwrap_ctdb: fix brown paperbag bug in ctdb_transaction_commit.
authorMichael Adam <obnox@samba.org>
Wed, 13 Jan 2010 22:51:34 +0000 (23:51 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 31 Mar 2010 15:54:30 +0000 (17:54 +0200)
commit7fc2b612b8f77751effadcd53800c96e83e76418
tree09c336b3ce0ec2e2dc4bff9b62f73931e48a9e50
parente5cc0e718863d6cfaa59fbb4cac7d9b70fba0381
s3:dbwrap_ctdb: fix brown paperbag bug in ctdb_transaction_commit.

I carefully prepared the return value only to "return 0;" at the bottom. :-(
This may well have hit us for instance in the nested cancel case
and produced random errors.

Michael
(cherry picked from commit 1d594bd734a2f7146ed52872456a16c5e41816f1)
source3/lib/dbwrap_ctdb.c