Page 1 of 1

Query cache & prepared statements.

Posted: Tue Jul 07, 2009 7:06 am
by kaisellgren
Hello,

Does someone know whether query cache works now with prepared statements? I remember it was not working in earlier MySQL versions.

Re: Query cache & prepared statements.

Posted: Tue Jul 07, 2009 7:33 am
by jackpf
mysql.com wrote:Note

As of MySQL 5.1.17, the query cache is used for prepared statements under the conditions described in Section 7.5.5.1, “How the Query Cache Operates”. Before 5.1.17, the query cache is not used for prepared statements.

Re: Query cache & prepared statements.

Posted: Tue Jul 07, 2009 8:11 am
by kaisellgren
Thanks.