summaryrefslogtreecommitdiff
path: root/ext/interbase/php_interbase.h
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2003-08-10 16:21:26 +0000
committerArd Biesheuvel <abies@php.net>2003-08-10 16:21:26 +0000
commit9510d999dc5e040cf79d7ff9ebfb44ff04de4568 (patch)
treed6d90b9c1bc5c7ba8df9ec8db373fef527ac1045 /ext/interbase/php_interbase.h
parent74fdac04fe32193c63ae79b2355e955c1df1366c (diff)
downloadphp-git-9510d999dc5e040cf79d7ff9ebfb44ff04de4568.tar.gz
Added ibase_affected_rows() and ibase_num_rows()
Fix for ibase_fetch_*() error after exhaustion of result @- Added ibase_affected_row() (Ard) @- Added ibase_num_rows() (Ard)
Diffstat (limited to 'ext/interbase/php_interbase.h')
-rw-r--r--ext/interbase/php_interbase.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index c98d44aa13..c9649e0eb6 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -61,6 +61,8 @@ PHP_FUNCTION(ibase_timefmt);
#endif
PHP_FUNCTION(ibase_num_fields);
+PHP_FUNCTION(ibase_num_rows);
+PHP_FUNCTION(ibase_affected_rows);
PHP_FUNCTION(ibase_field_info);
PHP_FUNCTION(ibase_trans);
@@ -115,7 +117,8 @@ typedef struct {
typedef struct {
isc_tr_handle handle;
- int link_cnt;
+ unsigned short link_cnt;
+ unsigned long affected_rows;
ibase_db_link *db_link[1];
} ibase_trans;
@@ -157,6 +160,7 @@ typedef struct {
int drop_stmt;
XSQLDA *out_sqlda;
ibase_array *out_array;
+ unsigned char has_more_rows;
} ibase_result;
typedef struct _php_ibase_varchar {