ldb: binding ordered indexes to GUID indexing
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Wed, 22 May 2019 02:07:19 +0000 (14:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 May 2019 04:41:24 +0000 (04:41 +0000)
commit08b9d204b6eeda0aedea754f7e4b6f809d358cfe
treedd069c8dd81039fbfb2cc5c10afb73b703fbb95f
parent6005c8cbad77259fa3cb89ab21cb5f26b72413cd
ldb: binding ordered indexes to GUID indexing

To reduce the number of potential combinations of database features in
ldb, we want to link all new database features since 4.7. GUID indexing,
ordered integers, and pack format changes will all upgrade together.
This patch makes ordered integers only function if GUID indexing is
enabled. If GUID indexing is disabled, ORDERED_INTEGER will not be
written to @ATTRIBUTES and a syntax's index_format_fn will never be
used.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/schema/schema_set.c