This commit is contained in:
Nikita Taranov 2024-09-09 13:04:45 +01:00
parent 0c14ac782e
commit 43d057ed0f
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ ProcessList::insert(const String & query_, const IAST * ast, ContextMutablePtr q
query_context, query_context,
query_, query_,
client_info, client_info,
priorities.insert(static_cast<int>(settings.priority)), priorities.insert(settings.priority),
std::move(thread_group), std::move(thread_group),
query_kind, query_kind,
settings, settings,

View File

@ -31,7 +31,7 @@ namespace DB
class QueryPriorities class QueryPriorities
{ {
public: public:
using Priority = int; using Priority = size_t;
private: private:
friend struct Handle; friend struct Handle;