Date: Tuesday, March 28, 2006 @ 09:19:53
Author: zsolt
Path: /cvsroot/carob/libmysequoia/test
Modified: TestMySQLAPI.cpp (1.32 -> 1.33)
removed CPPUNIT_ASSERT from drop table t1 because if the table does not exist
the test will fail.
------------------+
TestMySQLAPI.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: libmysequoia/test/TestMySQLAPI.cpp
diff -u libmysequoia/test/TestMySQLAPI.cpp:1.32
libmysequoia/test/TestMySQLAPI.cpp:1.33
--- libmysequoia/test/TestMySQLAPI.cpp:1.32 Tue Mar 28 08:57:35 2006
+++ libmysequoia/test/TestMySQLAPI.cpp Tue Mar 28 09:19:53 2006
@@ -196,7 +196,7 @@
CPPUNIT_ASSERT(mysql_real_connect(mysql, HOST, USER1, PASSWD1, DB1, 0, 0, 0)
!= 0);
// send the query - return 0 on success
- CPPUNIT_ASSERT(mysql_real_query(mysql, query, strlen(query)) == 0);
+ mysql_real_query(mysql, query, strlen(query));
}
void TestMySQLAPI::mysql_real_query_1_test(void)
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits