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

if(count($processed) == 1) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
if(count($processed) == 1) {
  ...
}

produces errors on some sql-statments.
i added:

if(is_array($processed)) {
  if(count($processed) == 1) {
    ...
  }
}

Original issue reported on code.google.com by ralph.mo...@gmail.com on 2 Mar 2011 at 1:28

GoogleCodeExporter commented 9 years ago
Can you provide an example of a SQL statement that produces the problem?

Original comment by greenlion@gmail.com on 21 Mar 2011 at 4:47

GoogleCodeExporter commented 9 years ago

Original comment by greenlion@gmail.com on 26 Apr 2011 at 8:11