Revision 5824
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/sql_io.py | ||
---|---|---|
764 | 764 |
# otherwise, there is already an entry for every row |
765 | 765 |
|
766 | 766 |
assert (sql.table_row_count(db, into) |
767 |
== sql.table_row_count(db, full_in_table))
|
|
767 |
>= sql.table_row_count(db, full_in_table))
|
|
768 | 768 |
|
769 | 769 |
sql.empty_temp(db, insert_in_tables+[full_in_table]) |
770 | 770 |
|
Also available in: Unified diff
sql_io.py: put_table(): Assertion that into and full_in_table have the same row count: Allow into to have more rows than full_in_table, in case an input row matched multiple output rows. This should not happen for a properly-configured database, but seems to happen periodically nevertheless (currently, to the MO datasource) and should not abort the import when it does.