Date: Monday, December 19, 2005 @ 09:49:04
  Author: gilles
    Path: /cvsroot/carob/carob/test

Modified: TestStatement.cpp (1.18 -> 1.19)

Re-enable test execute with streamed results
Changed getString to getAsString following recent getString specialization


-------------------+
 TestStatement.cpp |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: carob/test/TestStatement.cpp
diff -u carob/test/TestStatement.cpp:1.18 carob/test/TestStatement.cpp:1.19
--- carob/test/TestStatement.cpp:1.18   Thu Dec 15 17:43:53 2005
+++ carob/test/TestStatement.cpp        Mon Dec 19 09:49:04 2005
@@ -351,7 +351,7 @@
   {
     ResultSetMetaData rsmd(drsPtr);
     for (int j=0; j<rsmd.getColumnCount(); j++)
-      buffer<<drsPtr->getString(j+1)<<L"\t";
+      buffer<<drsPtr->getAsString(j+1)<<L"\t";
     buffer<<endl;
   }
   if (isDebugEnabled())
@@ -394,10 +394,9 @@
   suiteOfTests->addTest(new CppUnit::TestCaller<TestStatement>(
                                  "testExecuteWithUpdate", 
                                  &TestStatement::testExecuteWithUpdate));
-//No yet working...
-/*  suiteOfTests->addTest(new CppUnit::TestCaller<TestStatement>(
+  suiteOfTests->addTest(new CppUnit::TestCaller<TestStatement>(
                                  "testExecuteWithSelectStreamed", 
                                  
&TestStatement::testExecuteWithSelectStreamed));
-*/
+
   return suiteOfTests;
 }

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

Reply via email to