Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyiZzz committed Jan 14, 2025
1 parent d606557 commit cd1836b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/runtime/query_statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ void QueryStatisticsRecvr::insert(const PQueryStatistics& statistics, int sender

void QueryStatisticsRecvr::insert(QueryStatisticsPtr statistics, int sender_id) {
if (!statistics->collected()) return;
if (_query_statistics.contains(sender_id)) return;
std::lock_guard<SpinLock> l(_lock);
if (_query_statistics.contains(sender_id)) return;
_query_statistics[sender_id] = statistics;
}

Expand Down

0 comments on commit cd1836b

Please sign in to comment.