PHP 4.0 Bug #5526 Updated: Openlink support bug in PHP4.
| From: | Bug Database | Date: | Fri, 15 Sep 2000 08:05:33 +0000 |
| Subject: | PHP 4.0 Bug #5526 Updated: Openlink support bug in PHP4. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33315@lists.php.net to get a copy of this message | ||
ID: 5526
Updated by: ahill
Reported By: silen@silen.com
Status: Analyzed
Bug Type: Compile Failure
Assigned To: zeev
Comments:
This is confirmed as still existing in 4.0.2
Previous Comments:
---------------------------------------------------------------------------
[2000-07-22 20:59:59] david@cvs.php.net
I would change this but Zeev changed the SDWORD to SQLINTEGER in 4.0.1... assigning this to him.
(I note that SQLINTEGER is neither defined nor used elsewhere).
---------------------------------------------------------------------------
[2000-07-12 06:00:13] silen@silen.com
./configure --with-openlink --with-mysql=/usr/local --enable-discard-path
--enable-force-cgi-redirect
Error:
php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:606: (Each undeclared identifier is reported only once
php_odbc.c:606: for each function it appears in.)
php_odbc.c:606: parse error before `len'
php_odbc.c:634: `len' undeclared (first use in this function)
make[3]: *** [php_odbc.lo] Error 1
606 line in ext/odbc/php_odbc.h
"SQLINTEGER len;" should be replaced by "SDWORD len;" (taken from php3's
functions/unified_odbc.c line)
after I changed that, PHP4 can be compiled smoothly.
I am 98% sure it is a bug.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5526