Revision 4473
Added by Aaron Marcuse-Kubitza about 12 years ago
map | ||
---|---|---|
343 | 343 |
|
344 | 344 |
if start == 0 and n == None: # doing full re-import |
345 | 345 |
log('Clearing errors table') |
346 |
sql.truncate(in_db, sql_io.errors_table(in_db, table))
|
|
346 |
sql.drop_table(in_db, sql_io.errors_table(in_db, table))
|
|
347 | 347 |
|
348 | 348 |
# Strip XML functions not in the DB |
349 | 349 |
xml_func.process(root, is_rel_func=is_rel_func) |
Also available in: Unified diff
bin/map: Clearing errors table: Fixed bug where needed to use sql.drop_table() instead of sql.truncate() now that errors tables are not created until column-based import runs