thekid Fri May 21 16:30:44 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/sybase_ct php_sybase_ct.c Log: - MFH: Fixed bug #28354 http://cvs.php.net/diff.php/php-src/ext/sybase_ct/php_sybase_ct.c?r1=1.73.2.14&r2=1.73.2.15&ty=u Index: php-src/ext/sybase_ct/php_sybase_ct.c diff -u php-src/ext/sybase_ct/php_sybase_ct.c:1.73.2.14 php-src/ext/sybase_ct/php_sybase_ct.c:1.73.2.15 --- php-src/ext/sybase_ct/php_sybase_ct.c:1.73.2.14 Fri May 21 15:39:01 2004 +++ php-src/ext/sybase_ct/php_sybase_ct.c Fri May 21 16:30:44 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_ct.c,v 1.73.2.14 2004/05/21 19:39:01 thekid Exp $ */ +/* $Id: php_sybase_ct.c,v 1.73.2.15 2004/05/21 20:30:44 thekid Exp $ */ #ifdef HAVE_CONFIG_H @@ -1595,7 +1595,7 @@ ZEND_FETCH_RESOURCE(result, sybase_result *, sybase_result_index, -1, "Sybase result", le_result); /* Did we fetch up until the end? */ - if (result->last_retcode != CS_END_DATA) { + if (result->last_retcode != CS_END_DATA && result->last_retcode != CS_END_RESULTS) { /* php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Cancelling the rest of the results\n"); */ ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL); php_sybase_finish_results(result);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php