Re: Change Request: Make PDO default to not emulate prepared statements for MySQL
| From: | Stas Malyshev | Date: | Sat, 30 Apr 2011 17:36:05 +0000 |
| Subject: | Re: Change Request: Make PDO default to not emulate prepared statements for MySQL | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52107@lists.php.net to get a copy of this message | ||
Hi!
Do 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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227