[fix](config) fix memory config enable_query_memroy_overcommit spell problem #19898

This commit is contained in:
ZhangYu0123
2023-05-22 00:32:20 +08:00
committed by GitHub
parent 76c358b3e3
commit 1c950d6930
9 changed files with 12 additions and 12 deletions

View File

@ -285,7 +285,7 @@ Status RuntimeState::check_query_state(const std::string& msg) {
// If the thread MemTrackerLimiter exceeds the limit, an error status is returned.
// Usually used after SCOPED_ATTACH_TASK, during query execution.
if (thread_context()->thread_mem_tracker()->limit_exceeded() &&
!config::enable_query_memroy_overcommit) {
!config::enable_query_memory_overcommit) {
auto failed_msg = thread_context()->thread_mem_tracker()->query_tracker_limit_exceeded_str(
thread_context()->thread_mem_tracker()->tracker_limit_exceeded_str(),
thread_context()->thread_mem_tracker_mgr->last_consumer_tracker(), msg);