RE: [PEAR-DEV] MDB transactions in pgsql driver
| From: | Lukas Smith | Date: | Wed, 28 May 2003 20:12:12 +0000 |
| Subject: | RE: [PEAR-DEV] MDB transactions in pgsql driver | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-16795@lists.php.net to get a copy of this message | ||
> From: Jeroen Houben [mailto:jeroen@terena.nl]
> Sent: Wednesday, May 28, 2003 1:47 PM
> >So the errors you were receiving happend in this code fragment?
> >
> >
> Yes. in:
>
> $groups = $db->getAssoc('SELECT group_id, name FROM groups');
>
> To be exact.
>
> I was debugging and saw some weird results. The method FetchInto is
being
> called twice, once with a valid PG result resource, but the second
time it
> calls the method where $result is a string 'Coordinators' which is in
teh
> first row inside the groups table in the DB.
Do you have autofree on or off?
Regards,
Lukas