#include <config.h>#include "flint_database.h"#include <xapian/error.h>#include <xapian/valueiterator.h>#include "contiguousalldocspostlist.h"#include "flint_alldocspostlist.h"#include "flint_alltermslist.h"#include "flint_document.h"#include "../flint_lock.h"#include "flint_metadata.h"#include "flint_modifiedpostlist.h"#include "flint_positionlist.h"#include "flint_postlist.h"#include "flint_record.h"#include "flint_replicate_internal.h"#include "flint_spellingwordslist.h"#include "flint_termlist.h"#include "flint_utils.h"#include "flint_values.h"#include "debuglog.h"#include "io_utils.h"#include "remoteconnection.h"#include "replicate_utils.h"#include "replication.h"#include "replicationprotocol.h"#include "serialise.h"#include "str.h"#include "stringutils.h"#include "utils.h"#include "safeerrno.h"#include "safesysstat.h"#include <sys/types.h>#include "autoptr.h"#include <cstdio>#include <list>#include <string>

Go to the source code of this file.
Defines | |
| #define | MAX_SAFE_TERM_LENGTH 245 |
Functions | |
| static const string | METAINFO_KEY (1, '\0') |
Variables | |
| const int | MAX_OPEN_RETRIES = 100 |
| Maximum number of times to try opening the tables to get them at a consistent revision. | |
| #define MAX_SAFE_TERM_LENGTH 245 |
Definition at line 83 of file flint_database.cc.
| static const string METAINFO_KEY | ( | 1 | , | |
| '\0' | ||||
| ) | [static] |
Referenced by FlintWritableDatabase::flush_postlist_changes(), and FlintDatabase::read_metainfo().
| const int MAX_OPEN_RETRIES = 100 |
Maximum number of times to try opening the tables to get them at a consistent revision.
This is mostly just to avoid any chance of an infinite loop - normally we'll either get then on the first or second try.
Definition at line 95 of file flint_database.cc.