[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
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ def visit(arg, dirname, filenames):
|
||||||
|
|
||||||
values = (JID_ID, contact_name, tim, kind, show, message)
|
values = (JID_ID, contact_name, tim, kind, show, message)
|
||||||
cur.execute(sql, values)
|
cur.execute(sql, values)
|
||||||
con.commit()
|
con.commit()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print 'IMPORTNANT: PLEASE READ http://trac.gajim.org/wiki/MigrateLogToDot9DB'
|
print 'IMPORTNANT: PLEASE READ http://trac.gajim.org/wiki/MigrateLogToDot9DB'
|
||||||
|
|
Loading…
Add table
Reference in a new issue