You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-21 13:40:58 +03:00
Moved the early-exit code in postConfig s.t. it will still run the
mysql setup steps.
This commit is contained in:
@@ -695,12 +695,6 @@ int main(int argc, char* argv[])
|
||||
system(cmd.c_str());
|
||||
}
|
||||
|
||||
if (getenv("SKIP_OAM_INIT"))
|
||||
{
|
||||
cout << "SKIP_OAM_INIT is set, so will not start ColumnStore or init the system catalog" << endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
string idbstartcmd = "columnstore start";
|
||||
|
||||
{
|
||||
@@ -717,6 +711,12 @@ int main(int argc, char* argv[])
|
||||
mysqlSetup();
|
||||
sleep(5);
|
||||
|
||||
if (getenv("SKIP_OAM_INIT"))
|
||||
{
|
||||
cout << "SKIP_OAM_INIT is set, so will not start ColumnStore or init the system catalog" << endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
//start on local module
|
||||
int rtnCode = system(idbstartcmd.c_str());
|
||||
|
||||
@@ -738,6 +738,12 @@ int main(int argc, char* argv[])
|
||||
mysqlSetup();
|
||||
sleep(5);
|
||||
|
||||
if (getenv("SKIP_OAM_INIT"))
|
||||
{
|
||||
cout << "SKIP_OAM_INIT is set, so will not start ColumnStore or init the system catalog" << endl;
|
||||
exit(0);
|
||||
}
|
||||
|
||||
//startup mysqld and infinidb processes
|
||||
cout << endl;
|
||||
cmd = "clearShm > /dev/null 2>&1";
|
||||
|
||||
Reference in New Issue
Block a user