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
Remove windows ifdefs
This commit is contained in:
@ -46,11 +46,7 @@ BlockRequestProcessor::BlockRequestProcessor(uint32_t numBlcks, int thrCount, in
|
||||
config::Config* fConfig = config::Config::makeConfig();
|
||||
string val = fConfig->getConfig("DBBC", "BRPTracing");
|
||||
int temp = 0;
|
||||
#ifdef _MSC_VER
|
||||
int tid = GetCurrentThreadId();
|
||||
#else
|
||||
pthread_t tid = pthread_self();
|
||||
#endif
|
||||
|
||||
if (val.length() > 0)
|
||||
temp = static_cast<int>(config::Config::fromText(val));
|
||||
@ -63,11 +59,7 @@ BlockRequestProcessor::BlockRequestProcessor(uint32_t numBlcks, int thrCount, in
|
||||
if (fTrace)
|
||||
{
|
||||
ostringstream brpLogFileName;
|
||||
#ifdef _MSC_VER
|
||||
brpLogFileName << "C:/Calpont/log/trace/brp." << tid;
|
||||
#else
|
||||
brpLogFileName << MCSLOGDIR << "/trace/brp." << tid;
|
||||
#endif
|
||||
fLogFile.open(brpLogFileName.str().c_str(), ios_base::app | ios_base::ate);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user