Project

General

Profile

« Previous | Next » 

Revision 3531

sql_io.py: put_table(): Setting pkeys of missing rows: Fixed bug where also needed to do this when is_function if an empty pkeys table was created (due to an error that could not be localized to a row)

View differences:

sql_io.py
584 584
        
585 585
        sql.empty_temp(db, [insert_out_pkeys, insert_in_pkeys])
586 586
    
587
    if not is_function:
587
    if limit_ref[0] == 0 or not is_function: # is_function doesn't leave holes
588 588
        log_debug('Setting pkeys of missing rows to '
589 589
            +strings.as_tt(repr(default)))
590 590
        missing_rows_joins = [full_in_table, sql_gen.Join(into,

Also available in: Unified diff