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

Bug #17920 PATCH NEEDED - subselect parsing error
Submitted: 2010-10-01 00:19 UTC
From: mayo2000 Assigned:
Status: Open Package: SQL_Parser (version 0.5)
PHP Version: 5.2.12 OS: CentOS
Roadmaps: (Not assigned)    
Subscription  


 [2010-10-01 00:19 UTC] mayo2000 (Marian Hello)
Description: ------------ parser cannot handle subselect: SELECT COUNT(*) FROM (SELECT * FROM DATACFI) t Test script: --------------- $sql = 'SELECT COUNT(*) FROM (SELECT * FROM DATACFI) t'; $parser = new SQL_Parser(); echo $parser->parse($sql); Expected result: ---------------- number of rows Actual result: -------------- Parse error: Unexpected clause: on line 1 SELECT COUNT(*) FROM (SELECT * FROM DATACFI) t ^ found: "("

Comments

 [2011-02-14 10:24 UTC] alan_k (Alan Knowles)
-Summary: subselect parsing error +Summary: PATCH NEEDED - subselect parsing error