Project

General

Profile

« Previous | Next » 

Revision 2128

db_xml.py: put_table(): Fixed bug where pkeys_table returned by recursive call to put_table() needed to be prefixed with $ to be treated as an input column name rather than a literal value

View differences:

lib/db_xml.py
157 157
        else:
158 158
            child_value = xml_dom.value_node(child)
159 159
            if is_ptr(child_name) or xml_func.is_func(child_value):
160
                table, row[child_name] = put_table_(child_value)
160
                table, col = put_table_(child_value)
161
                row[child_name] = '$'+col
161 162
                in_tables.append(table)
162 163
            else: children.append(child)
163 164
    try: del row[pkey_]

Also available in: Unified diff