again suppressing notices...

This commit is contained in:
real_nowhereman 2009-01-03 19:59:34 +00:00
parent 45aabd2427
commit aeadfd3a74

View File

@ -559,17 +559,17 @@ class BPlusTree_Node {
* returns clone of the obect at position $position * returns clone of the obect at position $position
* @param long $position seek position * @param long $position seek position
*/ */
function getclone($position) { function &getclone($position) {
if ($this->fifo) { if ($this->fifo) {
$dict = $this->fifo->fifo_dict; $dict =& $this->fifo->fifo_dict;
if (isset($dict[$position])) { if (isset($dict[$position])) {
return $dict[$position]; return $dict[$position];
} }
} }
return new BPlusTree_Node( $o =& new BPlusTree_Node(
$this->flag, $this->flag,
$this->size, $this->size,
$this->keylen, $this->keylen,
@ -577,6 +577,7 @@ class BPlusTree_Node {
$this->infile, $this->infile,
$this $this
); );
return $o;
} }
/** /**