From f96efcbf905c89092b8af7be132b495bbef44924 Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Mon, 18 Aug 2003 00:14:53 +0000 Subject: Nuke bogus BLOB ids # User-space BLOB id no longer contains transaction handle, so BLOB ids # now remain valid throughout multiple transactions. # Oh, and they look better too :-) --- ext/interbase/php_interbase.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'ext/interbase/php_interbase.h') diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h index 55039683b2..5d99e6b637 100644 --- a/ext/interbase/php_interbase.h +++ b/ext/interbase/php_interbase.h @@ -114,6 +114,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ibase) char *cfg_timeformat; char errmsg[MAX_ERRMSG]; long sql_code; + HashTable blob_table; ZEND_END_MODULE_GLOBALS(ibase) typedef struct { @@ -142,10 +143,10 @@ typedef struct { } ibase_array; typedef struct { - isc_tr_handle trans_handle; - isc_db_handle link; - ISC_QUAD bl_qd; + ibase_db_link *link; isc_blob_handle bl_handle; + ISC_QUAD bl_qd; + unsigned short type; } ibase_blob_handle; typedef struct { @@ -164,8 +165,8 @@ typedef struct { } ibase_query; typedef struct { - isc_db_handle link; /* db link for this result */ - isc_tr_handle trans; + ibase_db_link *link; + ibase_trans *trans; isc_stmt_handle stmt; int drop_stmt; XSQLDA *out_sqlda; -- cgit v1.2.1