MCPcopy Create free account
hub / github.com/apache/impala / ClearErrorMap

Function ClearErrorMap

be/src/util/error-util.cc:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void ClearErrorMap(ErrorLogMap& errors) {
121 for (auto& err : errors) {
122 err.second.mutable_messages()->Clear();
123 err.second.set_count(0);
124 }
125}
126
127size_t ErrorCount(const ErrorLogMap& errors) {
128 ErrorLogMap::const_iterator cit = errors.find(TErrorCode::GENERAL);

Callers 2

GetUnreportedErrorsMethod · 0.85
TESTFunction · 0.85

Calls 1

ClearMethod · 0.45

Tested by 1

TESTFunction · 0.68