summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-21 20:35:43 +0000
committerZeev Suraski <zeev@php.net>1999-12-21 20:35:43 +0000
commite538fcbf10c6b15e064ab8dea9d205dc1ed458ea (patch)
tree024e4a09bae23fcd5a5e17d2dc584832cb6c9bb7 /ext/odbc/php_odbc.c
parentf0888ccaef222093c962eef72857e424f0fc5cb7 (diff)
downloadphp-git-e538fcbf10c6b15e064ab8dea9d205dc1ed458ea.tar.gz
@- Fixed a bug in ODBC error reporting (Zeev)
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs @ of the PHP and Zend logos used in phpinfo() (Zeev)
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 29fa4724a3..b5e3165a4e 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -465,7 +465,7 @@ void ODBC_SQL_ERROR(HENV henv, HDBC conn, HSTMT stmt, char *func)
ODBCLS_FETCH();
do {
- SQLError(henv, conn, stmt, state,
+ ret = SQLError(henv, conn, stmt, state,
&error, errormsg, sizeof(errormsg)-1, &errormsgsize);
if (func) {
php_error(E_WARNING, "SQL error: %s, SQL state %s in %s",