| 253 | } |
| 254 | |
| 255 | void ThreadGroup::attachQueryForLog(const String & query_, UInt64 normalized_hash) |
| 256 | { |
| 257 | auto hash = normalized_hash ? normalized_hash : normalizedQueryHash(query_, false); |
| 258 | |
| 259 | std::lock_guard lock(mutex); |
| 260 | shared_data.query_for_logs = query_; |
| 261 | shared_data.normalized_query_hash = hash; |
| 262 | } |
| 263 | |
| 264 | void ThreadStatus::attachQueryForLog(const String & query_) |
| 265 | { |
nothing calls this directly
no test coverage detected