Commit 071e4b1a authored by Vincent Pelletier's avatar Vincent Pelletier

ZSQLCatalog: Move catalog table registration out of ColumnMap.

registerCatalog method must be avoided whenever possible.
parent 058178f1
......@@ -416,7 +416,6 @@ class ColumnMap(object):
# now that we have all aliases, calculate missing joins comming from
# non-RelatedKey relationships (like full_text).
# and all left joins that did not come from explicit queries
# (i.e. joins comming from 'sort_on', 'select_dict', etc.)
......@@ -96,6 +96,9 @@ class EntireQuery(object):
self.column_map = column_map
if 1:
for extra_column in self.extra_column_list:
table, column = extra_column.replace('`', '').split('.')
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