| 373 | } |
| 374 | |
| 375 | void RuntimeState::GetUnreportedAuxErrorInfo(AuxErrorInfoPB* aux_error_info) { |
| 376 | std::lock_guard<SpinLock> l(aux_error_info_lock_); |
| 377 | if (aux_error_info_ != nullptr) { |
| 378 | aux_error_info->CopyFrom(*aux_error_info_); |
| 379 | } |
| 380 | aux_error_info_ = nullptr; |
| 381 | reported_aux_error_info_ = true; |
| 382 | } |
| 383 | |
| 384 | const std::string& RuntimeState::GetEffectiveUser() const { |
| 385 | return impala::GetEffectiveUser(query_ctx().session); |
no test coverage detected