1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Merge pull request #1016 from dhall-MariaDB/MCOL-3744

MCOL-3744 mcssystemready to work with SKIP_OAM_INIT
This commit is contained in:
benthompson15
2020-01-30 14:29:30 -06:00
committed by Patrick LeBlanc
parent 95f0caaf63
commit 7a16877aae

View File

@ -293,6 +293,16 @@ extern "C"
SystemStatus systemstatus; SystemStatus systemstatus;
try try
{
if (getenv("SKIP_OAM_INIT"))
{
if (dbrm.getSystemReady()
&& dbrm.getSystemQueryReady())
{
return 1;
}
}
else
{ {
oam.getSystemStatus(systemstatus); oam.getSystemStatus(systemstatus);
@ -303,6 +313,7 @@ extern "C"
return 1; return 1;
} }
} }
}
catch (...) catch (...)
{ {
*error = 1; *error = 1;