Re: Change Request: Make PDO default to not emulate prepared statements for MySQL
| From: | Ferenc Kovacs | Date: | Sat, 30 Apr 2011 18:10:49 +0000 |
| Subject: | Re: Change Request: Make PDO default to not emulate prepared statements for MySQL | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52109@lists.php.net to get a copy of this message | ||
On Sat, Apr 30, 2011 at 7:53 PM, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> On 04/30/2011 10:36 AM, Stas Malyshev wrote:
>
>> 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, but
>>>
>>
>> Since 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.
>>
>
> People upgrade their databases even slower than they upgrade their PHP.
>
> -R
>
>
>
with 5.0 EOL-ed for some time, and even the debian stable is running 5.1, I
wonder how many of our user runs 5.0.
Tyrael