From 324391bc30e38bc2b1f9af949bada261e93df8d2 Mon Sep 17 00:00:00 2001 From: Andreas Karajannis Date: Wed, 23 Feb 2000 16:34:08 +0000 Subject: uodbc now uses zend's reference system. The crashes on request shutdown should be gone. --- ext/odbc/php_odbc.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ext/odbc/php_odbc.h') diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index facdedbdf3..57e37ba594 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -35,10 +35,10 @@ #if HAVE_UODBC -#ifndef MSVC5 +/*#ifndef MSVC5 #define FAR #endif - +*/ #ifdef ZTS #include "TSRM.h" #endif @@ -214,7 +214,8 @@ typedef struct odbc_connection { HENV henv; HDBC hdbc; #endif - int open; +/* int open;*/ + int id; int persistent; } odbc_connection; @@ -231,6 +232,7 @@ typedef struct odbc_result { #else HSTMT stmt; #endif + int id; odbc_result_value *values; SWORD numcols; SWORD numparams; -- cgit v1.2.1