- changed status to resolved
Firebird backend : Anonymous table aliases are badly anonymized
Issue #779
resolved
In the compiled query, the "{ANON 67878897}" alias table name is not translated to the final table_1 alias.
Index: firebird.py
===================================================================
--- firebird.py (revision 3500)
+++ firebird.py (working copy)
@@ -297,7 +297,7 @@
def visit_alias(self, alias, asfrom=False, **kwargs):
# Override to not use the AS keyword which FB 1.5 does not like
if asfrom:
- return self.process(alias.original, asfrom=True) + " " + self.preparer.format_alias(alias)
+ return self.process(alias.original, asfrom=True) + " " + self.preparer.format_alias(alias,self.preparer.format_alias(alias, self._anonymize(alias.name)))
else:
return self.process(alias.original, asfrom=True)
Comments (1)
-
repo owner - Log in to comment
thanks, 4be3b2664d254093d843606d96aa5660fe1ba1d8