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

Remove windows ifdefs

This commit is contained in:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@ -1340,12 +1340,10 @@ void DMLProcessor::operator()()
fConcurrentSupport = false;
}
#ifndef _MSC_VER
struct sigaction ign;
memset(&ign, 0, sizeof(ign));
ign.sa_handler = added_a_pm;
sigaction(SIGHUP, &ign, 0);
#endif
fEC->Open();
for (;;)
@ -1626,9 +1624,6 @@ void DMLProcessor::operator()()
{
for (; i < numTries; i++)
{
#ifdef _MSC_VER
Sleep(rm_ts.tv_sec * 1000);
#else
struct timespec abs_ts;
// cout << "session " << sessionID << " nanosleep on package type " << (int)packageType << endl;
@ -1638,7 +1633,6 @@ void DMLProcessor::operator()()
abs_ts.tv_nsec = rm_ts.tv_nsec;
} while (nanosleep(&abs_ts, &rm_ts) < 0);
#endif
anyOtherActiveTransaction =
sessionManager.checkActiveTransaction(sessionID, bIsDbrmUp, blockingsid);