Modified:
trunk/test/my_error.c
Log:
fixed check_sqlstate() params for new tests
Modified: trunk/test/my_error.c
===================================================================
--- trunk/test/my_error.c 2007-07-03 18:02:07 UTC (rev 544)
+++ trunk/test/my_error.c 2007-07-03 18:08:56 UTC (rev 545)
@@ -280,11 +280,11 @@
/* test out of range column number */
expect_stmt(hstmt, SQLBindCol(hstmt, 10, SQL_C_CHAR, "", 4, NULL), SQL_ERROR);
- is(check_sqlstate(hdbc, hstmt, "HY002") == OK);
+ is(check_sqlstate(hstmt, "HY002") == OK);
/* test (unsupported) bookmark column number */
expect_stmt(hstmt, SQLBindCol(hstmt, 0, SQL_C_CHAR, "", 4, NULL), SQL_ERROR);
- is(check_sqlstate(hdbc, hstmt, "HY002") == OK);
+ is(check_sqlstate(hstmt, "HY002") == OK);
return OK;
}
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r545 - trunk/test | jbalint | 3 Jul |