X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fkinput.c;h=f98c0d557a45b275a8491b0606fe4919913ae0a6;hb=3168ab325caf86d3bac38c33f7d3b701d1110539;hp=9d4beaafe8d144e97c65efc7f7c9b017edc62fe9;hpb=ebcf2ad410ec9196eee698f021a1bfd6057bdc25;p=idzebra-moved-to-github.git diff --git a/index/kinput.c b/index/kinput.c index 9d4beaa..f98c0d5 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -1,4 +1,4 @@ -/* $Id: kinput.c,v 1.71 2006-03-30 09:52:15 adam Exp $ +/* $Id: kinput.c,v 1.73 2006-05-09 08:12:22 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -55,7 +55,7 @@ struct key_file { Res res; }; -#if 1 +#if 0 static void pkey(const char *b, int mode) { key_logdump_txt(YLOG_LOG, b, mode ? "i" : "d"); @@ -311,8 +311,6 @@ struct heap_info *key_heap_init_raw(ZebraHandle zh, void key_heap_destroy (struct heap_info *hi, int nkeys) { int i; - yaz_log (YLOG_DEBUG, "key_heap_destroy"); - yaz_log (YLOG_DEBUG, "key_heap_destroy nk=%d",nkeys); if (!hi->raw_reading) for (i = 0; i<=nkeys; i++) xfree (hi->info.buf[i]); @@ -386,8 +384,6 @@ static int heap_read_one_raw(struct heap_info *hi, char *name, char *key) return 0; --(zh->reg->ptr_i); cp=(zh->reg->key_buf)[zh->reg->ptr_top - ptr_i]; - yaz_log (YLOG_DEBUG, " raw: i=%ld top=%ld cp=%p", (long) ptr_i, - (long) zh->reg->ptr_top, cp); strcpy(name, cp); memcpy(key, cp+strlen(name)+1, KEY_SIZE); hi->no_iterations++; @@ -420,7 +416,7 @@ static int heap_read_one (struct heap_info *hi, char *name, char *key) #define PR_KEY_LOW 0 #define PR_KEY_TOP 0 -#if 1 +#if 0 /* for debugging only */ static void print_dict_item(ZebraHandle zh, const char *s) {