X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=index%2Frecindex.c;h=3bffe6b5f8b8741745e9d75a306a6acafcd25a2a;hb=53f42a6fe9676c59ec2de267551157c989400611;hp=e56c0dc385bc632ee463ccc0ac0fdc0f35f7b670;hpb=162fa86044b5aa303c03fa26f1ecf140b34060d5;p=idzebra-moved-to-github.git diff --git a/index/recindex.c b/index/recindex.c index e56c0dc..3bffe6b 100644 --- a/index/recindex.c +++ b/index/recindex.c @@ -4,7 +4,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recindex.c,v $ - * Revision 1.7 1995-11-28 09:09:43 adam + * Revision 1.8 1995-11-28 14:26:21 adam + * Bug fix: recordId with constant wasn't right. + * Bug fix: recordId dictionary entry wasn't deleted when needed. + * + * Revision 1.7 1995/11/28 09:09:43 adam * Zebra config renamed. * Use setting 'recordId' to identify record now. * Bug fix in recindex.c: rec_release_blocks was invokeded even @@ -261,7 +265,6 @@ static void rec_write_single (Records p, Record rec) else { memcpy (cptr, &block_free, sizeof(int)); - logf (LOG_LOG, "writing block %d (1)", block_prev); bf_write (p->data_BFile[dst_type], block_prev, 0, 0, cptr); cptr = p->tmp_buf + no_written; } @@ -272,7 +275,6 @@ static void rec_write_single (Records p, Record rec) assert (block_prev != -1); block_free = 0; memcpy (cptr, &block_free, sizeof(int)); - logf (LOG_LOG, "writing block %d (2) dst=%d", block_prev, dst_type); bf_write (p->data_BFile[dst_type], block_prev, 0, sizeof(int) + (p->tmp_buf+size) - cptr, cptr); }