Date: Monday, December 12, 2005 @ 18:19:22
Author: csaba
Path: /cvsroot/carob/libmysequoia/test
Modified: TestMySQLAPI.cpp (1.10 -> 1.11)
Because the mysql_select_db() with a non existent database name is working
again, uncomment the test.
------------------+
TestMySQLAPI.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: libmysequoia/test/TestMySQLAPI.cpp
diff -u libmysequoia/test/TestMySQLAPI.cpp:1.10
libmysequoia/test/TestMySQLAPI.cpp:1.11
--- libmysequoia/test/TestMySQLAPI.cpp:1.10 Mon Dec 12 18:15:19 2005
+++ libmysequoia/test/TestMySQLAPI.cpp Mon Dec 12 18:19:22 2005
@@ -143,9 +143,7 @@
CPPUNIT_ASSERT(mysql->port != 0);
// select a nonexistent DB
-/* TODO uncomment if the bug is fixed in Sequoia
- CPPUNIT_ASSERT(mysql_select_db(mysql, BAD_DB) == 0);
-*/
+ CPPUNIT_ASSERT(mysql_select_db(mysql, BAD_DB) != 0);
}
void TestMySQLAPI::mysql_change_user_test(void)
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits