#include <config.h>#include <xapian.h>#include <iostream>#include "autoptr.h"#include "btreecheck.h"#include "bcursor.h"#include "quartz_types.h"#include "quartz_utils.h"#include "safesysstat.h"Include dependency graph for quartzcheck.cc:

Go to the source code of this file.
Defines | |
| #define | XAPIAN_DEPRECATED(D) D |
| #define | PROG_NAME "quartzcheck" |
| #define | PROG_DESC "Check the consistency of quartz database or table" |
Functions | |
| static void | show_usage () |
| static size_t | check_table (const char *table, int opts) |
| int | main (int argc, char **argv) |
Variables | |
| static vector< Xapian::termcount > | doclens |
| #define XAPIAN_DEPRECATED | ( | D | ) | D |
Definition at line 26 of file quartzcheck.cc.
| #define PROG_NAME "quartzcheck" |
| #define PROG_DESC "Check the consistency of quartz database or table" |
| static void show_usage | ( | ) | [static] |
| static size_t check_table | ( | const char * | table, | |
| int | opts | |||
| ) | [static] |
Definition at line 156 of file quartzcheck.cc.
References BtreeCheck::check(), Btree::cursor_get(), doclens, Btree::open(), Xapian::Unicode::tolower(), unpack_bool(), unpack_string(), unpack_string_preserving_sort(), unpack_uint(), unpack_uint_last(), and unpack_uint_preserving_sort().
Referenced by main().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 65 of file quartzcheck.cc.
References check_table(), doclens, error(), Xapian::Error::get_description(), Xapian::Database::get_lastdocid(), Xapian::Quartz::open(), OPT_FULL_TREE, OPT_SHORT_TREE, OPT_SHOW_BITMAP, OPT_SHOW_STATS, opts, PACKAGE_STRING, PROG_DESC, PROG_NAME, show_usage(), and stat().
vector<Xapian::termcount> doclens [static] |