Skip to content
Permalink
Browse files

QStringLiteral

  • Loading branch information
nyalldawson committed Oct 8, 2018
1 parent 84a8219 commit b79229092e6b04a7f999158edb1b140eba276e94
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/mssql/qgsmssqlexpressioncompiler.cpp
@@ -94,8 +94,8 @@ QString QgsMssqlExpressionCompiler::quotedValue( const QVariant &value, bool &ok
QString QgsMssqlExpressionCompiler::quotedIdentifier( const QString &identifier )
{
QString quoted = identifier;
quoted.replace( '[', "[[" );
quoted.replace( ']', "]]" );
quoted.replace( '[', QStringLiteral( "[[" ) );
quoted.replace( ']', QStringLiteral( "]]" ) );
quoted = quoted.prepend( '[' ).append( ']' );
return quoted;
}

0 comments on commit b792290

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