diff options
author | Ard Biesheuvel <abies@php.net> | 2003-08-27 22:55:06 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2003-08-27 22:55:06 +0000 |
commit | 2db5c7de85e842092ec8b47608444d8d59445528 (patch) | |
tree | ab0f86cc3a5b623762fc003bdfd41ccec632799e /ext/interbase/php_interbase.h | |
parent | 43836e97c5133d99739b11036ef8aacfb058833b (diff) | |
download | php-git-2db5c7de85e842092ec8b47608444d8d59445528.tar.gz |
Do not reuse data structure for ibase_execute() results.
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r-- | ext/interbase/php_interbase.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h index 6cc80a307c..e36648101c 100644 --- a/ext/interbase/php_interbase.h +++ b/ext/interbase/php_interbase.h @@ -144,18 +144,17 @@ typedef struct { typedef struct { ibase_db_link *link; ibase_trans *trans; - struct _ibase_query *query; isc_stmt_handle stmt; + unsigned short type; XSQLDA *out_sqlda; ibase_array *out_array; unsigned char has_more_rows; char statement_type; } ibase_result; -typedef struct _ibase_query { +typedef struct { ibase_db_link *link; ibase_trans *trans; - ibase_result *result; int result_res_id; isc_stmt_handle stmt; XSQLDA *in_sqlda, *out_sqlda; |