Prelimiary work on bug 2338.
[idzebra-moved-to-github.git] / index / records.c
index ad11f22..e52368f 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: records.c,v 1.4 2008-03-05 09:18:51 adam Exp $
-   Copyright (C) 1995-2008
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 1995-2008 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -209,6 +206,7 @@ static ZEBRA_RES rec_delete_single(Records p, Record rec)
     if (rec_release_blocks(p, rec_sysno_to_int(rec->sysno)) != ZEBRA_OK)
        return ZEBRA_FAIL;
 
+    yaz_log(YLOG_LOG, "rec_delete_single sysno=" ZINT_FORMAT, rec->sysno);
     entry.next = p->head.index_free;
     entry.size = 0;
     p->head.index_free = rec_sysno_to_int(rec->sysno);