summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-04 11:09:46 +0000
committerArd Biesheuvel <abies@php.net>2003-09-04 11:09:46 +0000
commit6f998688b527bc9eda5e3d3c0f221a0366764a26 (patch)
treecb5bd83e572818c0e08c009c4273f74c8554a1be /ext/interbase/php_interbase.h
parentda7facc21bfaa99c92be50bfb2946827b1d86a9d (diff)
downloadphp-git-6f998688b527bc9eda5e3d3c0f221a0366764a26.tar.gz
Fixed fetching of arrays
# Untested for multidimensional arrays
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index 165855c46e..b816ba1c82 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -130,9 +130,8 @@ typedef struct tr_list {
typedef struct {
ISC_ARRAY_DESC ar_desc;
- int el_type, /* sqltype kinda SQL_TEXT, ...*/
- el_size; /* element size in bytes */
- ISC_LONG ar_size; /* all array size in bytes */
+ ISC_LONG ar_size; /* size of entire array in bytes */
+ unsigned short el_type, el_size;
} ibase_array;
typedef struct {
@@ -158,7 +157,6 @@ typedef struct {
isc_stmt_handle stmt;
XSQLDA *in_sqlda, *out_sqlda;
ibase_array *in_array, *out_array;
- int in_array_cnt, out_array_cnt;
unsigned short dialect;
char statement_type;
char *query;