]> git.ipfire.org Git - thirdparty/samba.git/commit
ldb_tdb: Create a common ltdb_key_is_record() allowing multiple key forms
authorAndrew Bartlett <abartlet@samba.org>
Fri, 1 Sep 2017 02:35:08 +0000 (14:35 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 7 Sep 2017 04:56:26 +0000 (06:56 +0200)
commitfec666b334ad90408843d8fbfd4c2f62434831e2
tree8ad6131576628c240e60f3abf4b056d9f144fd27
parent2d0007ee5a658d199029f7e81200e206ba0d89e0
ldb_tdb: Create a common ltdb_key_is_record() allowing multiple key forms

If backported, this allows old ldb versions to full-search and re-index newer databases
and in current code allows the transition to and from a GUID or incrementing ID based index

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/ldb_tdb/ldb_search.c
lib/ldb/ldb_tdb/ldb_tdb.c
lib/ldb/ldb_tdb/ldb_tdb.h