From f4c2e1ac103c66469b16b8b4b08c139a9c8f0fb6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Jun 2006 09:44:12 +0000 Subject: [PATCH] Fixed bad unlock in commit clean phase --- index/zebraapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 1.7.10.4