diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-21 20:35:43 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-21 20:35:43 +0000 |
| commit | e538fcbf10c6b15e064ab8dea9d205dc1ed458ea (patch) | |
| tree | 024e4a09bae23fcd5a5e17d2dc584832cb6c9bb7 /ext/odbc/php_odbc.c | |
| parent | f0888ccaef222093c962eef72857e424f0fc5cb7 (diff) | |
| download | php-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.c | 2 |
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", |
