summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 17:46:51 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 17:56:20 +0100
commit9310cf2b9f121cd2b11a06596e0db44244fba59b (patch)
tree18f7bc79c44c5f0f132180873d02b9a9e74fba63 /connectivity
parent3eddbbec432bf0aa66a4edc4ef68ec83ecac4ee4 (diff)
Firebird uses "DOUBLE PRECISION" for doubles. (firebird-sdbc)
Change-Id: I99bac2cfde956d2b91dce33fc12ce9044a9c219a
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/DatabaseMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 215d84fda3bc..c35e03d6ecdf 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -949,7 +949,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
aRow[15] = new ORowSetValueDecorator(sal_Int16(7)); // Max scale
aResults.push_back(aRow);
// SQL_DOUBLE
- aRow[1] = new ORowSetValueDecorator(OUString("REAL"));
+ aRow[1] = new ORowSetValueDecorator(OUString("DOUBLE PRECISION"));
aRow[2] = new ORowSetValueDecorator(getColumnTypeFromFBType(SQL_DOUBLE));
aRow[3] = new ORowSetValueDecorator(sal_Int16(15)); // Precision
aRow[14] = new ORowSetValueDecorator(sal_Int16(1)); // Minimum scale