thekid Fri May 21 16:29:38 2004 EDT Modified files: /php-src/ext/sybase_ct php_sybase_ct.c Log: - Fixed bug #28354 http://cvs.php.net/diff.php/php-src/ext/sybase_ct/php_sybase_ct.c?r1=1.95&r2=1.96&ty=u Index: php-src/ext/sybase_ct/php_sybase_ct.c diff -u php-src/ext/sybase_ct/php_sybase_ct.c:1.95 php-src/ext/sybase_ct/php_sybase_ct.c:1.96 --- php-src/ext/sybase_ct/php_sybase_ct.c:1.95 Tue May 18 06:53:53 2004 +++ php-src/ext/sybase_ct/php_sybase_ct.c Fri May 21 16:29:38 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_sybase_ct.c,v 1.95 2004/05/18 10:53:53 edink Exp $ */ +/* $Id: php_sybase_ct.c,v 1.96 2004/05/21 20:29:38 thekid Exp $ */ #ifdef HAVE_CONFIG_H @@ -1576,7 +1576,6 @@ php_sybase_query(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1); } - /* {{{ proto bool sybase_free_result(int result) Free result memory */ PHP_FUNCTION(sybase_free_result) @@ -1595,7 +1594,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