From 7f1be056d02d78487e9589f44177d683dbfa9fee Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 17 Mar 2005 09:48:46 +0000 Subject: [PATCH] Do not warn about empty records --- index/extract.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index/extract.c b/index/extract.c index 1ec0f80..2f8e0fe 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.176 2005-03-17 08:31:28 adam Exp $ +/* $Id: extract.c,v 1.177 2005-03-17 09:48:46 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -945,15 +945,12 @@ int buffer_extract_record (ZebraHandle zh, } } } - if (! *sysno && zh->reg->keys.buf_used == 0) + if (zh->reg->keys.buf_used == 0) { - /* new record and it's empty .. we will skip it */ /* the extraction process returned no information - the record is probably empty - unless flagShowRecords is in use */ if (test_mode) return 1; - yaz_log (YLOG_WARN, "No keys generated for record."); - return 1; } if (! *sysno) -- 1.7.10.4