xapian-core  1.4.21
Classes | Functions
glass_dbcheck.cc File Reference

Check consistency of a glass table. More...

#include <config.h>
#include "glass_dbcheck.h"
#include "bitstream.h"
#include "internaltypes.h"
#include "glass_check.h"
#include "glass_cursor.h"
#include "glass_defs.h"
#include "glass_table.h"
#include "glass_version.h"
#include "pack.h"
#include "backends/valuestats.h"
#include <xapian.h>
#include "filetests.h"
#include "autoptr.h"
#include <ostream>
#include <vector>
+ Include dependency graph for glass_dbcheck.cc:

Go to the source code of this file.

Classes

struct  VStats
 

Functions

static bool is_user_metadata_key (const string &key)
 
size_t check_glass_table (const char *tablename, const string &db_dir, int fd, off_t offset_, const GlassVersion &version_file, int opts, vector< Xapian::termcount > &doclens, ostream *out)
 

Detailed Description

Check consistency of a glass table.

Definition in file glass_dbcheck.cc.

Function Documentation

◆ check_glass_table()

size_t check_glass_table ( const char *  tablename,
const string &  db_dir,
int  fd,
off_t  offset_,
const GlassVersion version_file,
int  opts,
vector< Xapian::termcount > &  doclens,
ostream *  out 
)

◆ is_user_metadata_key()

static bool is_user_metadata_key ( const string &  key)
inlinestatic

Definition at line 49 of file glass_dbcheck.cc.

Referenced by check_glass_table().