IDZEBRA
2.2.7
|
#include <assert.h>
#include <stdlib.h>
#include <idzebra/util.h>
#include <yaz/xmalloc.h>
#include "mfile.h"
#include "cfile.h"
Go to the source code of this file.
Macros | |
#define | CF_OPTIMIZE_COMMIT 0 |
Functions | |
static int | cf_commit_hash (CFile cf) |
static int | cf_commit_flat (CFile cf) |
int | cf_commit (CFile cf) |
Variables | |
static int | log_level = 0 |
int cf_commit | ( | CFile | cf | ) |
Definition at line 257 of file commit.c.
References CFile_struct::bucket_in_memory, cf_commit_flat(), cf_commit_hash(), CFILE_STATE_FLAT, CFILE_STATE_HASH, CFile_struct::head, log_level, and CFile_head::state.
Referenced by bf_commitExec().
|
static |
Definition at line 187 of file commit.c.
References CFile_struct::block_mf, CFile_head::flat_bucket, HASH_BSIZE, CFile_struct::hash_mf, CFile_struct::head, CFile_struct::iobuf, log_level, mf_read(), mf_write(), CFile_head::next_bucket, CFile_struct::rmf, CFile_ph_bucket::vno, and ZINT_FORMAT.
Referenced by cf_commit().
|
static |
Definition at line 130 of file commit.c.
References CFile_struct::block_mf, CFile_head::first_bucket, HASH_BUCKET, CFile_struct::hash_mf, CFile_struct::head, CFile_struct::iobuf, mf_read(), mf_write(), CFile_head::next_bucket, CFile_ph_bucket::no, CFile_struct::rmf, and CFile_ph_bucket::vno.
Referenced by cf_commit().
|
static |
Definition at line 34 of file commit.c.
Referenced by cf_commit(), and cf_commit_flat().