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

Method TearDownQueries

be/src/runtime/test-env.cc:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void TestEnv::TearDownQueries() {
126 for (RuntimeState* runtime_state : runtime_states_) runtime_state->ReleaseResources();
127 runtime_states_.clear();
128 for (QueryState* query_state : query_states_) {
129 query_state->ReleaseBackendResourceRefcount(); // Acquired by QueryState::Init()
130 exec_env_->query_exec_mgr()->ReleaseQueryState(query_state);
131 }
132 query_states_.clear();
133}
134
135int64_t TestEnv::CalculateMemLimit(int max_buffers, int block_size) {
136 DCHECK_GE(max_buffers, -1);

Callers 3

TEST_FFunction · 0.80
TestBlockVerificationMethod · 0.80
TestQueryTeardownMethod · 0.80

Calls 5

ReleaseQueryStateMethod · 0.80
query_exec_mgrMethod · 0.80
clearMethod · 0.65
ReleaseResourcesMethod · 0.45

Tested by

no test coverage detected