Project

General

Profile

« Previous | Next » 

Revision 2685

csv2db: Vacuum the created table

View differences:

bin/csv2db
116 116
            sql.add_index(db, sql_gen.Col(name, table))
117 117
            db.db.commit()
118 118
        
119
        log('Vacuuming table')
120
        db.db.rollback()
121
        sql.vacuum(db, table)
122
        
119 123
        log('Creating errors table')
120 124
        typed_cols = [sql_gen.TypedCol('column', 'text NOT NULL'),
121 125
            sql_gen.TypedCol('value', 'text'),

Also available in: Unified diff