Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Jun 15, 2024
1 parent 8519ffb commit e09c4b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp-ch/local-engine/Common/CHUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ void BackendInitializerUtil::initContexts(DB::Context::ConfigurationPtr config)

/// Initialize a dummy query cache.
global_context->setQueryCache(0, 0, 0, 0);

// We must set the application type to CLIENT to avoid ServerUUID::get() throw exception
global_context->setApplicationType(Context::ApplicationType::CLIENT);
}
}

Expand Down

0 comments on commit e09c4b5

Please sign in to comment.