What broke? The "From" header now has php-cvs instead of the actual
user committing the patch.
On Thu, 12 Jun 2003, Andrey Hristov wrote:
> andrey Thu Jun 12 06:03:40 2003 EDT
>
> Modified files: (Branch: PHP_4_3)
> /php4/ext/mssql php_mssql.c
> Log:
> proto fixes
>
> Index: php4/ext/mssql/php_mssql.c
> diff -u php4/ext/mssql/php_mssql.c:1.86.2.18 php4/ext/mssql/php_mssql.c:1.86.2.19
> --- php4/ext/mssql/php_mssql.c:1.86.2.18 Tue May 20 20:06:41 2003
> +++ php4/ext/mssql/php_mssql.c Thu Jun 12 06:03:39 2003
> @@ -16,7 +16,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: php_mssql.c,v 1.86.2.18 2003/05/21 00:06:41 fmk Exp $ */
> +/* $Id: php_mssql.c,v 1.86.2.19 2003/06/12 10:03:39 andrey Exp $ */
>
> #ifdef COMPILE_DL_MSSQL
> #define HAVE_MSSQL 1
> @@ -683,7 +683,7 @@
>
> /* }}} */
>
> -/* {{{ proto int mssql_close([int connectionid])
> +/* {{{ proto bool mssql_close([resource conn_id])
> Closes a connection to a MS-SQL server */
> PHP_FUNCTION(mssql_close)
> {
> @@ -718,7 +718,7 @@
>
> /* }}} */
>
> -/* {{{ proto bool mssql_select_db(string database_name [, int conn_id])
> +/* {{{ proto bool mssql_select_db(string database_name [, resource conn_id])
> Select a MS-SQL database */
> PHP_FUNCTION(mssql_select_db)
> {
> @@ -1078,7 +1078,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_query(string query [, int conn_id [, int batch_size]])
> +/* {{{ proto resource mssql_query(string query [, resource conn_id [, int
> batch_size]])
> Perform an SQL query on a MS-SQL server database */
> PHP_FUNCTION(mssql_query)
> {
> @@ -1165,7 +1165,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_rows_affected(int conn_id)
> +/* {{{ proto int mssql_rows_affected(resource conn_id)
> Returns the number of records affected by the query */
> PHP_FUNCTION(mssql_rows_affected)
> {
> @@ -1182,7 +1182,7 @@
> /* }}} */
>
>
> -/* {{{ proto int mssql_free_result(resource result_index)
> +/* {{{ proto bool mssql_free_result(resource result_index)
> Free a MS-SQL result index */
> PHP_FUNCTION(mssql_free_result)
> {
> @@ -1224,7 +1224,7 @@
>
> /* }}} */
>
> -/* {{{ proto int mssql_num_rows(int mssql_result_index)
> +/* {{{ proto int mssql_num_rows(resource mssql_result_index)
> Returns the number of rows fetched in from the result id specified */
> PHP_FUNCTION(mssql_num_rows)
> {
> @@ -1243,7 +1243,7 @@
>
> /* }}} */
>
> -/* {{{ proto int mssql_num_fields(int mssql_result_index)
> +/* {{{ proto int mssql_num_fields(resource mssql_result_index)
> Returns the number of fields fetched in from the result id specified */
> PHP_FUNCTION(mssql_num_fields)
> {
> @@ -1357,7 +1357,7 @@
> result->cur_row++;
> }
>
> -/* {{{ proto array mssql_fetch_row(int result_id [, int result_type])
> +/* {{{ proto array mssql_fetch_row(resource result_id [, int result_type])
> Returns an array of the current row in the result set specified by result_id */
> PHP_FUNCTION(mssql_fetch_row)
> {
> @@ -1366,7 +1366,7 @@
>
> /* }}} */
>
> -/* {{{ proto object mssql_fetch_object(int result_id [, int result_type])
> +/* {{{ proto object mssql_fetch_object(resource result_id [, int result_type])
> Returns a psuedo-object of the current row in the result set specified by
> result_id */
> PHP_FUNCTION(mssql_fetch_object)
> {
> @@ -1378,7 +1378,7 @@
>
> /* }}} */
>
> -/* {{{ proto array mssql_fetch_array(int result_id [, int result_type])
> +/* {{{ proto array mssql_fetch_array(resource result_id [, int result_type])
> Returns an associative array of the current row in the result set specified by
> result_id */
> PHP_FUNCTION(mssql_fetch_array)
> {
> @@ -1387,7 +1387,7 @@
>
> /* }}} */
>
> -/* {{{ proto array mssql_fetch_assoc(int result_id [, int result_type])
> +/* {{{ proto array mssql_fetch_assoc(resource result_id [, int result_type])
> Returns an associative array of the current row in the result set specified by
> result_id */
> PHP_FUNCTION(mssql_fetch_assoc)
> {
> @@ -1396,7 +1396,7 @@
>
> /* }}} */
>
> -/* {{{ proto int mssql_data_seek(int result_id, int offset)
> +/* {{{ proto bool mssql_data_seek(resource result_id, int offset)
> Moves the internal row pointer of the MS-SQL result associated with the
> specified result identifier to pointer to the specified row number */
> PHP_FUNCTION(mssql_data_seek)
> {
> @@ -1472,7 +1472,7 @@
> }
> }
>
> -/* {{{ proto object mssql_fetch_field(int result_id [, int offset])
> +/* {{{ proto object mssql_fetch_field(resource result_id [, int offset])
> Gets information about certain fields in a query result */
> PHP_FUNCTION(mssql_fetch_field)
> {
> @@ -1525,7 +1525,7 @@
>
> /* }}} */
>
> -/* {{{ proto int mssql_field_length(int result_id [, int offset])
> +/* {{{ proto int mssql_field_length(resource result_id [, int offset])
> Get the length of a MS-SQL field */
> PHP_FUNCTION(mssql_field_length)
> {
> @@ -1572,7 +1572,7 @@
>
> /* }}} */
>
> -/* {{{ proto string mssql_field_name(int result_id [, int offset])
> +/* {{{ proto string mssql_field_name(resource result_id [, int offset])
> Returns the name of the field given by offset in the result set given by
> result_id */
> PHP_FUNCTION(mssql_field_name)
> {
> @@ -1620,7 +1620,7 @@
>
> /* }}} */
>
> -/* {{{ proto string mssql_field_type(int result_id [, int offset])
> +/* {{{ proto string mssql_field_type(resource result_id [, int offset])
> Returns the type of a field */
> PHP_FUNCTION(mssql_field_type)
> {
> @@ -1696,7 +1696,7 @@
>
> /* }}} */
>
> -/* {{{ proto string mssql_result(int result_id, int row, mixed field)
> +/* {{{ proto string mssql_result(resource result_id, int row, mixed field)
> Returns the contents of one cell from a MS-SQL result set */
> PHP_FUNCTION(mssql_result)
> {
> @@ -1747,7 +1747,7 @@
> }
> /* }}} */
>
> -/* {{{ proto bool mssql_next_result(int result_id)
> +/* {{{ proto bool mssql_next_result(resource result_id)
> Move the internal result pointer to the next result */
> PHP_FUNCTION(mssql_next_result)
> {
> @@ -1818,7 +1818,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_init(string sp_name [, int conn_id])
> +/* {{{ proto int mssql_init(string sp_name [, resource conn_id])
> Initializes a stored procedure or a remote stored procedure */
> PHP_FUNCTION(mssql_init)
> {
> @@ -1875,7 +1875,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_bind(int stmt, string param_name, mixed var, int type
> +/* {{{ proto bool mssql_bind(resource stmt, string param_name, mixed var, int type
> [, int is_output[, int is_null[, int maxlen]]])
> Adds a parameter to a stored procedure or a remote stored procedure */
> PHP_FUNCTION(mssql_bind)
> @@ -2033,7 +2033,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_execute(int stmt [, bool skip_results = false])
> +/* {{{ proto mixed mssql_execute(resource stmt [, bool skip_results = false])
> Executes a stored procedure on a MS-SQL server database */
> PHP_FUNCTION(mssql_execute)
> {
> @@ -2122,7 +2122,7 @@
> }
> /* }}} */
>
> -/* {{{ proto int mssql_free_statement(resource result_index)
> +/* {{{ proto bool mssql_free_statement(resource result_index)
> Free a MS-SQL statement index */
> PHP_FUNCTION(mssql_free_statement)
> {
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-Andrei
"What's a polar bear?"
"A rectangular bear after a coordinate transform."
-- Bill White ([EMAIL PROTECTED])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php