Date: Thursday, January 19, 2006 @ 09:46:55
  Author: csaba
    Path: /cvsroot/carob/libmysequoia/test

Modified: TestMySQLAPI.cpp (1.25 -> 1.26)

test now() function


------------------+
 TestMySQLAPI.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: libmysequoia/test/TestMySQLAPI.cpp
diff -u libmysequoia/test/TestMySQLAPI.cpp:1.25 
libmysequoia/test/TestMySQLAPI.cpp:1.26
--- libmysequoia/test/TestMySQLAPI.cpp:1.25     Wed Jan 18 15:38:26 2006
+++ libmysequoia/test/TestMySQLAPI.cpp  Thu Jan 19 09:46:55 2006
@@ -210,8 +210,8 @@
 
 void TestMySQLAPI::mysql_real_query_2_test(void)
 {
-  char *query = "insert into t1 (b,d,e) values (1,'2006-01-01', '1:2:3'),"
-                "(2,'2006-01-02','4:5:6'),(3,'2006-01-03','7:8:9')";
+  char *query = "insert into t1 (b,d,e,f) values (1,'2006-01-01', '1:2:3', 
NOW()),"
+                "(2,'2006-01-02','4:5:6', NOW()),(3,'2006-01-03','7:8:9', 
NOW())";
 
   // connect to the database
   CPPUNIT_ASSERT(mysql_real_connect(mysql, HOST, USER1, PASSWD1, DB1, 0, 0, 0) 
!= 0);

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to