git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
524072b
)
s3:dbwrap_ctdb: fix brown paperbag bug in ctdb_transaction_commit.
author
Michael Adam
<obnox@samba.org>
Wed, 13 Jan 2010 22:51:34 +0000
(23:51 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 12 Feb 2010 22:12:11 +0000
(23:12 +0100)
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
source3/lib/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap_ctdb.c
b/source3/lib/dbwrap_ctdb.c
index 4e97d26ae82675fcaa38740aa8ef88af3980b148..c0b5fd51ed540b49e645b50748543026e625134b 100644
(file)
--- 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
;
}