You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
[MCOL-5001] Explicitly initialize startupRaceFlag
.
Explicitly initialize `startupRaceFlag_` to avoid PrimProc freezing on some platforms.
This commit is contained in:
@ -124,7 +124,7 @@ class ServicePrimProc : public Service, public Opt
|
||||
|
||||
private:
|
||||
// Since C++20 flag's init value is false.
|
||||
std::atomic_flag startupRaceFlag_;
|
||||
std::atomic_flag startupRaceFlag_{false};
|
||||
};
|
||||
|
||||
namespace primitiveprocessor
|
||||
|
Reference in New Issue
Block a user