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

Bug #11679 Wrong parsed select statement.
Submitted: 2007-07-24 14:14 UTC
From: mrsol Assigned: cybot
Status: Closed Package: SQL_Parser (version CVS)
PHP Version: 5.2.1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-07-24 14:14 UTC] mrsol (Oleg Savostin)
Description: ------------ sql_query = select tab.row_one as row_show from `tables` as tab return data Array ( [command] => select [column_tables] => Array ( [0] => tab ) [column_names] => Array ( [0] => row_one [1] => as [2] => row_show ) [column_aliases] => Array ( [0] => [1] => [2] => ) [column_values] => Array ( [0] => as ) [table_names] => Array ( [0] => tables ) [table_aliases] => Array ( [0] => tab ) [table_join_clause] => Array ( [0] => ) ) And should be. Array ( [command] => select [column_tables] => Array ( [0] => tab ) [column_names] => Array ( [0] => row_one ) [column_aliases] => Array ( [0] => row_show ) [table_names] => Array ( [0] => tables ) [table_aliases] => Array ( [0] => tab ) [table_join_clause] => Array ( [0] => ) )

Comments

 [2008-07-24 14:52 UTC] cybot (Sebastian Mendel)
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.