summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-06 20:55:56 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-06 21:27:57 +0100
commitcf9a6e84f5ffc4fe4a8273e8fdb6550b64c78732 (patch)
treed350846c6afaa91907d48c30b8b2d7097dc48fe4 /connectivity
parent22576cf6d883f0708560f403c2f05b318c0eab14 (diff)
Implement set[Float|Double]. (firebird-sdbc)
This commit somehow got lost on my old computer, so here it is recreated. Change-Id: Ib4001a21c92976fe0e3dea3778360ff67cbfa3a9
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/ResultSet.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx
index a342fb11f2ed..a33460ba23a4 100644
--- a/connectivity/source/drivers/firebird/ResultSet.cxx
+++ b/connectivity/source/drivers/firebird/ResultSet.cxx
@@ -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 ----------------------------------------------