[multani] commit in DB only once per file, noe migration is SO FAST !!! 2hours -> 3 minutes

This commit is contained in:
Yann Leboulanger 2005-11-26 13:53:29 +00:00
parent 362d60ab8f
commit afe373c6f4
1 changed files with 1 additions and 1 deletions

View File

@ -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'