From 34c9397e52ad1492e2226ac838bff8e4a783f216 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 31 Aug 2006 08:35:48 +0000 Subject: [PATCH] Fixed bug #647: Scanning wrong indexes do not trigger scan error. --- index/zrpn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/zrpn.c b/index/zrpn.c index 34c6382..9483fe0 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $Id: zrpn.c,v 1.226 2006-08-14 10:40:15 adam Exp $ +/* $Id: zrpn.c,v 1.227 2006-08-31 08:35:48 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -2634,7 +2634,7 @@ ZEBRA_RES rpn_scan(ZebraHandle zh, ODR stream, Z_AttributesPlusTerm *zapt, if (ord_no == 0) { *num_entries = 0; - return ZEBRA_OK; + return ZEBRA_FAIL; } /* prepare dictionary scanning */ if (num < 1) -- 1.7.10.4