summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-09-04 14:18:39 +0000
committerArd Biesheuvel <abies@php.net>2003-09-04 14:18:39 +0000
commitcb8da7b090768802480d7555dbec0095e2c9bc79 (patch)
tree99534c300abe413831e4a0b088641757948e8bb0 /ext/interbase/php_interbase.h
parent6f998688b527bc9eda5e3d3c0f221a0366764a26 (diff)
downloadphp-git-cb8da7b090768802480d7555dbec0095e2c9bc79.tar.gz
Fix inter-op with IB < 6
Fixes for 64-bit archs
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index b816ba1c82..6fc8f22896 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -64,7 +64,6 @@ PHP_FUNCTION(ibase_trans);
PHP_FUNCTION(ibase_commit);
PHP_FUNCTION(ibase_rollback);
PHP_FUNCTION(ibase_commit_ret);
-PHP_FUNCTION(ibase_rollback_ret);
PHP_FUNCTION(ibase_blob_create);
PHP_FUNCTION(ibase_blob_add);
@@ -79,6 +78,8 @@ PHP_FUNCTION(ibase_blob_import);
PHP_FUNCTION(ibase_add_user);
PHP_FUNCTION(ibase_modify_user);
PHP_FUNCTION(ibase_delete_user);
+
+PHP_FUNCTION(ibase_rollback_ret);
#endif
PHP_FUNCTION(ibase_errmsg);
PHP_FUNCTION(ibase_errcode);
@@ -120,7 +121,7 @@ typedef struct {
isc_tr_handle handle;
unsigned short link_cnt;
unsigned long affected_rows;
- ibase_db_link *db_link[1];
+ ibase_db_link *db_link[1]; /* last member */
} ibase_trans;
typedef struct tr_list {
@@ -147,7 +148,7 @@ typedef struct {
unsigned short type;
unsigned char has_more_rows, statement_type;
XSQLDA *out_sqlda;
- ibase_array *out_array;
+ ibase_array out_array[1]; /* last member */
} ibase_result;
typedef struct {