>Estimated cost and row for each call to xBestIndex (sqlite3_index_info is 
>filled with the below values for each call)
>
>a) When there is one non-usable constraint
>     idxNum = 0 estimatedCost = 1000.000000 estimatedRows = 1000
>
>b) when there is one usable constraint
>    idxNum = 1 estimatedCost = 1.000000 estimatedRows = 1
>
>xFilter is called with idxNum = 0 and argc = 0

If aConstraintUsage[0].omit = 1 then xFilter is called multiple times with 
idxNum = 1. If  aConstraintUsage[0].omit = 0 then xFilter is called with idxNum 
= 0 and argc = 0




Fiberlink Disclaimer: The information transmitted is intended only for the 
person or entity to which it is addressed and may contain confidential and/or 
privileged material.  Any review, retransmission, dissemination or other use 
of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited.  If you received this 
in error, please contact the sender and delete the material from any computer.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to