summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2004-05-21 20:30:44 +0000
committerTimm Friebe <thekid@php.net>2004-05-21 20:30:44 +0000
commitf17eff3a6cc8e0d969b587fc48bd9990c72df442 (patch)
treefb9951c0392b6cca1efe725ba64310b06b40b162
parente7e54fccac2664caf1de22f27054518ab4c72514 (diff)
downloadphp-git-f17eff3a6cc8e0d969b587fc48bd9990c72df442.tar.gz
- MFH: Fixed bug #28354
-rw-r--r--ext/sybase_ct/php_sybase_ct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index 8d7006b16e..6ef1aec3e8 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -1595,7 +1595,7 @@ PHP_FUNCTION(sybase_free_result)
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);