blob: c67b743011af763dfea186eca9626b0faa5b8855 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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);
|