Subject | Re: NOT IN + sub-select + null value + inner join + index = bug ? |
---|---|
Author | olivier_lucaes |
Post date | 2005-02-18T22:07:52Z |
Ann,
Thank you for your answer. I feel more confortable right now
(thinking that i was right), while my SQL knowledge is really not
strong enough to discuss any reply from senior specialists like you,
Helen and other "ténors" of this support list.
Thank you to all of you !
:-)
Olivier
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
Thank you for your answer. I feel more confortable right now
(thinking that i was right), while my SQL knowledge is really not
strong enough to discuss any reply from senior specialists like you,
Helen and other "ténors" of this support list.
Thank you to all of you !
:-)
Olivier
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
> olivier_lucaes wrote:side. If
> >
> > Hello there,
> > I not sure if this is really a bug or a logic error from my
> > anybody could reproduce...index
> ...
> > [with index on TB3] returns :
> > 2
> > 3
> > 4
> >
> >
> > when no index is defined for TB3, the same select
> > returns :
> > 1
> > 2
> > 3
> > 4
> > 5
>
> Any query that returns different results when run with and without
> indexes is evidence of a bug. The problem appears to be fixed in
> Version 2. More precisely, when I run you definition scripts and
> queries I get different answers depending on the existence of
> IDX_TB3 with Firebird 1.03 and Firebird 1.52, but my version ofVulcan,
> based on a very early V2 gets the same answer with and without theindex.
>Vulcan
> So, my guess is 1) yes it is a bug. and 2) is fixed with the
> improvements in null handling in V2. The fix was not part of the
> effort ... almost nothing ... maybe nothing at all ... was done to
> indexes as part of Vulcan.
>
> Regards,
>
>
> Ann