| List: | General Discussion | « Previous MessageNext Message » | |
| From: | misiaq | Date: | May 12 2011 1:15pm |
| Subject: | Re: Efficiency of NULLIFie expression | ||
| View as plain text | |||
hsv@stripped wrote: (...) > > Is the optimizer so clever as to set that test outside the expression, and only then > evaluate it when "houmuch" and "SharePrice" are not equal? > > Try it yourself: mysql > explain extended select * from table1; and then mysql > show warnings; You will see the optimized query. http://dev.mysql.com/doc/refman/5.0/en/explain.html Regards, m
| Thread | ||
|---|---|---|
| • Efficiency of NULLIFie expression | hsv | 12 May |
| • Re: Efficiency of NULLIFie expression | misiaq | 12 May |
| • Re: Efficiency of NULLIFie expression | hsv | 14 May |
| • Re: Efficiency of NULLIFie expression | misiaq | 14 May |
| • Re: Efficiency of NULLIFie expression | hsv | 15 May |
| • Re: Efficiency of NULLIFie expression | hsv | 17 May |
