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

Method Validate

be/src/service/impala-server.h:1378–1380  ·  view source on GitHub ↗

Return true iff the check should be skipped or the secret matches 'other'. All validation should be done via this function to avoid subtle errors.

Source from the content-addressed store, hash-verified

1376 /// Return true iff the check should be skipped or the secret matches 'other'.
1377 /// All validation should be done via this function to avoid subtle errors.
1378 bool Validate(const TUniqueId& other) const {
1379 return skip_validation_ || ConstantTimeCompare(other) == 0;
1380 }
1381
1382 bool is_session_secret() const { return is_session_secret_; }
1383 TUniqueId query_id() const {

Callers 2

CloseSessionInternalMethod · 0.45
GetSessionStateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected