mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
db: Fix a broken span context pointer
This commit is contained in:
parent
4f3ea8c048
commit
1900dd53bf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user