Skip to content
Permalink
Browse files

const added

  • Loading branch information
uclaros committed May 6, 2020
1 parent 0c27ec4 commit 52c3a7b8ae947f1745b9fe5f9e5a23227b1c694a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/postgres/qgspostgresprovider.cpp
@@ -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

0 comments on commit 52c3a7b

Please sign in to comment.
You can’t perform that action at this time.