From 68dd57242ac5fd7b76981a7b6df172f1fa27509c Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sat, 17 Jan 2009 16:40:35 +0000 Subject: [PATCH] fixing another BAD unsigned-long related bug, by re-defining the NULL and NULLSEEK value to 0, since an unsigned long cannot of course be -1! this will require you to kindly rebuild your index --- fp-includes/core/core.bplustree.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-includes/core/core.bplustree.class.php b/fp-includes/core/core.bplustree.class.php index 53d0a0b..895ab67 100755 --- a/fp-includes/core/core.bplustree.class.php +++ b/fp-includes/core/core.bplustree.class.php @@ -138,11 +138,11 @@ define('NOROOMERROR', -100); /** * @const int null node */ -define('BPT_NULL', -1); +define('BPT_NULL', 0); /** * @const int null seek position */ -define('BPT_NULLSEEK', -1); +define('BPT_NULLSEEK', 0); /** * @const string magic string for bplustree */