Skip to content

Commit 3fa2133

Browse files
committed
Remove erroneous additional parentheses.
1 parent dd7d1c2 commit 3fa2133

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

benchmarks/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ def benchmark(thread_class):
8686
time.sleep(2.0)
8787

8888
query = session.prepare("""
89-
INSERT INTO {table} (thekey, col1, col2) VALUES (?, ?, ?))
89+
INSERT INTO {table} (thekey, col1, col2) VALUES (?, ?, ?)
9090
""".format(table=TABLE))
9191
values = ('key', 'a', 'b')
9292

93-
per_thread = options.num_ops / options.threads
93+
per_thread = options.num_ops // options.threads
9494
threads = []
9595

9696
log.debug("Beginning inserts...")

0 commit comments

Comments
 (0)