From d9de707311075a90cc375d0becdeddd5f13a8fcf Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 16 Apr 2015 04:12:11 +0200 Subject: [PATCH] fixes confusing SQLDescribeParam error message --- ext/odbc/php_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 322ec95777..250be57922 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) { -- 2.40.0