Skip to content

Commit

Permalink
Fix handling of cached geometries in QgsPostgresExpressionCompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 22, 2021
1 parent 5246257 commit 2745845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/providers/postgres/qgspostgresexpressioncompiler.cpp
Expand Up @@ -44,6 +44,10 @@ QString QgsPostgresExpressionCompiler::quotedValue( const QVariant &value, bool
case QVariant::Double:
return value.toString();

//most likely a geometry
case QVariant::UserType:
ok = false;

default:
break;
}
Expand Down

0 comments on commit 2745845

Please sign in to comment.