Revision 5505
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
490 | 490 |
else: cur = sql.delete(db, insert_in_table, not_cond) |
491 | 491 |
|
492 | 492 |
if failed or cur.rowcount > 0: # only if any rows failed cond |
493 |
track_data_error(db, errors_table_, sql_gen.cols_srcs(in_cols),
|
|
494 |
None, e.cause.pgcode, |
|
493 |
track_data_error(db, errors_table_, |
|
494 |
sql_gen.cross_join_srcs(in_cols), None, e.cause.pgcode,
|
|
495 | 495 |
strings.ensure_newl(e.cause.pgerror)+'condition: '+cond) |
496 | 496 |
|
497 | 497 |
not_null_cols = set() |
Also available in: Unified diff
sql_io.py: put_table(): ensure_cond(): track_data_error(): Concatenate the columns in the constraint together using , rather than adding a separate entry for each column, because the constraint is applicable to all columns together rather than to each column separately