From: Adam Dickmeiss Date: Thu, 12 May 2005 10:03:24 +0000 (+0000) Subject: Fixed crash that could occur if ES update transaction failed. X-Git-Tag: ZEBRA.1.3.26~7 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=abb76dccc8fc15dea7213cfeb2351355b172a0fe;p=idzebra-moved-to-github.git Fixed crash that could occur if ES update transaction failed. --- diff --git a/NEWS b/NEWS index aabf39f..1ff6639 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ --- 1.3.26 2005/05/XX +Fixed crash that could occur if ES update transaction failed. + Configure enables the use the crypt API - if available. Fixed bug #304: Fuzzy search regExpr-2 did not use proper error distance diff --git a/index/zserver.c b/index/zserver.c index 0083e71..5a6f129 100644 --- a/index/zserver.c +++ b/index/zserver.c @@ -1,4 +1,4 @@ -/* $Id: zserver.c,v 1.117.2.3 2005-05-12 10:01:54 adam Exp $ +/* $Id: zserver.c,v 1.117.2.4 2005-05-12 10:03:24 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -536,7 +536,7 @@ int bend_esrequest (void *handle, bend_esrequest_rr *rr) return 0; } res = zebra_begin_trans (zh, 1); - if (res) + if (res) /* zebra_trans_failed ? */ zebra_result(zh, &rr->errcode, &rr->errstring); else {