1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-3744 mcssystemready to work with SKIP_OAM_INIT

This commit is contained in:
David Hall
2020-01-24 12:33:03 -06:00
parent 011cc70e17
commit 2c814bd3ed

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;