List:Commits« Previous MessageNext Message »
From:jbalint Date:July 10 2007 4:21am
Subject:Connector/ODBC 3.51 commit: r555 - trunk/test
View as plain text  
Modified:
   trunk/test/my_catalog.c
Log:
fix bad logic (test was only correct after first run)

Modified: trunk/test/my_catalog.c
===================================================================
--- trunk/test/my_catalog.c	2007-07-09 21:21:51 UTC (rev 554)
+++ trunk/test/my_catalog.c	2007-07-10 04:21:30 UTC (rev 555)
@@ -1014,7 +1014,7 @@
   ok_stmt(hstmt, SQLColumns(hstmt, NULL, 0, NULL, 0, NULL, 0, NULL, 0));
 
   /* We should have at least two rows. There may be more. */
-  is(myrowcount(hstmt) > 2);
+  is(myrowcount(hstmt) >= 2);
 
   ok_stmt(hstmt, SQLFreeStmt(hstmt, SQL_CLOSE));
 

Thread
Connector/ODBC 3.51 commit: r555 - trunk/testjbalint10 Jul