projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61027e6
)
Removed unlocking/lock of clients as in master.
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 28 Apr 2010 14:07:30 +0000
(16:07 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 28 Apr 2010 14:07:30 +0000
(16:07 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
ce5c635
..
61c26b7
100644
(file)
--- 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;