Skip to content

Commit f17eff3

Browse files
author
Timm Friebe
committed
- MFH: Fixed bug #28354
1 parent e7e54fc commit f17eff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sybase_ct/php_sybase_ct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ PHP_FUNCTION(sybase_free_result)
15951595
ZEND_FETCH_RESOURCE(result, sybase_result *, sybase_result_index, -1, "Sybase result", le_result);
15961596

15971597
/* Did we fetch up until the end? */
1598-
if (result->last_retcode != CS_END_DATA) {
1598+
if (result->last_retcode != CS_END_DATA && result->last_retcode != CS_END_RESULTS) {
15991599
/* php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Cancelling the rest of the results\n"); */
16001600
ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL);
16011601
php_sybase_finish_results(result);

0 commit comments

Comments
 (0)