Re: prepared statement

From: Date: Thu, 26 Jun 2008 00:57:17 +0000
Subject: Re: prepared statement
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-275967@lists.php.net to get a copy of this message
I mean for each different requests/connection how can i use same prepared statements object that was generated by PDO lib/mysql Server. is Mysql server cache prepared statement plan? for example: client one connect to our site, and send a prepared statement to our mysql DB, now the DB will compile that prepared statement and save it somewhere in Server. now client two connect to our site and send same prepared statement except has a different ID to our DB, does PHP pdo / mysql server will re use that compiled prepared statement or the php PDO/mysql server will re compile prepared statement for client 2? regards -- View this message in context: http://www.nabble.com/prepared-statement-tp18123270p18124675.html Sent from the PHP - General mailing list archive at Nabble.com.

« previous php.general (#275967) next »