mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
fix issue for assert
This commit is contained in:
parent
2523f8f0c6
commit
024848cc1b
@ -110,7 +110,7 @@ OpenTelemetrySpanHolder::~OpenTelemetrySpanHolder()
|
||||
|
||||
// First of all, return old value of current span.
|
||||
auto & thread = CurrentThread::get();
|
||||
assert(thread.thread_trace_context.span_id = span_id);
|
||||
assert(thread.thread_trace_context.span_id == span_id);
|
||||
thread.thread_trace_context.span_id = parent_span_id;
|
||||
|
||||
// Not sure what's the best way to access the log from here.
|
||||
|
Loading…
Reference in New Issue
Block a user