ant,
Tuesday, September 10, 2002, 10:28:13 PM, you wrote:
aasdn> Apparently in 4.0.3 does not like if statements in it's
aasdn> SELECT query... A query that once worked now returns 0 when I use
aasdn> an IF, rather than the proper value
>How-To-Repeat:
aasdn> This is a simple example of how I am able to recreate...
aasdn> CREATE TEMPORARY TABLE temp SELECT IF(LENGTH('test'),'test','test') AS test;
aasdn> SELECT * FROM temp;
aasdn> This will yield 0, where it should be test...
Hi!
Yes, it's a known bug and was already fixed in 4.0.4
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php