File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,6 @@ const QString POSTGRES_DESCRIPTION = "PostgreSQL/PostGIS data provider";
137
137
}
138
138
PQclear (schema);
139
139
140
- if (mSchemaName ==" " )
141
- mSchemaName =mCurrentSchema ;
142
-
143
140
if (!getGeometryDetails ()) // gets srid and geometry type
144
141
{
145
142
// the table is not a geometry table
@@ -2518,7 +2515,7 @@ bool QgsPostgresProvider::getGeometryDetails()
2518
2515
2519
2516
PGresult *result = executeDbCommand (connection, sql);
2520
2517
2521
- QgsDebugMsg (" geometry column query returned " + QString::number (PQntuples (result)));
2518
+ QgsDebugMsg (" geometry column query returned " + QString (PQntuples (result)));
2522
2519
QgsDebugMsg (" column number of srid is " + QString::number (PQfnumber (result, " srid" )));
2523
2520
2524
2521
if (PQntuples (result) > 0 )
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ class QgsPostgresProvider:public QgsVectorDataProvider
374
374
*/
375
375
QString mCurrentSchema ;
376
376
/* *
377
- * SQL statement used to limit the features retrieved
377
+ * SQL statement used to limit the features retreived
378
378
*/
379
379
QString sqlWhereClause;
380
380
/* *
You can’t perform that action at this time.
0 commit comments