Skip to content

Commit

Permalink
hammer: Clean up the table afterward
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Jun 15, 2015
1 parent a7a1caf commit c151fbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hammer.py
Expand Up @@ -29,3 +29,5 @@
print("Statistics may be invalid.")

print("Completed %d transactions in %f seconds: %f tps" % (ok, tm, ok/tm))
with conn, conn.cursor() as cur:
cur.execute("drop table if exists hammer")

0 comments on commit c151fbd

Please sign in to comment.