[Libreoffice-commits] .: Branch 'libreoffice-3-5' - connectivity/source

Radek Doulík rodo at kemper.freedesktop.org
Mon Feb 13 09:15:10 PST 2012


 connectivity/source/drivers/postgresql/pq_databasemetadata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b5bd15f28b8abd2f452773422265a7f7166812b1
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Wed Feb 1 18:38:13 2012 +0100

    pgsql getColumns: order by columns, not by their concatenation...

diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index d58cdbe..7f8249c 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -1609,7 +1609,7 @@ static void columnMetaData2DatabaseTypeDescription(
                    "AND pg_namespace.nspname LIKE ? "
                    "AND pg_class.relname LIKE ? "
                    "AND pg_attribute.attname LIKE ? "
-            "ORDER BY pg_namespace.nspname || pg_class.relname || pg_attribute.attnum"
+            "ORDER BY pg_namespace.nspname, pg_class.relname, pg_attribute.attnum"
             ) );
 
     Reference< XParameters > parameters( statement, UNO_QUERY_THROW );


More information about the Libreoffice-commits mailing list