Revision 4025
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
549 | 549 |
|
550 | 550 |
if is_literals: |
551 | 551 |
return sql.value(sql.select(db, out_table, [out_pkey_col], |
552 |
mapping, order_by=None))
|
|
552 |
join_cols, order_by=None))
|
|
553 | 553 |
|
554 | 554 |
# Uniquify input table to avoid internal duplicate keys |
555 | 555 |
insert_in_table = sql.distinct_table(db, insert_in_table, |
Also available in: Unified diff
sql_io.py: put_table(): DuplicateKeyException: is_literals: Fixed bug where sql.select() needed to select on just the join_cols, not the whole mapping