PHP 4.0 Bug #6097 Updated: missing #defines SQLINTEGER and SQLUSMALLINT in Adabas D 10
| From: | derick@php.net | Date: | Mon, 30 Oct 2000 18:01:52 +0000 |
| Subject: | PHP 4.0 Bug #6097 Updated: missing #defines SQLINTEGER and SQLUSMALLINT in Adabas D 10 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36467@lists.php.net to get a copy of this message | ||
ID: 6097
Updated by: derick
Reported By: tobi@web-arts.de
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
Changed in CVS, could you try the latest cvs version, and see if it works for you?
Previous Comments:
---------------------------------------------------------------------------
[2000-08-10 23:58:07] tobi@web-arts.de
When I enable Adabas D support and compule php4.01pl2 with Adabas D 10, I get an error message in
php_odbc.c saying that SQLINTEGER and SQLUSMALLINT are not defined.
I fixed this by completing the Adabas D specific part of the php_odbc.h:
#elif defined(HAVE_ADABAS) /* Adabas D */
#define ODBC_TYPE "Adabas D"
#include <WINDOWS.H>
#include <sql.h>
#include <sqlext.h>
#define HAVE_SQL_EXTENDED_FETCH 1
#define SQL_SUCCEEDED(rc) (((rc)&(~1))==0)
#define SQLINTEGER ULONG
#define SQLUSMALLINT USHORT
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6097