Skip to content

Commit afcaada

Browse files
committed
Fix run sampling transaction.
but There are still problems...
1 parent 349b722 commit afcaada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgopttune/workload/my_transaction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run(self, postgres_server_config: PostgresServerConfig):
2727
query_start_time = time.time()
2828
if "vacuum" in self.statement[index].lower():
2929
cur.execute("END;")
30-
cur.execute(self.statement[index])
30+
cur.execute(self.statement[index])
3131
# logger.info("Execute Statement : {}".format(self.statement[index]))
3232
elapsed_times += (time.time() - query_start_time)
3333
return elapsed_times

0 commit comments

Comments
 (0)