Date: Thursday, January 26, 2006 @ 00:01:54
  Author: marc
    Path: /cvsroot/carob/carob/test/40-Parameter-PreparedStatement

Modified: TestIEEE754.cpp (1.4 -> 1.5)

now using getAsFloat(i) instead of getFloat(i) (workaround for HSQL db which 
has no real floats). CAROB-31.


-----------------+
 TestIEEE754.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp
diff -u carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.4 
carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.5
--- carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.4       Sat Jan 
21 01:36:43 2006
+++ carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp   Thu Jan 26 
00:01:54 2006
@@ -95,7 +95,7 @@
     while (data[row].f || data[row].d) {
         CPPUNIT_ASSERT(drsPtr->next());
         CPPUNIT_ASSERT(drsPtr->getAsInt(1) == row);
-        CPPUNIT_ASSERT(drsPtr->getFloat(2) == data[row].f);
+        CPPUNIT_ASSERT(drsPtr->getAsFloat(2) == data[row].f);
         CPPUNIT_ASSERT(drsPtr->getDouble(3) == data[row].d);
         row++;
     }

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

Reply via email to