ldb_kv_index: Add a giant comment in regards to index_format_fn
authorGarming Sam <garming@catalyst.net.nz>
Thu, 4 Apr 2019 02:02:15 +0000 (15:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Apr 2019 02:07:22 +0000 (02:07 +0000)
commitf775606516015715379dd76fa545da7c02c65e45
tree930b5a75032401384c5f375a5481e8537850f15f
parenta894515229f1edc3f07ea08faafdbfba16cf32ff
ldb_kv_index: Add a giant comment in regards to index_format_fn

The reason we needed it in the first place was that the original
canonicalize is being used for non-index functions and it never produced
the right order originally (at least for integers).

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_key_value/ldb_kv_index.c