From: Dennis Schafroth Date: Wed, 28 Apr 2010 14:07:30 +0000 (+0200) Subject: Removed unlocking/lock of clients as in master. X-Git-Tag: v1.4.0~3^2~5 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=8dca41e227ef955baccff56add572b72d69f7b66;p=pazpar2-moved-to-github.git Removed unlocking/lock of clients as in master. --- 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;