$NetBSD: patch-ek,v 1.1 2002/08/02 20:33:23 jdolecek Exp $ --- ../XmlSearch/src/com/sun/xmlsearch/db/FullVectorBtree.java.orig Fri Aug 2 21:52:23 2002 +++ ../XmlSearch/src/com/sun/xmlsearch/db/FullVectorBtree.java Fri Aug 2 22:10:22 2002 @@ -157,7 +157,7 @@ newbl._data[0] = (byte)0xFF; // count entries - assert(_free > 0 && _free <= _blockSize); + doassert(_free > 0 && _free <= _blockSize); for (count = i = 0; i < _free; count++, i += _vecLen+1-(_data[i]&0xFF)) ; half = (int)(count*SplitRatio + 1);