Skip to content
Permalink
Browse files
[postgres] Fix default value check if evaluated server side
  • Loading branch information
m-kuhn committed Nov 9, 2017
1 parent e1ffb28 commit b18c891dfc87089bc234ea59450e2ea0c90087f5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1846,7 +1846,7 @@ bool QgsPostgresProvider::skipConstraintCheck( int fieldIndex, QgsFieldConstrain
{
if ( providerProperty( EvaluateDefaultValues, false ).toBool() )
{
return mDefaultValues.contains( fieldIndex );
return !mDefaultValues.value( fieldIndex ).isEmpty();
}
else
{

0 comments on commit b18c891

Please sign in to comment.