Skip to content
Permalink
Browse files

Fix indentation

  • Loading branch information
suricactus committed Jun 12, 2020
1 parent e67b75d commit b7d06d3b763ad2d0469f4ecbc9d354b926789ae3
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/providers/virtual/qgsvirtuallayerprovider.cpp
@@ -562,9 +562,11 @@ void QgsVirtualLayerProvider::updateStatistics() const
Q_ASSERT( ! mTableName.isNull() );

QString sql = QStringLiteral( "SELECT Count(*)%1 FROM %2%3" )
.arg( hasGeometry ? QStringLiteral( ",Min(MbrMinX(%1)),Min(MbrMinY(%1)),Max(MbrMaxX(%1)),Max(MbrMaxY(%1))" ).arg( quotedColumn( mDefinition.geometryField() ) ) : QString(),
mTableName,
subset );
.arg(
hasGeometry ? QStringLiteral( ",Min(MbrMinX(%1)),Min(MbrMinY(%1)),Max(MbrMaxX(%1)),Max(MbrMaxY(%1))" ).arg( quotedColumn( mDefinition.geometryField() ) ) : QString(),
mTableName,
subset
);
Sqlite::Query q( mSqlite.get(), sql );
if ( q.step() == SQLITE_ROW )
{

0 comments on commit b7d06d3

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