Navigation Menu

Skip to content

Commit

Permalink
const added
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros committed May 6, 2020
1 parent 0c27ec4 commit 52c3a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -2558,8 +2558,8 @@ bool QgsPostgresProvider::deleteFeatures( const QgsFeatureIds &ids )
{
conn->begin();

QString sql = QStringLiteral( "DELETE FROM %1 WHERE %2" )
.arg( mQuery, whereClause( ids ) );
const QString sql = QStringLiteral( "DELETE FROM %1 WHERE %2" )
.arg( mQuery, whereClause( ids ) );
QgsDebugMsgLevel( "delete sql: " + sql, 2 );

//send DELETE statement and do error handling
Expand Down

0 comments on commit 52c3a7b

Please sign in to comment.