Skip to content

Commit

Permalink
be ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryange committed Oct 9, 2024
1 parent c11dd33 commit 09afd49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions be/src/runtime/runtime_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,12 @@ bool RuntimeState::enable_page_cache() const {
}

bool RuntimeState::is_nereids() const {
#ifdef BE_TEST
if (_query_ctx == nullptr) {
return false;
}
#endif
DCHECK(_query_ctx);
return _query_ctx->is_nereids();
}
} // end namespace doris

0 comments on commit 09afd49

Please sign in to comment.