sulheru / php-sql-parser

Automatically exported from code.google.com/p/php-sql-parser
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Query Parsing spits a notice #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Parse the following query:
SELECT schema.`table`.c as b, sum(id + 5 * (5 + 5)) as p FROM schema.table 
WHERE a=1 GROUP BY c HAVING p > 10 ORDER BY p DESC
2. Notice thrown when parsing

What is the expected output? What do you see instead?
No notice should be thrown

What version of the product are you using? On what operating system?
ver. 2012-05-02 - Ubuntu Linux 12.04, PHP 5.3.10

Please provide any additional information below.

Original issue reported on code.google.com by akay...@gmail.com on 4 May 2012 at 9:40

GoogleCodeExporter commented 9 years ago
I have added a test for this issue and added some code to the 
concatColReferences() function. Check out the REV 262 from trunk.

Original comment by pho...@gmx.de on 7 May 2012 at 7:36