Project

General

Profile

« Previous | Next » 

Revision 3620

db_xml.py: put_table(): Subsetting and partitioning in_table: Documented that it's OK to do this even if table already the right size because it takes <1 sec

View differences:

lib/db_xml.py
152 152
        return put_table(db, node, in_table, in_row_ct_ref, row_ins_ct_ref,
153 153
            None, 0, on_error, parent_ids_loc, next, col_defaults, False)
154 154
    
155
    # Subset and/or partition in_table if needed
155
    # Subset and partition in_table
156
    # OK to do even if table already the right size because it takes <1 sec.
156 157
    if top_call:
157 158
        db.autoanalyze = True # but don't do this in row-based import
158 159
        db.autoexplain = True # but don't do this in row-based import

Also available in: Unified diff