Skip to content

Commit 9dad1f0

Browse files
committed
Fix redundant database_path assignment in patch.py
1 parent 8ad87d8 commit 9dad1f0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ddtrace/contrib/internal/duckdb/patch.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ def _connect(func, instance, args, kwargs):
6666
db.SYSTEM: "duckdb",
6767
}
6868

69-
if database_path == ":memory:":
70-
tags[db.NAME] = "memory"
71-
else:
72-
tags[db.NAME] = database_path
73-
7469
pin = Pin(tags=tags)
7570

7671
# Choose cursor class based on trace_fetch_methods configuration

0 commit comments

Comments
 (0)