[multani] commit in DB only once per file, noe migration is SO FAST !!! 2hours -> 3 minutes
This commit is contained in:
parent
362d60ab8f
commit
afe373c6f4
|
@ -229,7 +229,7 @@ def visit(arg, dirname, filenames):
|
|||
|
||||
values = (JID_ID, contact_name, tim, kind, show, message)
|
||||
cur.execute(sql, values)
|
||||
con.commit()
|
||||
con.commit()
|
||||
|
||||
if __name__ == '__main__':
|
||||
print 'IMPORTNANT: PLEASE READ http://trac.gajim.org/wiki/MigrateLogToDot9DB'
|
||||
|
|
Loading…
Reference in New Issue