FaaPz / PDO

Just another PDO database library
MIT License
316 stars 103 forks source link

v2.0 Performance Regression with Parameterized Conditionals #129

Closed kwhat closed 4 years ago

kwhat commented 4 years ago

When using a Conditional that has an escaped parameter in a Select statement with a Join class, the query is extremely slow. We need to improve what is escaped and what isn't.

kwhat commented 4 years ago

There is still some work to be done, but this should allow people to use the clauses in conditional values.

kwhat commented 4 years ago

The patch i put in to address this in 2.0.1 / 2.1-dev seems to have resolved the issue.