Fix bug with get_mset(0, 0, X) when X > 0
commitf92e2a936c159209398bb85a61ee1ae7d0bc635a
authorOlly Betts <olly@survex.com>
Mon, 26 Feb 2018 22:55:39 +0000 (27 11:55 +1300)
committerOlly Betts <olly@survex.com>
Mon, 26 Feb 2018 22:55:39 +0000 (27 11:55 +1300)
tree39202c9993fbe8847060ddc5e975746341be3b87
parentebfdbb190cb232b3954b0fd781c1f287037e0f7c
Fix bug with get_mset(0, 0, X) when X > 0

This was causing us to try to access an element in an empty vector.

Reported by sielicki in #xapian.
xapian-core/matcher/protomset.h
xapian-core/tests/api_backend.cc