com php-src: fixes confusing SQLDescribeParam error message: ext/odbc/php_odbc.c
| From: | Stanislav Malyshev | Date: | Thu, 16 Apr 2015 02:12:11 +0000 |
| Subject: | com php-src: fixes confusing SQLDescribeParam error message: ext/odbc/php_odbc.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86385@lists.php.net to get a copy of this message | ||
Commit: d9de707311075a90cc375d0becdeddd5f13a8fcf
Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 16 Apr 2015 04:12:11 +0200
Parents: 685ccd61c2f53b5c629d7d11346e37723a948972
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d9de707311075a90cc375d0becdeddd5f13a8fcf
Log:
fixes confusing SQLDescribeParam error message
Changed paths:
M ext/odbc/php_odbc.c
Diff:
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 322ec95...250be57 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1313,7 +1313,7 @@ PHP_FUNCTION(odbc_execute)
params[i-1].vallen = Z_STRLEN_P(tmp);
params[i-1].fp = -1;
if (rc == SQL_ERROR) {
- odbc_sql_error(result->conn_ptr, result->stmt, "SQLDescribeParameter");
+ odbc_sql_error(result->conn_ptr, result->stmt, "SQLDescribeParam");
SQLFreeStmt(result->stmt, SQL_RESET_PARAMS);
for (i = 0; i < result->numparams; i++) {
if (params[i].fp != -1) {