Project

General

Profile

« Previous | Next » 

Revision 3478

sql_io.py: put_table(): is_function: Creating empty pkeys table so its row type can be used: Don't do this if is_literals because special error handling does not apply to that

View differences:

lib/sql_io.py
418 418
                insert_into_pkeys(input_joins, [in_pkey_col, func_call],
419 419
                    limit=limit, recover=True)
420 420
            
421
            # Create empty pkeys table so its row type can be used
422
            insert_func_call(limit=0)
421
            if not is_literals:
422
                # Create empty pkeys table so its row type can be used
423
                insert_func_call(limit=0)
423 424
        else:
424 425
            insert_args = dict(recover=True, cacheable=False)
425 426
            if has_joins:

Also available in: Unified diff