[honey] Fix stub file size check shortcut
commit8c76d9cc73897a63e4deb3f8bd918ee13cf46d1a
authorOlly Betts <olly@survex.com>
Wed, 21 Mar 2018 07:22:08 +0000 (21 20:22 +1300)
committerOlly Betts <olly@survex.com>
Wed, 21 Mar 2018 07:22:08 +0000 (21 20:22 +1300)
treece09444403f622c67313c5ebbaaa09161f653f17
parent9980a4b649e3faa2f881684871389145f7989c80
[honey] Fix stub file size check shortcut

The edit which modifed the code to allow for honey's non-block-based
format was botched, resulting in the shortcut being mostly disabled
so we'd always look at the magic at the start of the file rather
than almost never needing to when it's actually a stub file.
xapian-core/backends/dbfactory.cc