summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2008-11-08 12:24:52 +0000
committerTimm Friebe <thekid@php.net>2008-11-08 12:24:52 +0000
commitb99923a4342135149b10ac03c6f523f763e8ca4e (patch)
tree11b07305804bd700150791e9f974257709064756
parent927804e2888d15d525270e6b6e071c255be385aa (diff)
downloadphp-git-b99923a4342135149b10ac03c6f523f763e8ca4e.tar.gz
- QA: Unified error messages in php_sybase_query()
-rw-r--r--ext/sybase_ct/php_sybase_ct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index c52252d894..d8104ad698 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -1431,12 +1431,12 @@ static void php_sybase_query (INTERNAL_FUNCTION_PARAMETERS, int buffered)
}
if (!store && !buffered) {
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "cannot use non-storing mode with buffered queries");
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase: Cannot use non-storing mode with buffered queries");
store = 1;
}
if (php_sybase_connection_id(sybase_link_index, &id TSRMLS_CC) == FAILURE) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: No connection to close");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: No connection");
RETURN_FALSE;
}
@@ -1451,7 +1451,7 @@ static void php_sybase_query (INTERNAL_FUNCTION_PARAMETERS, int buffered)
if (sybase_ptr->active_result_index) {
zval *tmp = NULL;
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "called without first fetching all rows from a previous unbuffered query");
+ php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Sybase: Called without first fetching all rows from a previous unbuffered query");
if (sybase_ptr->cmd) {
ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL);
}