epiphany icon indicating copy to clipboard operation
epiphany copied to clipboard

Set PDO ATTR_EMULATE_PREPARES to false.

Open KevBelisle opened this issue 11 years ago • 1 comments

This stops PDO from adding single quotes around integer values. See bug here: https://bugs.php.net/bug.php?id=44639

KevBelisle avatar Feb 16 '14 15:02 KevBelisle

Thanks for the PR. I'm not familiar with ATTR_EMULATE_PREPARES but it sounds like it might make sense to include it (optionally or by default - unsure which).

Here's a thread on the topic, http://stackoverflow.com/a/10455228/1318758

jmathai avatar Feb 16 '14 23:02 jmathai