diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:40:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 07:40:13 +0930 |
commit | b4a5c6dcb6c60a32b92772396dadfffa6b721732 (patch) | |
tree | eb135a99d5966f7e03189d6764a9244ef0d54172 /source3/client | |
parent | 88ce92b92efe12f8a7364eb1786d73ec8ecd7884 (diff) | |
download | samba-b4a5c6dcb6c60a32b92772396dadfffa6b721732.tar.gz samba-b4a5c6dcb6c60a32b92772396dadfffa6b721732.tar.bz2 samba-b4a5c6dcb6c60a32b92772396dadfffa6b721732.zip |
tdb2: don't cancel transactions on lock failures in tdb1 backend.
In TDB2, the user can override locking functions, so they may
deliberarely fail (eg. be non-blocking) expecting to retry.
For this reason, the TDB2 API requires the caller to cancel the
transaction if tdb_transaction_prepare_commit() fails.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 8458811a4126c22635b974718bfbf2876c893c37)
Diffstat (limited to 'source3/client')
0 files changed, 0 insertions, 0 deletions