From a17b23c8615d81523afa6d124d2f91e237f06605 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 29 Oct 1999 10:00:00 +0000 Subject: [PATCH] Fixed minor bug where database name wasn't set in zebra_record_fetch. --- index/retrieve.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index/retrieve.c b/index/retrieve.c index 00d1d9e..1600665 100644 --- a/index/retrieve.c +++ b/index/retrieve.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: retrieve.c,v $ - * Revision 1.10 1999-05-26 07:49:13 adam + * Revision 1.11 1999-10-29 10:00:00 adam + * Fixed minor bug where database name wasn't set in zebra_record_fetch. + * + * Revision 1.10 1999/05/26 07:49:13 adam * C++ compilation. * * Revision 1.9 1999/05/20 12:57:18 adam @@ -127,6 +130,7 @@ int zebra_record_fetch (ZebraHandle zh, int sysno, int score, ODR stream, if (!rec) { logf (LOG_DEBUG, "rec_get fail on sysno=%d", sysno); + *basenamep = 0; return 14; } recordAttr = rec_init_attr (zh->zei, rec); -- 1.7.10.4