Add Database::get_revision() method
commit741d39d8044cd3ecd7c246207c3114517704ab6f
authorOlly Betts <olly@survex.com>
Sun, 16 Oct 2016 03:19:31 +0000 (16 16:19 +1300)
committerOlly Betts <olly@survex.com>
Sun, 16 Oct 2016 03:23:08 +0000 (16 16:23 +1300)
tree477ec87eee9af5e6ac5abdffa5736215b6790cd2
parent79928288b3a546658753c40543180be2c3da49a7
Add Database::get_revision() method

Provides access to the database revision number for chert and glass,
intended for use by xapiand.

Marked as experimental, so we don't have to go through the usual
deprecation cycle if this proves not to be the approach we want to
take.

Fixes #709, reported by German M. Bravo.

(cherry picked from commit 324700a967f6e1ab79bb785f95d9dae58d43ba64)
xapian-core/api/omdatabase.cc
xapian-core/configure.ac
xapian-core/include/xapian/database.h
xapian-core/include/xapian/types.h
xapian-core/include/xapian/version_h.cc
xapian-core/tests/api_backend.cc