PHP 4.0 Bug #8357: SQLINTEGER undefined with OpenLink
| From: | manton at iensemble dot com | Date: | Thu, 21 Dec 2000 16:47:33 +0000 |
| Subject: | PHP 4.0 Bug #8357: SQLINTEGER undefined with OpenLink | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42059@lists.php.net to get a copy of this message | ||
From: manton@iensemble.com
Operating system: Red Hat Linux 6.2
PHP version: 4.0.4
PHP Bug Type: Compile Failure
Bug description: SQLINTEGER undefined with OpenLink
./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.
--
Edit Bug report at: http://bugs.php.net/?id=8357&edit=1