From: Adam Dickmeiss Date: Wed, 28 Jun 2006 09:44:12 +0000 (+0000) Subject: Fixed bad unlock in commit clean phase X-Git-Tag: ZEBRA.1.3.38~8 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=f4c2e1ac103c66469b16b8b4b08c139a9c8f0fb6;p=idzebra-moved-to-github.git Fixed bad unlock in commit clean phase --- diff --git a/index/zebraapi.c b/index/zebraapi.c index d3eb96a..4853b50 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.120.2.12 2006-04-04 00:06:46 adam Exp $ +/* $Id: zebraapi.c,v 1.120.2.13 2006-06-28 09:44:12 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -1747,7 +1747,7 @@ static int zebra_commit_ex (ZebraHandle zh, int clean_only) zebra_lock_w(zh->lock_shadow); bf_commitClean (bfs, rval); - zebra_unlock (zh->lock_normal); + zebra_unlock (zh->lock_shadow); } else {