From 3eddbbec432bf0aa66a4edc4ef68ec83ecac4ee4 Mon Sep 17 00:00:00 2001 From: "Andrzej J.R. Hunt" Date: Wed, 28 Aug 2013 17:29:02 +0100 Subject: [PATCH] SQL_FLOAT corresponds to DataType::FLOAT. Change-Id: Id5e2aab669ba047e9ecb392187aae7c4aa384dda --- connectivity/source/drivers/firebird/Util.cxx | 4 ++-- 1 file 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: