Modified:
trunk/test/my_error.c
Log:
Fix test of binding bookmark column to use SQL_C_BOOKMARK so we get the
correct sqlstate.
Modified: trunk/test/my_error.c
===================================================================
--- trunk/test/my_error.c 2007-07-26 00:59:37 UTC (rev 607)
+++ trunk/test/my_error.c 2007-07-27 17:05:48 UTC (rev 608)
@@ -283,7 +283,8 @@
is(check_sqlstate(hstmt, "HY002") == OK);
/* test (unsupported) bookmark column number */
- expect_stmt(hstmt, SQLBindCol(hstmt, 0, SQL_C_CHAR, "", 4, NULL), SQL_ERROR);
+ expect_stmt(hstmt, SQLBindCol(hstmt, 0, SQL_C_BOOKMARK, "", 4, NULL),
+ SQL_ERROR);
is(check_sqlstate(hstmt, "HY002") == OK);
return OK;
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r608 - trunk/test | jwinstead | 27 Jul |