summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-08-12 17:33:54 +0000
committerArd Biesheuvel <abies@php.net>2003-08-12 17:33:54 +0000
commitb58fa703b44c092b069d3c9efcd450968c605de0 (patch)
tree2ac1954b5cddc415f1f0474df4f3cac3f3c31322 /ext/interbase/php_interbase.h
parent5a30b61eba064d33c978e96b7f10d326732fc920 (diff)
downloadphp-git-b58fa703b44c092b069d3c9efcd450968c605de0.tar.gz
Allow prepared execution of any non-query statement except CREATE DB
(fixes bug #7014)
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index 0fe8e135b0..8439729816 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -112,7 +112,7 @@ ZEND_BEGIN_MODULE_GLOBALS(ibase)
ZEND_END_MODULE_GLOBALS(ibase)
typedef struct {
- isc_db_handle link;
+ isc_db_handle handle;
struct tr_list *tr_list;
unsigned short dialect;
} ibase_db_link;
@@ -144,8 +144,8 @@ typedef struct {
} ibase_blob_handle;
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 *in_sqlda, *out_sqlda;
@@ -153,10 +153,13 @@ typedef struct {
int in_array_cnt, out_array_cnt;
unsigned short dialect;
int cursor_open;
+ char statement_type;
+ char *query;
+ int trans_res_id;
} ibase_query;
typedef struct {
- isc_db_handle link; /* db link for this result */
+ isc_db_handle link;
isc_tr_handle trans;
isc_stmt_handle stmt;
int drop_stmt;