Implement set[Float|Double]. (firebird-sdbc)

This commit somehow got lost on my old computer, so here it is
recreated.

Change-Id: Ib4001a21c92976fe0e3dea3778360ff67cbfa3a9
This commit is contained in:
Andrzej J.R. Hunt
2013-09-06 20:55:56 +01:00
parent 22576cf6d8
commit cf9a6e84f5

View File

@@ -482,17 +482,13 @@ sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 columnIndex)
float SAL_CALL OResultSet::getFloat(sal_Int32 columnIndex)
throw(SQLException, RuntimeException)
{
(void) columnIndex;
return 0.0f; // TODO: implement
// return safelyRetrieveValue(columnIndex);
return safelyRetrieveValue< float >(columnIndex);
}
double SAL_CALL OResultSet::getDouble(sal_Int32 columnIndex)
throw(SQLException, RuntimeException)
{
(void) columnIndex;
return 0.0; // TODO: implement
// return safelyRetrieveValue(columnIndex);
return safelyRetrieveValue< double >(columnIndex);
}
// ---- XRow: More complex types ----------------------------------------------