summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorAndreas Karajannis <kara@php.net>2000-02-23 16:34:08 +0000
committerAndreas Karajannis <kara@php.net>2000-02-23 16:34:08 +0000
commit324391bc30e38bc2b1f9af949bada261e93df8d2 (patch)
tree4ee58b6877cb43a6dd5d2a54ae34d43145bbcdb6 /ext/odbc/php_odbc.h
parent1970a527ff40e6f81668f7c6e59da51670d7dcb6 (diff)
downloadphp-git-324391bc30e38bc2b1f9af949bada261e93df8d2.tar.gz
uodbc now uses zend's reference system. The crashes on request shutdown should be gone.
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h8
1 files changed, 5 insertions, 3 deletions
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;