[QGIS Commit] r13404 - trunk/qgis/src/providers/postgres

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Apr 27 10:09:49 EDT 2010


Author: jef
Date: 2010-04-27 10:09:48 -0400 (Tue, 27 Apr 2010)
New Revision: 13404

Modified:
   trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
Log:
fix #2680

Modified: trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
===================================================================
--- trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-04-27 05:39:35 UTC (rev 13403)
+++ trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp	2010-04-27 14:09:48 UTC (rev 13404)
@@ -2510,7 +2510,7 @@
 {
   bool returnvalue = true;
 
-  if ( !isQuery )
+  if ( isQuery )
     return false;
 
   if ( !connectRW() )
@@ -2558,7 +2558,7 @@
 {
   bool returnvalue = true;
 
-  if ( !isQuery )
+  if ( isQuery )
     return false;
 
   if ( !connectRW() )
@@ -2642,7 +2642,7 @@
 {
   QgsDebugMsg( "entering." );
 
-  if ( !isQuery )
+  if ( isQuery )
     return false;
 
   if ( !connectRW() )



More information about the QGIS-commit mailing list