diff options
author | Ard Biesheuvel <abies@php.net> | 2003-08-10 16:21:26 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2003-08-10 16:21:26 +0000 |
commit | 9510d999dc5e040cf79d7ff9ebfb44ff04de4568 (patch) | |
tree | d6d90b9c1bc5c7ba8df9ec8db373fef527ac1045 /ext/interbase/php_interbase.h | |
parent | 74fdac04fe32193c63ae79b2355e955c1df1366c (diff) | |
download | php-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.h | 6 |
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 { |