Project

General

Profile

« Previous | Next » 

Revision 5968

sql_io.py: put_table(): Switched back to using run_query_into()'s add_pkey_ option now that it uses sql.add_pkey_or_index() instead of sql.add_pkey()

View differences:

lib/sql_io.py
437 437
            sql.insert_select(db, into, [in_pkey, into_out_pkey], query,
438 438
                **kw_args)
439 439
        else:
440
            sql.run_query_into(db, query, into=into, **kw_args)
440
            sql.run_query_into(db, query, into=into, add_pkey_=True, **kw_args)
441 441
            pkeys_table_exists_ref[0] = True
442
            sql.add_pkey_or_index(db, into, warn=True)
443 442
    
444 443
    def mk_main_select(joins, cols): return sql.mk_select(db, joins, cols)
445 444
    

Also available in: Unified diff