projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ec32a1
)
Only warn about empty records within file verbose limit
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 4 Oct 2004 09:27:48 +0000
(09:27 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 4 Oct 2004 09:27:48 +0000
(09:27 +0000)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
86653fd
..
8b4ae22
100644
(file)
--- a/
index/extract.c
+++ b/
index/extract.c
@@
-1,4
+1,4
@@
-/* $Id: extract.c,v 1.164 2004-10-01 14:50:22 heikki Exp $
+/* $Id: extract.c,v 1.165 2004-10-04 09:27:48 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-494,8
+494,9
@@
static int file_extract_record(ZebraHandle zh,
if (!zh->m_flag_rw)
return 1;
if (!zh->m_flag_rw)
return 1;
- logf (LOG_WARN, "empty %s %s " PRINTF_OFF_T, zh->m_record_type,
- fname, recordOffset);
+ if (zh->records_processed < zh->m_file_verbose_limit)
+ logf (LOG_WARN, "empty %s %s " PRINTF_OFF_T, zh->m_record_type,
+ fname, recordOffset);
return 1;
}
}
return 1;
}
}