From: Wolfgang M. M. <wol...@us...> - 2004-08-09 11:43:18
|
Update of /cvsroot/exist/eXist-1.0/src/org/dbxml/core/filer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14425/src/org/dbxml/core/filer Modified Files: Paged.java Log Message: Removed an exensive check in unlinkPages, which slowed down document and collection removal. Index: Paged.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/dbxml/core/filer/Paged.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Paged.java 28 Jul 2004 18:55:05 -0000 1.25 --- Paged.java 9 Aug 2004 11:43:09 -0000 1.26 *************** *** 432,437 **** // if(getFile().getName().equals("words.dbx")) // LOG.debug("freeing page " + page.getPageNum()); ! if(isRemovedPage(page.getPageNum())) ! return; // Walk the chain and add it to the unused list page.header.setStatus(UNUSED); --- 432,437 ---- // if(getFile().getName().equals("words.dbx")) // LOG.debug("freeing page " + page.getPageNum()); ! // if(isRemovedPage(page.getPageNum())) ! // return; // Walk the chain and add it to the unused list page.header.setStatus(UNUSED); |