You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +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:
|
private:
|
||||||
// Since C++20 flag's init value is false.
|
// Since C++20 flag's init value is false.
|
||||||
std::atomic_flag startupRaceFlag_;
|
std::atomic_flag startupRaceFlag_{false};
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace primitiveprocessor
|
namespace primitiveprocessor
|
||||||
|
Reference in New Issue
Block a user