Hello Evgeny,
thanks for the reply, ok to push.
Evgeny Potemkin a écrit, Le 29.07.2009 19:01:
> Hi Guilhem,
>
> Guilhem Bichot wrote:
>> Hello Evgeny,
>>
>> Evgeny Potemkin a écrit, Le 28.07.2009 13:37:
>>> #At file:///work/bzrroot/43600-bug-azalea/ based on
>>> revid:alik@stripped
>>>
>>> 2825 Evgeny Potemkin 2009-07-28
>>> Bug#43600: Incorrect type conversion caused wrong result.
>>> The index_cond_func_xxx function is used to evaluate
>>> pushed index condition or
>>> return an error if the tuple being checked is out of range.
>>> And there are two bugs in it:
>>> 1) The function result type is my_bool, but actually it can
>>> return 3
>>> values - TRUE/FALSE/OUT OF RANGE.
>>> 2) The type of the pushed condition evaluation is converted to
>>> my_bool, but
>>> since the evaluation result isn't checked it's possible to
>>> return values
>>> other that 0/1, thus falsely returning OUT OF RANGE.