From 8dca41e227ef955baccff56add572b72d69f7b66 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 28 Apr 2010 16:07:30 +0200 Subject: [PATCH] Removed unlocking/lock of clients as in master. --- src/session.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/session.c b/src/session.c index ce5c635..61c26b7 100644 --- a/src/session.c +++ b/src/session.c @@ -1164,14 +1164,10 @@ int ingest_record(struct client *cl, const char *rec, xmlFreeDoc(xdoc); return -1; } - client_unlock(cl); session_enter(se); - client_lock(cl); if (client_get_session(cl) == se) ret = ingest_to_cluster(cl, xdoc, root, record_no, mergekey_norm); - client_unlock(cl); session_leave(se); - client_lock(cl); xmlFreeDoc(xdoc); return ret; -- 1.7.10.4