Fix estimate calculation for OP_VALUE_RANGE
commit9d37a300d62695275447bb4ed04e3456450b5c70
authorOlly Betts <olly@survex.com>
Fri, 27 Oct 2017 01:35:43 +0000 (27 14:35 +1300)
committerOlly Betts <olly@survex.com>
Fri, 27 Oct 2017 01:38:58 +0000 (27 14:38 +1300)
tree5e82489a23aacefcd9f2c371556a8051e06ddfe5
parent27c8555e1c3daac242ee65947321b3fa9f29e05d
Fix estimate calculation for OP_VALUE_RANGE

We could still end up dividing by zero when the range bounds
differed only by one or more trailing zero bytes.
xapian-core/matcher/valuerangepostlist.cc
xapian-core/tests/api_opvalue.cc