note 86938 rejected from pdo.quote by vrana
| From: | vrana@php.net | Date: | Fri, 02 Oct 2009 09:51:56 +0000 |
| Subject: | note 86938 rejected from pdo.quote by vrana | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161217@lists.php.net to get a copy of this message | ||
Note Submitter: cyzzie at gmail dot com
----
also note: don't just "wildly" prepare statements, a prepared statement can never use
a query cache, so you either need an own caching layer like memcache, or you should use preparing
where necessary and not for security reasons, like on inserting a lot of data or doing complex /
long queries where the mysql query parser needs long to "prepare" the query before
actually passing it to the underlying enginge