[QGIS Commit] r10672 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Apr 28 16:21:07 EDT 2009
Author: jef
Date: 2009-04-28 16:21:06 -0400 (Tue, 28 Apr 2009)
New Revision: 10672
Modified:
trunk/qgis/src/app/qgsdbsourceselect.cpp
Log:
apply patch from #52
Modified: trunk/qgis/src/app/qgsdbsourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsdbsourceselect.cpp 2009-04-28 20:16:00 UTC (rev 10671)
+++ trunk/qgis/src/app/qgsdbsourceselect.cpp 2009-04-28 20:21:06 UTC (rev 10672)
@@ -560,7 +560,7 @@
"and pg_namespace.oid = pg_class.relnamespace "
"and has_schema_privilege(pg_namespace.nspname,'usage') "
"and has_table_privilege('\"'||pg_namespace.nspname||'\".\"'||pg_class.relname||'\"','select') " // user has select privilege
- "order by f_table_schema,f_table_name";
+ "order by f_table_schema,f_table_name,f_geometry_column";
PGresult *result = PQexec( pg, sql.toUtf8() );
if ( result )
More information about the QGIS-commit
mailing list