From: Wez Furlong Date: Tue, 25 May 2004 18:34:46 +0000 (+0000) Subject: Use the correct label for the error message X-Git-Tag: php-5.0.0RC3RC1~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70bd032076a53281dbdabab1c707bfe9212d5d64;p=php Use the correct label for the error message --- diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index be8d775ba0..807b607803 100755 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -227,7 +227,7 @@ static int odbc_stmt_set_param(pdo_stmt_t *stmt, long attr, zval *val TSRMLS_DC) if (rc == SQL_SUCCESS || rc == SQL_SUCCESS_WITH_INFO) { return 1; } - pdo_odbc_stmt_error("SQLFetch"); + pdo_odbc_stmt_error("SQLSetCursorName"); return 0; default: