summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.h
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2001-03-09 23:37:56 +0000
committerFrank M. Kromann <fmk@php.net>2001-03-09 23:37:56 +0000
commit4230bdd3ed6e6d86025a2af26ead33a814c65a2f (patch)
treefa2e23e21db95d40d757e7c26e18b5137eb4fa65 /ext/mssql/php_mssql.h
parent8d677828b9e1502addd2c02d76b5f87c495ec531 (diff)
downloadphp-git-4230bdd3ed6e6d86025a2af26ead33a814c65a2f.tar.gz
Adding a new function mssql_next_result() allowing the query to return more than one result.
This can be done with a stored procedure or by sending more than one select to the server.
Diffstat (limited to 'ext/mssql/php_mssql.h')
-rw-r--r--ext/mssql/php_mssql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h
index c9849af20d..16da48abe4 100644
--- a/ext/mssql/php_mssql.h
+++ b/ext/mssql/php_mssql.h
@@ -77,6 +77,7 @@ PHP_FUNCTION(mssql_field_type);
PHP_FUNCTION(mssql_data_seek);
PHP_FUNCTION(mssql_field_seek);
PHP_FUNCTION(mssql_result);
+PHP_FUNCTION(mssql_next_result);
PHP_FUNCTION(mssql_min_error_severity);
PHP_FUNCTION(mssql_min_message_severity);
@@ -116,6 +117,7 @@ typedef struct mssql_result {
mssql_link *mssql_ptr;
int batchsize;
int lastresult;
+ int blocks_initialized;
int cur_row,cur_field;
int num_rows,num_fields;
} mssql_result;