diff options
author | Michael Adam <obnox@samba.org> | 2010-01-13 23:51:34 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-02-12 23:12:11 +0100 |
commit | 1d594bd734a2f7146ed52872456a16c5e41816f1 (patch) | |
tree | c1dc0396fa1f0aecdc9d219cab3db6258a84fff6 /source3 | |
parent | 524072b56bf659002410a817749bf86fe6f51e83 (diff) | |
download | samba-1d594bd734a2f7146ed52872456a16c5e41816f1.tar.gz samba-1d594bd734a2f7146ed52872456a16c5e41816f1.tar.bz2 samba-1d594bd734a2f7146ed52872456a16c5e41816f1.zip |
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
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/dbwrap_ctdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c index 4e97d26ae8..c0b5fd51ed 100644 --- a/source3/lib/dbwrap_ctdb.c +++ b/source3/lib/dbwrap_ctdb.c @@ -840,7 +840,7 @@ again: done: h->ctx->transaction = NULL; talloc_free(h); - return 0; + return ret; } |