Re: [bdbxml] indeces are not used in LET clauses of a FLWOR expression

George Kotopoulos <gkoto-taE2apzES20Cep0kKqy/[email protected]>
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
John Snelson <jsnelson@...> writes:

> 
> The problem here is that the $f1 variable is only read inside the 
> fn:count() function. It is a known deficiency of the query planner that 
> certain functions (especially ones which do not return nodes) inhibit 
> the use of indexes. This should behave better in the 2.2 release, 
> intended for Q3 this year.



Thx John this realy solved my problem :) 
George



------------------------------------------
To remove yourself from this list, send an
email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.