Skip to content
Permalink
Browse files
revert r7758
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_9_1@7763 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 10, 2007
1 parent 020ada7 commit 92cc42a785995a275c26520cec3b2c550d165788
Showing with 2 additions and 5 deletions.
  1. +1 −4 src/providers/postgres/qgspostgresprovider.cpp
  2. +1 −1 src/providers/postgres/qgspostgresprovider.h
@@ -137,9 +137,6 @@ const QString POSTGRES_DESCRIPTION = "PostgreSQL/PostGIS data provider";
}
PQclear(schema);

if(mSchemaName=="")
mSchemaName=mCurrentSchema;

if (!getGeometryDetails()) // gets srid and geometry type
{
// the table is not a geometry table
@@ -2518,7 +2515,7 @@ bool QgsPostgresProvider::getGeometryDetails()

PGresult *result = executeDbCommand(connection, sql);

QgsDebugMsg("geometry column query returned " + QString::number(PQntuples(result)));
QgsDebugMsg("geometry column query returned " + QString(PQntuples(result)));
QgsDebugMsg("column number of srid is " + QString::number(PQfnumber(result, "srid")));

if (PQntuples(result) > 0)
@@ -374,7 +374,7 @@ class QgsPostgresProvider:public QgsVectorDataProvider
*/
QString mCurrentSchema;
/**
* SQL statement used to limit the features retrieved
* SQL statement used to limit the features retreived
*/
QString sqlWhereClause;
/**

0 comments on commit 92cc42a

Please sign in to comment.