Re: [Patch] DB_common dealing with prepared statements
| From: | Daniel Convissor | Date: | Sun, 21 Dec 2003 05:17:46 +0000 |
| Subject: | Re: [Patch] DB_common dealing with prepared statements | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24589@lists.php.net to get a copy of this message | ||
On Sat, Dec 20, 2003 at 07:13:32PM -0800, Michael Moen wrote:
> I noticed that there wasn't any checking taking place during prepare(),
> this patch checks the previously prepared statements (if any) and does
> not bother to prepare a duplicate statement by checking
> prepared_queries for the current query being prepared.
Sending the correct statements is really up to the user's application.
By the way, your patch wasn't attached.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409