lib/ldb: Ensure rename target does not exist before deleting old record
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 Jul 2012 00:17:20 +0000 (10:17 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 31 Jul 2012 12:15:29 +0000 (14:15 +0200)
commit8208d7b2c207c39c3d45f96f85728c233dce126d
tree541aa4eedef8c6a964d3227ba0f6c2101cb01b8f
parent221cd524e31fce5efa2de179074cfe97bf2c909c
lib/ldb: Ensure rename target does not exist before deleting old record

This is all in a transaction, but when we are handling rename errors in the repl_meta_data
module, we key off the error, and do not close the transaction.  We found that the
old record was gone and so could not try renaming it again to a conflict DN.

Andrew Bartlett
lib/ldb/ABI/ldb-1.1.9.sigs [new file with mode: 0644]
lib/ldb/ABI/pyldb-util-1.1.9.sigs [new file with mode: 0644]
lib/ldb/ldb_tdb/ldb_tdb.c
lib/ldb/wscript