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:
@@ -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 ----------------------------------------------
|
||||
|
Reference in New Issue
Block a user