1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-29 16:23:52 +03:00

r10477: expose transactions outside ldb and change the API once more

do not autostart transactions on ldb operations if a transaction is already in place
test transactions on winsdb

all my tests passes so far
tridge please confirm this is ok for you
This commit is contained in:
Simo Sorce
2005-09-24 15:42:15 +00:00
committed by Gerald (Jerry) Carter
parent e09ffdfb1d
commit c2bb2a36bd
19 changed files with 293 additions and 105 deletions

View File

@@ -308,6 +308,21 @@ int ldb_rename(struct ldb_context *ldb, const struct ldb_dn *olddn, const struct
*/
int ldb_delete(struct ldb_context *ldb, const struct ldb_dn *dn);
/*
start a transaction
*/
int ldb_transaction_start(struct ldb_context *ldb);
/*
commit a transaction
*/
int ldb_transaction_commit(struct ldb_context *ldb);
/*
cancel a transaction
*/
int ldb_transaction_cancel(struct ldb_context *ldb);
/*
return extended error information from the last call