summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 17:29:02 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 17:56:20 +0100
commit3eddbbec432bf0aa66a4edc4ef68ec83ecac4ee4 (patch)
tree1e3668d7f867807f6349afea9ff3af3e5c16a81f /connectivity/source/drivers
parentc2602a4c2e4bd76634c90adc495a9e79a62974ba (diff)
SQL_FLOAT corresponds to DataType::FLOAT.
Change-Id: Id5e2aab669ba047e9ecb392187aae7c4aa384dda
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r--connectivity/source/drivers/firebird/Util.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx
index 6d176db0a9ec..6941835f7877 100644
--- a/connectivity/source/drivers/firebird/Util.cxx
+++ b/connectivity/source/drivers/firebird/Util.cxx
@@ -69,11 +69,11 @@ sal_Int32 firebird::getColumnTypeFromFBType(short aType)
case SQL_LONG:
return DataType::INTEGER;
case SQL_FLOAT:
- return DataType::REAL;
+ return DataType::FLOAT;
case SQL_DOUBLE:
return DataType::DOUBLE;
case SQL_D_FLOAT:
- return DataType::FLOAT;
+ return DataType::DOUBLE;
case SQL_TIMESTAMP:
return DataType::TIMESTAMP;
case SQL_BLOB: