summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2016-03-03 19:58:34 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2016-03-04 09:22:32 +0100
commit280f234e5e9fb2879ef99d6888bd0b5b30d16b45 (patch)
treee93409d2e8cedc1f109d3ab8d018d0385382281a /connectivity
parentc665a1bc0f45aa4a4c679e6f004581168e03f93d (diff)
fixup tdf#92538
Change-Id: I62fbead59ac83147da6da984f89b64b1d7e4f90d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 92912e1ffeb2..53b4f9d41b15 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;