summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2015-04-16 04:12:11 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2015-04-16 04:12:11 +0200
commitd9de707311075a90cc375d0becdeddd5f13a8fcf (patch)
treeb04c58bf6d580c4a2ae2476a1ab15fc80e201041 /ext/odbc
parent685ccd61c2f53b5c629d7d11346e37723a948972 (diff)
downloadphp-git-d9de707311075a90cc375d0becdeddd5f13a8fcf.tar.gz
fixes confusing SQLDescribeParam error message
Diffstat (limited to 'ext/odbc')
-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 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) {