php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8357 SQLINTEGER undefined with OpenLink
Submitted: 2000-12-21 11:47 UTC Modified: 2001-05-11 21:17 UTC
From: manton at iensemble dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: Red Hat Linux 6.2
Private report: No CVE-ID: None
 [2000-12-21 11:47 UTC] manton at iensemble dot com
./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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-21 14:44 UTC] kalowsky@php.net
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-28 14:21 UTC] kalowsky@php.net
Duplicate of bug #5526
 [2001-05-11 21:17 UTC] sniper@php.net
fixed -> closed

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 05:01:29 2024 UTC