Re: [PATCH - PR] Disable ATTR_EMULATE_PREPARES by default for PDO_Mysql

From: Date: Thu, 28 Jun 2012 03:50:02 +0000
Subject: Re: [PATCH - PR] Disable ATTR_EMULATE_PREPARES by default for PDO_Mysql
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 06/27/2012 08:45 PM, Yasuo Ohgaki wrote:
> Hi,
> 
> I forgot to mention MySQL's query cache.
> This change may have negative performance impact, since prepared
> query is not cached and native prepared query may not be used by
> other requests.

That's not really true anymore. There are some limitations, yes, but in
general prepared statements are cached since MySQL version 5.1.21

-Rasmus


Thread (40 messages)

« previous php.internals (#61015) next »