1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-03 17:13:17 +03:00

MCOL-455 Add check for system running to prevent mcsadmin crash

This commit is contained in:
David Hall
2017-01-20 13:35:13 -06:00
parent 19454718f9
commit edd8a30142

View File

@@ -719,6 +719,11 @@ int processCommand(string* arguments)
vector<uint32_t> srcDbroots; // all of the currently configured dbroots
vector<uint32_t> destDbroots; // srcDbroots - removeDbroots
set<int>::iterator dbiter;
if (!oam.checkSystemRunning())
{
cout << "Mariadb ColumnStore is not running" << endl;
break;
}
if (arguments[1] == "start")
{
// Get a list of all the configured dbroots in the xml file.