1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/lib/ldb
Andrew Bartlett 2d0007ee5a ldb_tdb: Do not trigger the unique index check during a re-index, use another pass
We want to rename the objects, then scan looking for the index values.

This avoids a DB modify during the index scan traverse (the index values
are actually added to an in-memory TDB, written in prepare_commit()).

This allows us to remove the "this might already exist" case in the
index handling, we now know that the entry did not exist in the index
before we add it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13015

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2017-09-07 06:56:26 +02:00
..
ABI ldb: version 1.2.1 2017-07-22 03:46:25 +02:00
common ldb: Add LDB_UNPACK_DATA_FLAG_NO_ATTRS 2017-08-29 07:23:29 +02:00
docs
examples
include ldb: Add LDB_UNPACK_DATA_FLAG_NO_ATTRS 2017-08-29 07:23:29 +02:00
ldb_ldap ldb: allow a timeout of -1 result in no timeout timer at all. 2016-02-17 03:43:22 +01:00
ldb_map ldb: Fix a signed/unsigned hickup 2016-09-01 02:04:20 +02:00
ldb_sqlite3 ldb: relatively efficient functions for finding duplicate values 2017-06-15 17:33:10 +02:00
ldb_tdb ldb_tdb: Do not trigger the unique index check during a re-index, use another pass 2017-09-07 06:56:26 +02:00
man man pages: change http://samba.org to https://www.samba.org 2016-12-09 13:10:26 +01:00
modules ldb: Cope with a->name being * 2016-12-01 05:54:23 +01:00
nssldb
tests ldb: Add tests for indexed and unindexed search expressions 2017-08-30 14:58:32 +02:00
tools ldb: add LDB_FLG_DONT_CREATE_DB 2017-03-09 16:02:21 +01:00
web
_ldb_text.py pyldb: Split text/byte strings for compatibility with Python 3 2015-11-05 18:04:24 +01:00
configure
Doxyfile
examples.dox
ldb.pc.in
mainpage.dox
Makefile
pyldb_util.c pyldb: Split text/byte strings for compatibility with Python 3 2015-11-05 18:04:24 +01:00
pyldb-util.pc.in lib/ldb: Enable use of a python3 pyldb-util system library 2017-03-10 07:31:10 +01:00
pyldb.c lib: ldb: Python. Take care of freeing the passed in module description if ldb_register_module() fails. 2017-07-26 21:35:22 +02:00
pyldb.h pyldb: protect PyErr_LDB_ERROR_IS_ERR_RAISE() with do {} while(0) 2016-11-23 16:53:28 +01:00
README_gcov.txt
wscript ldb: version 1.2.1 2017-07-22 03:46:25 +02:00