Re: Errata.
| From: | Steve Williams | Date: | Thu, 10 Dec 1998 15:06:22 +0000 |
| Subject: | Re: Errata. | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2745@lists.php.net to get a copy of this message | ||
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)
Steve
>
> I just looked at your earlier post. To quickly figure out what's going on,
> I recommend you first try using the 3.0.6 CVS with the old 3.0.5 ODBC
> files, to verify that the problem indeed has something to do with the ODBC
> driver, and not some language related bug that was somehow introduced. If
> you find that the bug is indeed in the ODBC driver, you can look at the
> various updates since 3.0.5 at
> http://ca.php.net/cvsweb.cgi/functions/unified_odbc.c
> and
> http://ca.php.net/cvsweb.cgi/functions/php3_unified_odbc.h
>
> (and any other files you may want to check).
>
> Zeev
> --
> Zeev Suraski <zeev@php.net>
> For a PGP public key, finger bourbon@netvision.net.il
>
> --
> 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
--
Steve Williams Interactive Media & Tools Group
Empress Software Inc. http://www.empress.com
--
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