Commit 4ec66892 authored by Julien Muchembled's avatar Julien Muchembled

ZSQLCatalog: fix identation in EntireQuery

asSQLExpression() failed when executed several times on the same instance,
because too much code was skipped when 'column_map' is cached.
parent a5535be1
...@@ -95,6 +95,7 @@ class EntireQuery(object): ...@@ -95,6 +95,7 @@ class EntireQuery(object):
implicit_join=self.implicit_join, implicit_join=self.implicit_join,
) )
self.column_map = column_map self.column_map = column_map
if 1:
for extra_column in self.extra_column_list: for extra_column in self.extra_column_list:
table, column = extra_column.replace('`', '').split('.') table, column = extra_column.replace('`', '').split('.')
if table != self.catalog_table_name: if table != self.catalog_table_name:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment