mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-03 00:04:47 -04:00
remove const
This commit is contained in:
parent
fb9429fb20
commit
8063554822
@ -5195,12 +5195,12 @@ QString QgsPostgresProvider::htmlMetadata() const
|
||||
|
||||
const QString fullName = QStringLiteral( "%1.%2" ).arg( mSchemaName, mTableName );
|
||||
|
||||
const QString sqlPrivileges = QStringLiteral( "SELECT "
|
||||
"has_table_privilege(%1, 'SELECT'), "
|
||||
"has_table_privilege(%1, 'INSERT'), "
|
||||
"has_table_privilege(%1, 'UPDATE'), "
|
||||
"has_table_privilege(%1, 'DELETE')" )
|
||||
.arg( QgsPostgresConn::quotedValue( tableOid ) );
|
||||
QString sqlPrivileges = QStringLiteral( "SELECT "
|
||||
"has_table_privilege(%1, 'SELECT'), "
|
||||
"has_table_privilege(%1, 'INSERT'), "
|
||||
"has_table_privilege(%1, 'UPDATE'), "
|
||||
"has_table_privilege(%1, 'DELETE')" )
|
||||
.arg( QgsPostgresConn::quotedValue( tableOid ) );
|
||||
|
||||
QgsPostgresResult resPrivileges( connectionRO()->LoggedPQexec( "QgsPostgresProvider", sqlPrivileges ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user