Project

General

Profile

« Previous | Next » 

Revision 2754

sql.py: mk_insert_select(): Run sql_gen.remove_table_rename() on table to get just the actual name in the DB

View differences:

lib/sql.py
589 589
        Warning: If you set this and cacheable=True when the query is run, the
590 590
        query will be fully cached, not just if it raises an exception.
591 591
    '''
592
    table = sql_gen.as_Table(table)
592
    table = sql_gen.remove_table_rename(sql_gen.as_Table(table))
593 593
    if cols == []: cols = None # no cols (all defaults) = unknown col names
594 594
    if cols != None:
595 595
        cols = [sql_gen.to_name_only_col(v, table).to_str(db) for v in cols]

Also available in: Unified diff