Skip to content

Commit ed54e3c

Browse files
Hugo Merciernyalldawson
authored andcommittedJan 18, 2016
Fix quotedValue in postgres sql expression compiler
1 parent b60d768 commit ed54e3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/providers/postgres/qgspostgresexpressioncompiler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ QString QgsPostgresExpressionCompiler::quotedIdentifier( const QString& identifi
2626
return QgsPostgresConn::quotedIdentifier( identifier );
2727
}
2828

29-
QString QgsPostgresExpressionCompiler::quotedValue( const QVariant& value, bool& )
29+
QString QgsPostgresExpressionCompiler::quotedValue( const QVariant& value, bool& ok )
3030
{
31+
ok = true;
3132
return QgsPostgresConn::quotedValue( value );
3233
}
3334

0 commit comments

Comments
 (0)
Please sign in to comment.