Skip to content

Commit

Permalink
sql_loop: conn.commit made loading to a db on disk very slow
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Brown committed Feb 5, 2009
1 parent 479cb61 commit 9f33a77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion misc/sql_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def LoadFile(f, table_name, conn):
if len(row) < len(columns):
row.extend([None] * (len(columns) - len(row)))
c.execute(insert_values, row)
conn.commit()
#c.execute("END TRANSACTION;")
conn.commit()

Expand Down

0 comments on commit 9f33a77

Please sign in to comment.