mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
Fix compilation on osx (where UInt64 and size_t is different)
This commit is contained in:
parent
8c69245283
commit
aa656f95dd
@ -275,7 +275,7 @@ QueryPipeline InterpreterSelectWithUnionQuery::executeWithProcessors()
|
||||
// nested queries can force 1 thread (due to simplicity)
|
||||
// but in case of union this cannot be done.
|
||||
UInt64 max_threads = context->getSettingsRef().max_threads;
|
||||
main_pipeline.setMaxThreads(std::min(nested_interpreters.size(), max_threads));
|
||||
main_pipeline.setMaxThreads(std::min<UInt64>(nested_interpreters.size(), max_threads));
|
||||
}
|
||||
|
||||
main_pipeline.addInterpreterContext(context);
|
||||
|
Loading…
Reference in New Issue
Block a user