List:Commits« Previous MessageNext Message »
From:jwinstead Date:July 27 2007 5:05pm
Subject:Connector/ODBC 3.51 commit: r608 - trunk/test
View as plain text  
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/testjwinstead27 Jul