1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Rescoped the tmpdir var, global -> class, in liboamcpp to fix a race.

This commit is contained in:
Patrick LeBlanc
2018-11-08 11:25:59 -06:00
parent 9be7210568
commit f830955be9
2 changed files with 1 additions and 2 deletions

View File

@ -82,8 +82,6 @@ using namespace oam;
using namespace logging; using namespace logging;
using namespace BRM; using namespace BRM;
string tmpdir;
namespace oam namespace oam
{ {
// flag to tell us ctrl-c was hit // flag to tell us ctrl-c was hit

View File

@ -2521,6 +2521,7 @@ private:
*/ */
void sendStatusUpdate(messageqcpp::ByteStream obs, messageqcpp::ByteStream::byte returnRequestType); void sendStatusUpdate(messageqcpp::ByteStream obs, messageqcpp::ByteStream::byte returnRequestType);
std::string tmpdir;
std::string CalpontConfigFile; std::string CalpontConfigFile;
std::string AlarmConfigFile; std::string AlarmConfigFile;
std::string ProcessConfigFile; std::string ProcessConfigFile;