Skip to content

Commit 0bc707e

Browse files
authored
Update replay.py
Remove the IF condition to avoid bug when `source_tag` is not provided
1 parent 11b5785 commit 0bc707e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/SimpleReplay/replay.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ def save_query_stats(self, starttime, endtime, xid, query_idx):
397397
)
398398

399399
def get_tagged_sql(self, query_text, idx, transaction, connection):
400-
if g_config.get("source_tag", None):
401400
json_tags = {
402401
"xid": transaction.xid,
403402
"query_idx": idx,

0 commit comments

Comments
 (0)