1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-3986 Explicit cast for logging::Message::Args::add calls.

This commit is contained in:
Roman Nozdrin
2020-05-11 15:27:14 +03:00
parent 04fdacb927
commit 0d82ad70a7

View File

@ -298,10 +298,10 @@ uint64_t ThreadPool::invoke(const Functor_T& threadfunc)
logging::Message::Args args;
logging::Message message(5);
args.add("invoke: Blocked waiting for thread. Count ");
args.add(fThreadCount);
args.add(static_cast<uint64_t>(fThreadCount));
args.add("max ");
args.add(fMaxThreads);
message.format( args );
args.add(static_cast<uint64_t>(fMaxThreads));
message.format(args);
logging::LoggingID lid(22);
logging::MessageLog ml(lid);
ml.logWarningMessage( message );