summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/filter/hsqldb/createparser.cxx2
-rw-r--r--dbaccess/source/filter/hsqldb/fbcreateparser.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/dbaccess/source/filter/hsqldb/createparser.cxx b/dbaccess/source/filter/hsqldb/createparser.cxx
index 645c33557689..66993ace227b 100644
--- a/dbaccess/source/filter/hsqldb/createparser.cxx
+++ b/dbaccess/source/filter/hsqldb/createparser.cxx
@@ -134,6 +134,8 @@ sal_Int32 lcl_getDataTypeFromHsql(const OUString& sTypeName)
return DataType::DOUBLE;
else if (sTypeName == "REAL")
return DataType::REAL;
+ else if (sTypeName == "FLOAT")
+ return DataType::FLOAT;
assert(false);
return -1;
diff --git a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
index 89ffe5e69833..8c36573ef9f8 100644
--- a/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
+++ b/dbaccess/source/filter/hsqldb/fbcreateparser.cxx
@@ -71,6 +71,8 @@ OUString lcl_DataTypetoFbTypeName(sal_Int32 eType)
case DataType::DOUBLE:
case DataType::REAL:
return OUString("DOUBLE PRECISION");
+ case DataType::FLOAT:
+ return OUString("FLOAT");
default:
assert(false);
return OUString();