sanjosh / 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

Feature request: parse values in VALUES (...) #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

INSERT INTO test (test2,test3) VALUES ('10','coucou')

What is the expected output?
...
  ["VALUES"]=>
  array(2) {
    [0]=>
    string(4) "'10'"
    [1]=>
    string(8) "'coucou'"
  }
...

What do you see instead?
...
  ["VALUES"]=>
  array(1) {
    [0]=>
    string(15) "('10','coucou')"
  }
...

What version of the product are you using? On what operating system?

trunk

Please provide any additional information below.

Original issue reported on code.google.com by anthon.p...@gmail.com on 1 Dec 2011 at 3:39

GoogleCodeExporter commented 8 years ago
Solved in current version on http://www.phosco.info/php-sql-parser_current.zip

Original comment by pho...@gmx.de on 2 Feb 2012 at 8:34

GoogleCodeExporter commented 8 years ago
Accepted code contribution.

Original comment by greenlion@gmail.com on 12 Mar 2012 at 10:03