Revision 3069
Added by Aaron Marcuse-Kubitza over 12 years ago
bin/csv2db | ||
---|---|---|
130 | 130 |
log('Adding index on '+col.name) |
131 | 131 |
sql.add_index(db, col.name, table, ensure_not_null_=False) |
132 | 132 |
|
133 |
log('Reanalyzing table') |
|
134 |
sql.analyze(db, table) |
|
135 |
|
|
133 | 136 |
mk_errors_table() |
134 | 137 |
|
135 | 138 |
if errors_table_only: mk_errors_table() |
Also available in: Unified diff
csv2db: Reanalyze table, so that query planner stats are up to date even though the table doesn't need to be vacuumed anymore