[honey] Improve handling of index type
commit02f65981056208f4c723e691985b634b5a654b60
authorOlly Betts <olly@survex.com>
Tue, 20 Mar 2018 00:06:16 +0000 (20 13:06 +1300)
committerOlly Betts <olly@survex.com>
Tue, 20 Mar 2018 00:06:16 +0000 (20 13:06 +1300)
tree0abea8b22803530075cdd59694b32be989311a3f
parent318b0dee2b6d97b49c1ef1499c968eb4542d3db8
[honey] Improve handling of index type

Handle root at EOF in HoneyCursor (like we already do for HoneyTable)
and report invalid index type codes in the exception message.
xapian-core/backends/honey/honey_cursor.cc
xapian-core/backends/honey/honey_table.cc