A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL
BSD 3-Clause "New" or "Revised" License
601
stars
156
forks
source link
Valid query is parsed and re-created as invalid query (SQL function arguments stripped) #351
Open
carlomanf opened 2 years ago
The below code example attempts to parse a valid SQL query and re-create it.
$this->creator
and$this->parser
are instances of the creator and parser.Upon the query being re-created, the arguments of the
round
function are stripped, causing an SQL error.This is a similar issue to #348 but with a different query.
Tested with v4.4.0