]> granicus.if.org Git - php/commitdiff
Use the correct label for the error message
authorWez Furlong <wez@php.net>
Tue, 25 May 2004 18:34:46 +0000 (18:34 +0000)
committerWez Furlong <wez@php.net>
Tue, 25 May 2004 18:34:46 +0000 (18:34 +0000)
ext/pdo_odbc/odbc_stmt.c

index be8d775ba0b80752981bcc85a615c414357909bf..807b6078030df597c6c16cdc7ec3a9c038af5aca 100755 (executable)
@@ -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: