Skip to content

Commit

Permalink
Micro optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Apr 6, 2020
1 parent f3a76d9 commit 818c579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/providers/postgres/raster/qgspostgresrasterprovider.cpp
Expand Up @@ -1118,9 +1118,9 @@ bool QgsPostgresRasterProvider::init()

const QString sql { QStringLiteral( "SELECT ENCODE( ST_AsBinary( ST_Envelope( foo.bar) ), 'hex'), ( ST_Metadata( foo.bar ) ).* "
"FROM ( SELECT ST_Union ( %1 ) AS bar FROM %2 %3) AS foo" )
.arg( quotedIdentifier( mRasterColumn ) )
.arg( tableToQuery )
.arg( where )};
.arg( quotedIdentifier( mRasterColumn ),
tableToQuery,
where )};

QgsDebugMsgLevel( QStringLiteral( "Raster information sql: %1" ).arg( sql ), 4 );

Expand Down

0 comments on commit 818c579

Please sign in to comment.