Re: [PHP-DEV] Errata. From: Zeev Suraski (bourbon <email protected>)
Date: 12/10/98

At 15:06 12-10-98 +0000, Steve Williams wrote:
>Zeev Suraski 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.
>
>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.
>
>eg
> A text field has content: "This is my string"
>
> and longreadlen is set to 4
>
> then you get ThisThis as the value....
>
>(Again this did NOT occur in v3.0.5)

Well, your next step would be trying to find the change that messed up -
look at http://ca.php.net/php/functions/FILENAME, FILENAME being the file
you want to check. Then apply each patch, starting with the 3.0.5 files,
and until it messes up...

Zeev

--
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>