Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.3

Bug #9963 Quoting problem with COUNT(*)
Submitted: 2007-01-29 10:14 UTC
From: lukas dot ruetz at gmx dot at Assigned: quipo
Status: Closed Package: MDB_QueryTool (version 1.2.0)
PHP Version: 5.2.0 OS: SuSE Linux (2.6.18)
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-29 10:14 UTC] lukas dot ruetz at gmx dot at (Lukas Ruetz)
Description: ------------ The new version 1.2.0 quotes a COUNT(*) like SELECT "COUNT(*") FROM .. Test script: --------------- $qt->setSelect( 'COUNT(*)' ); $qt->getAll(); Actual result: -------------- MDB_QueryTool::_doQuery: [Error message: Could not execute statement] [Last executed query: SELECT "COUNT(*") FROM mytable ] [Native message: FEHLER: Error »Syntaxerror« at »)« char 17] (2262)

Comments

 [2007-01-29 12:37 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.