[PHP-DEV] PHP 4.0 Bug #8357 Updated: SQLINTEGER undefined with OpenLink From: kalowsky <email protected>
Date: 12/28/00

ID: 8357
Updated by: kalowsky
Reported By: manton <email protected>
Old-Status: Open
Status: Duplicate
Bug Type: Compile Failure
Assigned To:
Comments:

Duplicate of bug #5526

Previous Comments:
---------------------------------------------------------------------------

[2000-12-21 14:44:50] kalowsky <email protected>
According to the user, SDWORD works as well. There currently are hooks in to allow this change (follow the #define SOLID series).

Currently awaiting a response from Openlink before commiting any change though... This message is mainly to document conversations between myself and the bug submitter.

---------------------------------------------------------------------------

[2000-12-21 11:47:33] manton <email protected>
./configure --with-openlink=/usr/local/openlink
make

php_odbc.c: In function `odbc_column_lengths':
php_odbc.c:622: `SQLINTEGER' undeclared (first use in this function)
php_odbc.c:622: (Each undeclared identifier is reported only once
php_odbc.c:622: for each function it appears in.)
php_odbc.c:622: parse error before `len'
php_odbc.c:651: `len' undeclared (first use in this function)

resolution:

change to SQLINTEGER to SQLSMALLINT in php_odbc.c

This is probably a better more compatible way of handling this fix, but that works for me. This problem has been around since at least PHP 4.0.2, but not PHP 3.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8357

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>