Bug #7922 Updated: Loss of Connection and crash on odbc_execute
| From: | kalowsky@php.net | Date: | Tue, 08 May 2001 01:37:25 +0000 |
| Subject: | Bug #7922 Updated: Loss of Connection and crash on odbc_execute | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54328@lists.php.net to get a copy of this message | ||
ID: 7922
Updated by: kalowsky
Reported By: kalowsky@php.net
Old-Status: Analyzed
Status: Closed
Bug Type: ODBC related
Operating system:
PHP Version: 4.0 Latest CVS (22/11/2000)
Assigned To:
Comments:
this looks like it was actually fixed.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-22 11:28:51] kalowsky@php.net
Further information:
When using a PHP v3.0.17 system and Apache, 1.3.9 this bug does not appear. When using a PHP
v3.0.17 and Apache 1.3.14 this bug appears.
This bug seems to be prevailent in all forms of PHP4.
The LONG VARCHAR works, the LONG VARBINARY also works (That is, it doesn't crash PHP, so I
guess it works). Just don't try to ask for data from the SYS_* tables. Very strange.
---------------------------------------------------------------------------
[2000-11-22 07:30:35] kalowsky@php.net
PHP latest CVS, built with-solid enabled.
the statement:
"SELECT * FROM SYS_TABLE"
put through odbc_prepare, and next to odbc_execute
will cause PHP to lose the database handle, and in
some cases crash the PHP (not yet locally
reproducable).
Apparently (notes from the Solid mailing list) the
SYS_TABLE has two columns of type 'LONG
WVARCHAR' which require being handled via a
passthrough mechanism (eg. BLOB).
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7922&edit=2