summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-08-18 00:14:53 +0000
committerArd Biesheuvel <abies@php.net>2003-08-18 00:14:53 +0000
commitf96efcbf905c89092b8af7be132b495bbef44924 (patch)
treeb07926003d85ee79becebeaf604530e18ce7013b /ext/interbase/php_interbase.h
parent744dd20520aafa93fbca986403d900698cc2c57a (diff)
downloadphp-git-f96efcbf905c89092b8af7be132b495bbef44924.tar.gz
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 :-)
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h11
1 files changed, 6 insertions, 5 deletions
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;