mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Merge branch 'pull-request/1239'
* pull-request/1239: fixes confusing SQLDescribeParam error message
This commit is contained in:
commit
4eb375320e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user