1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-06 16:09:29 +03:00

Made mcsadmin and postConfigure print a warning if SKIP_OAM_INIT is set.

This commit is contained in:
Patrick LeBlanc
2019-06-10 08:10:10 -05:00
parent 15c256b011
commit 6193d2cda2
2 changed files with 14 additions and 0 deletions

View File

@@ -172,6 +172,13 @@ void setupSignalHandlers()
int main(int argc, char* argv[])
{
// print a warning if this is a developer build
#ifdef SKIP_OAM_INIT
cout << "SKIP_OAM_INIT is set" << endl;
sleep(2);
#endif
#ifndef _MSC_VER
setuid(0); // set effective ID to root; ignore return status
#endif

View File

@@ -215,6 +215,13 @@ typedef struct _thread_data_t
int main(int argc, char* argv[])
{
// print a warning if this is a developer build
#ifdef SKIP_OAM_INIT
cout << "SKIP_OAM_INIT is set" << endl;
sleep(2);
#endif
Oam oam;
string parentOAMModuleHostName;
ChildModuleList childmodulelist;