From 1900dd53bf833f8bdf768ecbf89926e275a24d48 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 21 Nov 2024 13:42:53 +0100 Subject: [PATCH] db: Fix a broken span context pointer --- db/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/utils.c b/db/utils.c index dc9b79bc6..b73fda396 100644 --- a/db/utils.c +++ b/db/utils.c @@ -142,7 +142,7 @@ bool db_query_prepared_canfail(struct db_stmt *stmt) bool ret; assert(stmt->query->readonly); trace_span_start("db_query_prepared", stmt); - trace_span_tag(&ret, "query", stmt->query->query); + trace_span_tag(stmt, "query", stmt->query->query); ret = stmt->db->config->query_fn(stmt); stmt->executed = true; list_del_from(&stmt->db->pending_statements, &stmt->list);