Kaydet (Commit) cd65f098 authored tarafından Tamas Bunth's avatar Tamas Bunth Kaydeden (comit) Tamás Bunth

tdf#117300 dbahsql: Add REAL type

Change-Id: I5a63633f8efa2307c75e8018a8fae13f154254ce
Reviewed-on: https://gerrit.libreoffice.org/53585Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Bunth <btomi96@gmail.com>
üst 605f6d48
......@@ -132,6 +132,8 @@ sal_Int32 lcl_getDataTypeFromHsql(const OUString& sTypeName)
return DataType::TIMESTAMP;
else if (sTypeName == "DOUBLE")
return DataType::DOUBLE;
else if (sTypeName == "REAL")
return DataType::REAL;
assert(false);
return -1;
......
......@@ -69,6 +69,7 @@ OUString lcl_DataTypetoFbTypeName(sal_Int32 eType)
case DataType::TIMESTAMP:
return OUString("TIMESTAMP");
case DataType::DOUBLE:
case DataType::REAL:
return OUString("DOUBLE PRECISION");
default:
assert(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment