From 948466207c45deb782e066f46227f0e57305458f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 17 Jun 2003 13:53:27 +0000 Subject: [PATCH] Forgot to invalidate result sets when changing from ro to rw --- index/zebraapi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index/zebraapi.c b/index/zebraapi.c index 62909ad..ff1d277 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.103 2003-05-22 16:16:22 heikki Exp $ +/* $Id: zebraapi.c,v 1.104 2003-06-17 13:53:27 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps @@ -1198,8 +1198,10 @@ int zebra_begin_trans (ZebraHandle zh, int rw) return -1; } if (zh->reg) + { + resultSetInvalidate (zh); zebra_register_close (zh->service, zh->reg); - + } zh->trans_w_no = zh->trans_no; zh->errCode=0; -- 1.7.10.4