Re: Change Request: Make PDO default to not emulate prepared statements for MySQL
| From: | Rasmus Lerdorf | Date: | Sat, 30 Apr 2011 17:53:30 +0000 |
| Subject: | Re: Change Request: Make PDO default to not emulate prepared statements for MySQL | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52108@lists.php.net to get a copy of this message | ||
On 04/30/2011 10:36 AM, Stas Malyshev wrote:
Hi!People upgrade their databases even slower than they upgrade their PHP. -RDo you realize why we did this in the first place? The common versions of MySQL in use out there are not very clever when it comes to the native prepared statement handling. First, there is no prepared statement cache, so there is no benefit to doing them natively, butSince 5.1.17 there is: http://dev.mysql.com/doc/refman/5.1/en/query-cache-operation.html And 5.1.17 is 4 years old already.