Revision 2350
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
820 | 820 |
try: in_col = mapping[out_col] |
821 | 821 |
except KeyError: # no mapping for missing col, so every row invalid |
822 | 822 |
db.log_debug('Missing mapping for '+out_col) |
823 |
run_query_into_pkeys(*mk_select(db, insert_joins,
|
|
823 |
run_query_into_pkeys(*mk_select(db, input_joins,
|
|
824 | 824 |
[in_pkey_col, sql_gen.NamedCol(out_pkey, None)], start=0)) |
825 | 825 |
break |
826 | 826 |
else: |
Also available in: Unified diff
sql.py: put_table(): NullValueException: no mapping for missing col: Fixed bug where run_query_into_pkeys() was still using insert_joins instead of input_joins