FindLinkedAsBitSet crashes with nil

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Mar 4 12:03:11 CST 2006


On 3/4/06 11:29 AM, "Kem Tekinay" <ktekinay at mactechnologies.com> wrote:

Hi Kem,

> I'll file a report later today, but I discovered that the following
> statement will crash my RB program without an exception.
> 
>  link.FindLinkedAsBitSet( nil, tbl1, tbl2 )
> 
> That should just return an empty set or nil. At the very least, it should
> throw an exception.

right
 
> BTW, I discovered this because field.FindContains is returning nil if the
> term is not found. I'm under the impression that it wasn't like this before
> 2.2, but perhaps I'm wrong.

Yes few weeks ago we have make sure that functions which return Set in case
of ZERO found records return always NULL but not empty set.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina-beta mailing list