Bug #7523 Correct written SQL-Statement causes an error
Submitted: 24 Dec 2004 8:04 Modified: 5 Jan 2005 23:04
Reporter: Jens Schanz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.4 OS:Linux (SuSE 9.2)
Assigned to: Alfredo Kojima CPU Architecture:Any

[24 Dec 2004 8:04] Jens Schanz
Description:
The following statement cause an error: 
 
explain  
select distinct company, retailStore  
from TaNBOreceiptHeader  
where date_format(createDate,'%Y-%m-%d') = '2004-12-23' 
 
 
1064 You have an error in your SQL syntax. Check the manual that corresponds to your 
MySQL server version for the right syntax near ') = xxxxxxxxxxxxx at line 4 

How to repeat:
Execute statement
[29 Dec 2004 1:41] MySQL Verification Team
Thank you for the bug report I was able to repeat on Slackware box.
The QB 1.1.4 on Windows no presents this issue.
[5 Jan 2005 23:04] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html