Stop passing db_last_docid to check_glass_table()
commit45bbd0c8be14e75fef7a4aada7f7549b81f170b5
authorOlly Betts <olly@survex.com>
Sat, 9 Jan 2016 10:12:22 +0000 (9 23:12 +1300)
committerOlly Betts <olly@survex.com>
Sat, 9 Jan 2016 10:16:06 +0000 (9 23:16 +1300)
tree60d06edded11391cd1b08d27bb8c3d6b65717736
parente47b8cc55eda6f09c38b996ef381ebb10a2aa5df
Stop passing db_last_docid to check_glass_table()

check_glass_table() is also passed the version_file, and we can just get
db_last_docid from there.

This also means we now check docids don't exceed db_last_docid when checking a
single glass table - previously GLASS_MAX_DOCID got passed in this case.
xapian-core/backends/dbcheck.cc
xapian-core/backends/glass/glass_dbcheck.cc
xapian-core/backends/glass/glass_dbcheck.h