@ -219,7 +219,7 @@ public abstract class kelondroAbstractRecords implements kelondroRecords {
if(USAGE.FREEC==0){
if(USAGE.FREEC==0){
// generate new entry
// generate new entry
finalintindex=USAGE.allCount();
finalintindex=USAGE.allCount();
entryFile.write(seekpos(index)+overhead,chunk,0,ROW.objectsize);// occupy space, othervise the USAGE computaton does not work
entryFile.write(seekpos(index)+overhead,chunk,0,ROW.objectsize);// occupy space, otherwise the USAGE computation does not work
USAGE.USEDC++;
USAGE.USEDC++;
writeused(false);
writeused(false);
returnindex;
returnindex;
@ -230,13 +230,14 @@ public abstract class kelondroAbstractRecords implements kelondroRecords {
// take link
// take link
intindex=USAGE.FREEH.index;
intindex=USAGE.FREEH.index;
if(index==kelondroHandle.NUL){
if(index==kelondroHandle.NUL){
serverLog.logSevere("kelondroTray/" +filename,"INTERNAL ERROR (DATA INCONSISTENCY): re-use of records failed, lost "+(USAGE.FREEC+1)+" records.");
serverLog.logSevere("kelondroAbstractRecords/" +filename,"INTERNAL ERROR (DATA INCONSISTENCY): re-use of records failed, lost "+(USAGE.FREEC+1)+" records.");