2 messages in com.mysql.lists.bugsRe: CONVERT() broken in 4.1.1?
FromSent OnAttachments
Kevin Day16 Jan 2004 16:31 
Sinisa Milivojevic17 Jan 2004 11:26 
Subject:Re: CONVERT() broken in 4.1.1?
From:Sinisa Milivojevic (sin@mysql.com)
Date:01/17/2004 11:26:24 AM
List:com.mysql.lists.bugs

Kevin Day writes:

This worked in 4.0:

mysql> SELECT CONVERT(NOW(), DATE); +----------------------+ | CONVERT(NOW(), DATE) | +----------------------+ | 2004-01-16 18:12:18 | +----------------------+ 1 row in set (0.00 sec)

And even in 4.1.0, but in 4.1.1 it returns:

mysql> SELECT CONVERT(NOW(), DATE); ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

Thank you so much for your bug report.

It helped us fix a bug in 4.1.2.

This is actually a bug in bison (parser generator). We have found a workaround and will apply it in 4.1.2, which should be out in few weeks.

Thanks again.

--

Sincerely,

Want to swim with the dolphins? (April 14-16, 2004) http://www.mysql.com/uc2004/