Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More indentation
  • Loading branch information
nyalldawson committed Mar 20, 2021
1 parent 2a9d2b0 commit 14fd257
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/providers/postgres/raster/qgspostgresrasterprovider.cpp
Expand Up @@ -1098,11 +1098,11 @@ bool QgsPostgresRasterProvider::init()
if ( hexAscii.isEmpty() || ! p.fromWkb( ptr ) )
{
// Try to determine extent from raster
const QString extentSql { QStringLiteral( "SELECT ST_Envelope( %1 ) "
"FROM %2 WHERE %3" )
.arg( quotedIdentifier( mRasterColumn ) )
.arg( mQuery )
.arg( subsetString().isEmpty() ? "'t'" : subsetString() ) };
const QString extentSql = QStringLiteral( "SELECT ST_Envelope( %1 ) "
"FROM %2 WHERE %3" )
.arg( quotedIdentifier( mRasterColumn ),
mQuery,
subsetString().isEmpty() ? "'t'" : subsetString() );

QgsPostgresResult extentResult( connectionRO()->PQexec( extentSql ) );
const QByteArray extentHexAscii { extentResult.PQgetvalue( 0, 0 ).toLatin1() };
Expand Down

0 comments on commit 14fd257

Please sign in to comment.