RE: [PEAR-CVS] cvs: pear /DB/DB common.php
| From: | Lukas Smith | Date: | Sun, 08 Jun 2003 09:39:08 +0000 |
| Subject: | RE: [PEAR-CVS] cvs: pear /DB/DB common.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-10763@lists.php.net to get a copy of this message | ||
> From: Tomas V.V.Cox [mailto:cox@idecnet.com]
> Sent: Saturday, June 07, 2003 9:48 PM
>
> This patch is not correct, sorry, one stmt can be executed many times.
As
> well, there are other implications with free's arround many methods. I
> have
> to think more on it, I'll continue tomorrow.
I hope I understood what you are trying to do there, but MDB has a
spezial method to free prepare queries.
MDB::freePreparedQuery();
All of those (imho wacky) methods that prepare a query and execute need
to especially call this method at the end because the user never gets an
ID to later free.
Regards,
Lukas