ldb index: Fix truncation key length calculation
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 12 Mar 2018 19:10:54 +0000 (08:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Apr 2018 00:08:44 +0000 (02:08 +0200)
commitd161a6dcfef09ad939df76c5c77eb8b7519a9326
tree69b747de157fc7da77f7378b4a486147a647d4bc
parenteb4205fc31830f4227667e245395d81d3b3654cb
ldb index: Fix truncation key length calculation

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/tests/python/index.py