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

MCOL-453 - added check to not allow removemodule to run on non-parent

This commit is contained in:
David Hill
2016-12-12 11:59:51 -06:00
parent f88164ed64
commit fae09df1b7

View File

@@ -5567,6 +5567,12 @@ int processCommand(string* arguments)
break; break;
} }
if ( localModule != parentOAMModule ) {
// exit out since not on Parent OAM Module
cout << endl << "**** addModule Failed : only should be run on the Parent OAM Module, which is '" << parentOAMModule << "'" << endl;
break;
}
switch ( serverInstallType ) { switch ( serverInstallType ) {
case (oam::INSTALL_COMBINE_DM_UM_PM): case (oam::INSTALL_COMBINE_DM_UM_PM):
{ {