Re: [PHP-DEV] Errata. From: Shane Caraveo (shane <email protected>)
Date: 12/10/98

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 <email protected>
For help: php-dev-help <email protected>