Fixed #31415 -- Fixed crash when nested OuterRef is used with operators or in database functions.

This commit is contained in:
Hasan Ramezani 2020-04-03 11:05:10 +02:00 committed by Mariusz Felisiak
parent 89032876f4
commit 6fbce45b03
2 changed files with 20 additions and 1 deletions

View file

@ -585,6 +585,9 @@ class OuterRef(F):
return self.name
return ResolvedOuterRef(self.name)
def relabeled_clone(self, relabels):
return self
class Func(SQLiteNumericMixin, Expression):
"""An SQL function call."""