Commit b9690972 authored by Dan McGee's avatar Dan McGee Committed by Lukas Fleischer
Browse files

Use a single transaction to write dummy data

This is immensely faster when using InnoDB since we don't need to sync
after each and every INSERT statement.
Signed-off-by: default avatarDan McGee <>
Signed-off-by: default avatarLukas Fleischer <>
parent fcaee288
......@@ -54,6 +54,7 @@ if len(sys.argv) != 2:
# Just let python throw the errors if any happen
out = open(sys.argv[1], "w")
# make sure the seed file exists
......@@ -313,6 +314,7 @@ for p in seen_pkgs.keys():
# close output file
Supports Markdown
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