Revision 3080
Added by Aaron Marcuse-Kubitza over 12 years ago
csv2db | ||
---|---|---|
14 | 14 |
import exc |
15 | 15 |
import opts |
16 | 16 |
import sql |
17 |
import sql_io |
|
17 | 18 |
import sql_gen |
18 | 19 |
import streams |
19 | 20 |
import strings |
... | ... | |
47 | 48 |
|
48 | 49 |
def mk_errors_table(): |
49 | 50 |
log('Creating errors table') |
50 |
errors_table = sql.errors_table(db, table, if_exists=False) |
|
51 |
errors_table = sql_io.errors_table(db, table, if_exists=False)
|
|
51 | 52 |
sql.drop_table(db, errors_table) |
52 | 53 |
typed_cols = [ |
53 | 54 |
sql_gen.TypedCol('column', 'text', nullable=False), |
Also available in: Unified diff
Moved error tracking from sql.py to sql_io.py