From 70bd032076a53281dbdabab1c707bfe9212d5d64 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 25 May 2004 18:34:46 +0000 Subject: [PATCH] Use the correct label for the error message --- ext/pdo_odbc/odbc_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.1