PHP 4.0 Bug #5526 Updated: Openlink support bug in PHP4.
| From: | kalowsky@php.net | Date: | Thu, 14 Dec 2000 15:49: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-41378@lists.php.net to get a copy of this message | ||
ID: 5526
Updated by: kalowsky
Reported By: silen@silen.com
Status: Assigned
Bug Type: Compile Failure
Assigned To: zeev
Comments:
This was also a problem for the SOLID integration (mainly 2.3). I had corrected this in the
php_odbc.c awhile back for cases of #ifdefined (HAVE_SOLID).
All initial reports back from SolidEE2.3 users claim this works wonderfully.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-14 10:27:23] ahill@php.net
This bug is still active in the 14 Dec 2000 snap.
Also, NOTE - the file that needs to have:
SQLINTEGER len; changed to
SDWORD len;
is not php_odbc.h but php_odbc.c
Best regards,
Andrew
---------------------------------------------------------------------------
[2000-11-23 18:16:11] sniper@php.net
What's the situation with this bug ? Still valid? Zeev?
--Jani
---------------------------------------------------------------------------
[2000-09-15 04:05:33] ahill@php.net
This is confirmed as still existing in 4.0.2
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=5526