X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=bfile%2Fcommit.c;h=9fda156de0263a9b184b9bb435bde9fb30070108;hp=a4dacda1ef102bbd63535360e5bd2f925d58a2f7;hb=3946190aece0417a4ad4e40946dfcb9f1bca4755;hpb=e57a1c65b9630e5b93d254519090bd0875c1d3c9 diff --git a/bfile/commit.c b/bfile/commit.c index a4dacda..9fda156 100644 --- a/bfile/commit.c +++ b/bfile/commit.c @@ -1,4 +1,4 @@ -/* $Id: commit.c,v 1.28 2006-08-14 10:40:05 adam Exp $ +/* $Id: commit.c,v 1.29 2006-10-09 22:10:00 adam Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -31,20 +31,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define CF_OPTIMIZE_COMMIT 0 -void cf_unlink(CFile cf) -{ - if (cf->bucket_in_memory) - { - yaz_log (YLOG_FATAL, "Cannot unlink potential dirty cache"); - exit (1); - } - cf->head.state = 0; - cf->dirty = 1; - mf_unlink (cf->block_mf); - mf_unlink (cf->hash_mf); -} - - #if CF_OPTIMIZE_COMMIT struct map_cache_entity { int from;