List:Commits« Previous MessageNext Message »
From:jwinstead Date:September 28 2006 8:24pm
Subject:Connector/ODBC 3.51 commit: r116 - trunk/test/dyn_cursor
View as plain text  
Modified:
   trunk/test/dyn_cursor/my_dyn_cursor.c
Log:
Disable SetPos-related tests that fail. (See bug 22796.)


Modified: trunk/test/dyn_cursor/my_dyn_cursor.c
===================================================================
--- trunk/test/dyn_cursor/my_dyn_cursor.c	2006-09-21 23:13:01 UTC (rev 115)
+++ trunk/test/dyn_cursor/my_dyn_cursor.c	2006-09-28 18:24:33 UTC (rev 116)
@@ -23,6 +23,7 @@
 *********************************************************/
 void my_dynamic_pos_cursor(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN   rc;
     SQLLEN      nRowCount;
     SQLHSTMT    hstmt_pos;
@@ -148,6 +149,7 @@
     SQLFreeStmt(hstmt, SQL_RESET_PARAMS);
     SQLFreeStmt(hstmt, SQL_UNBIND);
     SQLFreeStmt(hstmt, SQL_CLOSE);
+#endif
 }
 
 
@@ -308,6 +310,7 @@
 */
 void my_setpos_delete_ignore(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN    nlen;
     char      szData[255]={0};
@@ -377,12 +380,14 @@
 
     rc = SQLFreeStmt(hstmt,SQL_CLOSE);
     mystmt(hstmt,rc);
+#endif
 }
 /*
 UPDATE with duplicate..
 */
 void my_setpos_update_ignore(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN     nlen;
     char    szData[255]={0};
@@ -447,6 +452,7 @@
 
     rc = SQLFreeStmt(hstmt,SQL_CLOSE);
     mystmt(hstmt,rc);
+#endif
 }
 
 /*
@@ -454,6 +460,7 @@
 */
 void my_setpos_update_ignore1(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN     nlen;
     char    szData[255]={0};
@@ -518,6 +525,7 @@
 
     rc = SQLFreeStmt(hstmt,SQL_CLOSE);
     mystmt(hstmt,rc);
+#endif
 }
 
 /*
@@ -525,6 +533,7 @@
 */
 void my_position(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN    nlen;
     char      szData[255]={0};
@@ -623,6 +632,7 @@
 
     rc = SQLFreeStmt(hstmt,SQL_CLOSE);
     mystmt(hstmt,rc);
+#endif
 }
 
 /*
@@ -630,6 +640,7 @@
 */
 void my_position1(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN    nlen[15];
     char      szData[15][15]={0};
@@ -729,6 +740,7 @@
 
     rc = SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_ARRAY_SIZE  ,(SQLPOINTER)1 , 0);
     mystmt(hstmt, rc); 
+#endif
 }
 
 /*
@@ -736,6 +748,7 @@
 */
 void my_zero_irow_update(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN    nlen[15];
     char      szData[15][15]={0};
@@ -820,12 +833,14 @@
 
     rc = SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_ARRAY_SIZE  ,(SQLPOINTER)1 , 0);
     mystmt(hstmt, rc); 
+#endif
 }
 /*
 IROW VALUE - 0 - DELETE
 */
 void my_zero_irow_delete(SQLHDBC hdbc, SQLHSTMT hstmt)
 {
+#if BUG_22796_FIXED
     SQLRETURN rc;
     SQLLEN    nlen[15];
     char      szData[15][15]={0};
@@ -905,6 +920,7 @@
 
     rc = SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_ARRAY_SIZE  ,(SQLPOINTER)1 , 0);
     mystmt(hstmt, rc); 
+#endif
 }
 
 /**

Thread
Connector/ODBC 3.51 commit: r116 - trunk/test/dyn_cursorjwinstead28 Sep