Refs #25499 -- Fixed expressions in distance lookups on Oracle.

This commit is contained in:
Claude Paroz 2015-10-09 14:08:08 -04:00 committed by Tim Graham
parent f233aa3ff9
commit 00db71d452
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class SDOOperator(SpatialOperator):
class SDODistance(SpatialOperator):
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%%%s" % DEFAULT_TOLERANCE
sql_template = "SDO_GEOM.SDO_DISTANCE(%%(lhs)s, %%(rhs)s, %s) %%(op)s %%(value)s" % DEFAULT_TOLERANCE
class SDODWithin(SpatialOperator):