IDZEBRA 2.2.11
merge.c File Reference
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <yaz/log.h>
#include "isamc-p.h"

Go to the source code of this file.

Data Structures

struct  isamc_merge_block

Functions

static void flush_blocks (ISAMC is, struct isamc_merge_block *mb, int ptr, char *r_buf, zint *firstpos, int cat, int last, zint *numkeys)
static int get_border (ISAMC is, struct isamc_merge_block *mb, zint ptr, int cat, zint firstpos)
void isamc_merge (ISAMC is, ISAM_P *ipos, ISAMC_I *data)

Function Documentation

◆ flush_blocks()

void flush_blocks ( ISAMC is,
struct isamc_merge_block * mb,
int ptr,
char * r_buf,
zint * firstpos,
int cat,
int last,
zint * numkeys )
static

◆ get_border()

int get_border ( ISAMC is,
struct isamc_merge_block * mb,
zint ptr,
int cat,
zint firstpos )
static

◆ isamc_merge()