summaryrefslogtreecommitdiff
path: root/lib/tdb/docs/README
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-03-31 15:53:17 +1100
committerAndrew Tridgell <tridge@samba.org>2009-03-31 15:53:17 +1100
commit15e6def45d528b10f9ac2ecb917ff13ca6187711 (patch)
treeb085d7bb56cb8fc1293ecaf71108e223b74e703d /lib/tdb/docs/README
parent631e688c821b78d09d77f5940074800525c554aa (diff)
parent79b7ba9b106791958cc42d68b11d9dea2a77f6f3 (diff)
downloadsamba-15e6def45d528b10f9ac2ecb917ff13ca6187711.tar.gz
samba-15e6def45d528b10f9ac2ecb917ff13ca6187711.tar.bz2
samba-15e6def45d528b10f9ac2ecb917ff13ca6187711.zip
Merge branch 'master' into wspp-schema
Diffstat (limited to 'lib/tdb/docs/README')
-rw-r--r--lib/tdb/docs/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tdb/docs/README b/lib/tdb/docs/README
index 63fcf5e049..454e4ba032 100644
--- a/lib/tdb/docs/README
+++ b/lib/tdb/docs/README
@@ -236,3 +236,11 @@ int tdb_transaction_commit(TDB_CONTEXT *tdb)
commit a current transaction, updating the database and releasing
the transaction locks.
+----------------------------------------------------------------------
+int tdb_transaction_prepare_commit(TDB_CONTEXT *tdb)
+
+ prepare to commit a current transaction, for two-phase commits.
+ Once prepared for commit, the only allowed calls are
+ tdb_transaction_commit() or tdb_transaction_cancel(). Preparing
+ allocates disk space for the pending updates, so a subsequent
+ commit should succeed (barring any hardware failures).