Project

General

Profile

« Previous | Next » 

Revision 13005

fix: lib/sql_io.py: put_table(): don't warn if can't create pkey, because this just indicates that a set-returning function was used. this should get rid of the last of the confusing benign warnings in the test output.

View differences:

trunk/lib/sql_io.py
487 487
                **kw_args)
488 488
        else:
489 489
            kw_args.setdefault('add_pkey_', True)
490
            # don't warn if can't create pkey, because this just indicates that,
491
            # at some point in the import tree, it used a set-returning function
492
            kw_args.setdefault('add_pkey_warn', False)
490 493
            
491 494
            sql.run_query_into(db, query, into=into, **kw_args)
492 495
            pkeys_table_exists_ref[0] = True

Also available in: Unified diff