RE: [PEAR] [MDB] about test case framework
| From: | Lorenzo Alberton | Date: | Thu, 04 Dec 2003 23:56:57 +0000 |
| Subject: | RE: [PEAR] [MDB] about test case framework | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9304@lists.php.net to get a copy of this message | ||
On Wed, 3 Dec 2003 20:08:23 +0100, Lukas Smith wrote:
>> Ok, so I see the pgsql, ibase and mssql drivers does not support
>> the "replace" function. As this is emulated in common.php for
>> others databases except mysql, it is possible that this function
>> is not enough "generic" so that it does not work with these
>> databases?
>
> The generic implementation should work for all databases.
>
> I am not sure why its not enabled in ibase however.
> Lornenzo?
I tracked down the problem: while during replace(),
the connection is lost (and no, I don't know why),
so I added a check in _doQuery() and did a connect()
if it was the case.
I don't know if this breaks transaction mgmt, though...
Anyone using interbase/firebird, **please** test this
driver, on my PC I often get weird results (where "weird"
is an euphemism...).
replace() should work fine, now.
Best regards,
Lorenzo