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:
1483096
)
sort: only skip "identical" records from same target
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 12 Oct 2011 11:15:47 +0000
(13:15 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 12 Oct 2011 11:15:47 +0000
(13:15 +0200)
src/reclists.c
patch
|
blob
|
history
diff --git
a/src/reclists.c
b/src/reclists.c
index
d063c17
..
6ac71cd
100644
(file)
--- a/
src/reclists.c
+++ b/
src/reclists.c
@@
-318,7
+318,8
@@
struct record_cluster *reclist_insert(struct reclist *l,
for (; re; re = re->next)
{
- if (record_compare(record, re, service))
+ if (re->client == record->client &&
+ record_compare(record, re, service))
{
yaz_mutex_leave(l->mutex);
return 0;