Re: Errata.
| From: | Shane Caraveo | Date: | Thu, 10 Dec 1998 18:02:34 +0000 |
| Subject: | Re: Errata. | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2751@lists.php.net to get a copy of this message | ||
Shane Caraveo wrote:
>
> > >I did as you suggested; I replaced unified_odbc.c and
> > >php3_unified_odbc.h with the v3.0.5 versions, and it worked OK. So it
> > >seems to be something in the newer version.
> > >
> > >I have also found that it is caused by opening two odbc connections in
> > >the same page. Without this everything is OK.
>
> I had fixed this in the latest cvs, at least with windows odbc. There
> is some problem when odbc_close is used, it doesn't realy delete the
> connection from the hash table, but does disconnect from odbc. So when
> an identical connection is made again in the same page, it fails. I
> tried to fix this by checking the connection list itself, which with my
> tests, fixed this problem.
Oh, as another note, it only effects non-persistent connections.
> > >However I have noticed another item that you might want to check against
> > >another RDBMS. When odbc_longreadlen is set to a value less than the
> > >length of a text (LONGVARCHAR) field the retrieved part is printed
> > >twice.
>
> I've not run into this myself, and haven't touched this code so have no
> good input on it.
>
> Shane
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net