summaryrefslogtreecommitdiff
path: root/lib/tdb2/test
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:40:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:40:13 +0930
commitb4a5c6dcb6c60a32b92772396dadfffa6b721732 (patch)
treeeb135a99d5966f7e03189d6764a9244ef0d54172 /lib/tdb2/test
parent88ce92b92efe12f8a7364eb1786d73ec8ecd7884 (diff)
downloadsamba-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 'lib/tdb2/test')
0 files changed, 0 insertions, 0 deletions