[Libreoffice-commits] core.git: 2 commits - connectivity/source
Lionel Elie Mamane
lionel at mamane.lu
Fri Mar 4 08:24:50 UTC 2016
connectivity/source/drivers/postgresql/pq_databasemetadata.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a70586d9980d71bd3310fcda69f16ac1dafae2d4
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Fri Mar 4 09:18:30 2016 +0100
fixup tdf#92538
Change-Id: I57650fe955a31f433d611d9e74a0762d349bed64
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 53b4f9d..911f400 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -2193,7 +2193,7 @@ static sal_Int32 getMaxScale( sal_Int32 dataType )
namespace
{
- OUString construct_full_typename(OUString ns, OUString tn)
+ OUString construct_full_typename(const OUString &ns, const OUString &tn)
{
if(ns.isEmpty() || ns == "pg_catalog")
return tn;
commit 280f234e5e9fb2879ef99d6888bd0b5b30d16b45
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Thu Mar 3 19:58:34 2016 +0100
fixup tdf#92538
Change-Id: I62fbead59ac83147da6da984f89b64b1d7e4f90d
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 92912e1..53b4f9d 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -2195,7 +2195,7 @@ namespace
{
OUString construct_full_typename(OUString ns, OUString tn)
{
- if(ns == "pg_catalog")
+ if(ns.isEmpty() || ns == "pg_catalog")
return tn;
else
return ns + "." + tn;
More information about the Libreoffice-commits
mailing list