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:
committed by
Gerald (Jerry) Carter
parent
e09ffdfb1d
commit
c2bb2a36bd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user