Commit afe373c6 authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent 362d60ab
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment