Fix assertion for value range on empty slot
commit8a6bfca836376c9e9b6b1505dc6f6c5e13af90ab
authorOlly Betts <olly@survex.com>
Mon, 20 Nov 2017 20:00:14 +0000 (21 09:00 +1300)
committerOlly Betts <olly@survex.com>
Mon, 20 Nov 2017 20:00:14 +0000 (21 09:00 +1300)
tree336edd6a9ad7381ba55db1dc0e3164ce8cdfbe84
parent52c70911af4d8da010fdd94467494c48f64dcd64
Fix assertion for value range on empty slot

We no longer have any backends without value stats, so make tracking
value stats a requirement for a backend which supports values.

A backend which doesn't support values should just return an empty
string for the upper and lower bounds and 0 for the value frequency.
xapian-core/api/queryinternal.cc
xapian-core/include/xapian/database.h
xapian-core/tests/api_opvalue.cc