Revision 3311
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
336 | 336 |
|
337 | 337 |
not_null_cols = set() |
338 | 338 |
def ignore(in_col, value, e): |
339 |
in_col = sql_gen.with_table(in_col, insert_in_table) |
|
340 |
|
|
339 | 341 |
track_data_error(db, errors_table_, in_col.srcs, value, |
340 | 342 |
e.cause.pgcode, e.cause.pgerror) |
341 | 343 |
log_debug('Ignoring rows with '+strings.as_tt(repr(in_col))+' = ' |
Also available in: Unified diff
sql_io.py: put_table(): ignore(): Fixed bug where in_col's table needed to be changed to insert_in_table, because it's insert_in_table's rows that are being modified but mapping (which in_col comes from) qualifies columns by in_table