cvs: php4 /ext/mssql php_mssql.c
| From: | Frank M. Kromann | Date: | Fri, 10 Jan 2003 19:33:31 +0000 |
| Subject: | cvs: php4 /ext/mssql php_mssql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17793@lists.php.net to get a copy of this message | ||
fmk Fri Jan 10 14:33:31 2003 EDT
Modified files:
/php4/ext/mssql php_mssql.c
Log:
Fixing copy and paste errors
Index: php4/ext/mssql/php_mssql.c
diff -u php4/ext/mssql/php_mssql.c:1.97 php4/ext/mssql/php_mssql.c:1.98
--- php4/ext/mssql/php_mssql.c:1.97 Fri Jan 10 14:23:36 2003
+++ php4/ext/mssql/php_mssql.c Fri Jan 10 14:33:31 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mssql.c,v 1.97 2003/01/10 19:23:36 fmk Exp $ */
+/* $Id: php_mssql.c,v 1.98 2003/01/10 19:33:31 fmk Exp $ */
#ifdef COMPILE_DL_MSSQL
#define HAVE_MSSQL 1
@@ -2040,7 +2040,7 @@
WRONG_PARAM_COUNT;
}
if (ac == 2) {
- retval_results = Z_BVAL_PP(skip);
+ skip_results = Z_BVAL_PP(skip);
}
ZEND_FETCH_RESOURCE(statement, mssql_statement *, stmt, -1, "MS SQL-Statement",
le_statement);
@@ -2082,9 +2082,9 @@
result->num_rows = _mssql_fetch_batch(mssql_ptr, result, retvalue TSRMLS_CC);
result->statement = statement;
}
- if (retval_results) {
+ if (skip_results) {
do {
- retval_results = dbresults(statement->link->link);
+ retval_results = dbresults(mssql_ptr->link);
} while (retval_results == SUCCEED);
_mssql_get_sp_result(mssql_ptr, statement TSRMLS_CC);