mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
4eee09a2c1
For TDB databases, the new ORDERED_INTEGER type is disabled along with repacking at format version 1 if GUID indexing is disabled, so all the new database features are toggled together. This scheme doesn't work with MDB because GUID indexing is mandatory when using MDB. However, a downgrade path is still required so in a previous commit we added a pack_format_override option which allows a downgrade script to force the database to use an earlier packing format. But, the new ORDERED_INTEGER type would still be present in MDB databases so this patch reads the pack_format_override opaque and converts ORDERED_INTEGER types in @ATTRIBUTES to INTEGER and doesn't write any indexes of that type to @INDEXLIST. The @INDEXLIST will be refreshed later, on the first transaction. Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
common | ||
dns | ||
kcc | ||
repl | ||
samdb | ||
schema | ||
tests/python | ||
pydsdb.c | ||
samdb.pc.in | ||
wscript_build |