Project

General

Profile

« Previous | Next » 

Revision 6444

db_xml.py: put_table(): Support None in_table by calling put() directly

View differences:

db_xml.py
217 217
    @return sql_gen.Col Where the pkeys (from INSERT RETURNING) are made
218 218
        available
219 219
    '''
220
    if in_table == None:
221
        return put(db, node, row_ins_ct_ref, on_error, col_defaults)
222
    
220 223
    in_table = sql_gen.as_Table(in_table)
221 224
    sql_io.mk_errors_table(db, in_table)
222 225
    in_table.set_srcs([in_table], overwrite=False)

Also available in: Unified diff