Improve stub file handling of disabled backends
commit2fe5ccfdf7d028f45eff508a65e14758963a35d9
authorOlly Betts <olly@survex.com>
Wed, 18 Oct 2017 09:51:15 +0000 (18 22:51 +1300)
committerOlly Betts <olly@survex.com>
Wed, 18 Oct 2017 09:54:16 +0000 (18 22:54 +1300)
tree17c5dcf54656934dd9170a47baf4dde2245579a3
parent3651e4a304233386f6ef8f7d961e1664e2811c06
Improve stub file handling of disabled backends

Disabling a backend used to mean that lines for that backend would
throw DatabaseError with message "Bad line" - now they they throw
FeatureUnavailableError.
xapian-core/backends/dbfactory.cc
xapian-core/tests/api_db.cc