X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-cache.cpp;h=b0729a4a84b16de855aa5da324b898a00289d2af;hb=d3d51bee2100324025f7530d4e3ff3502397fd83;hp=975aee9fad8c186e022ea5244a33f97cda1db570;hpb=5554ddf9c4d9670aaaa8f8b9ce6def1dadff3c96;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-cache.cpp b/src/yaz-z-cache.cpp index 975aee9..b0729a4 100644 --- a/src/yaz-z-cache.cpp +++ b/src/yaz-z-cache.cpp @@ -1,8 +1,8 @@ /* - * Copyright (c) 2002-2003, Index Data. + * Copyright (c) 2002-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-z-cache.cpp,v 1.7 2003-10-10 17:58:30 adam Exp $ + * $Id: yaz-z-cache.cpp,v 1.8 2004-01-24 21:32:31 adam Exp $ */ #include @@ -87,10 +87,7 @@ void Yaz_RecordCache::add (ODR o, Z_NamePlusRecordList *npr, int start, int hits) { if (nmem_total(m_mem) > m_max_size) - { - yaz_log(LOG_LOG, "cache size"); return; - } // Build appropriate compspec for this response Z_RecordComposition *comp = 0; if (hits == -1 && m_presentRequest)