1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-06 16:09:29 +03:00

disable replication for ss

This commit is contained in:
david hill
2017-10-19 16:26:07 -05:00
parent c0423be1f4
commit b5331c0a41

View File

@@ -4974,6 +4974,12 @@ int processCommand(string* arguments)
case 46: // enableReplication case 46: // enableReplication
{ {
if ( SingleServerInstall == "y" ) {
// exit out since not on single-server install
cout << endl << "**** enableReplication Failed : not supported on a Single-Server type installs " << endl;
break;
}
string MySQLRep; string MySQLRep;
try { try {
oam.getSystemConfig("MySQLRep", MySQLRep); oam.getSystemConfig("MySQLRep", MySQLRep);
@@ -6081,6 +6087,12 @@ int processCommand(string* arguments)
case 51: // disableReplication case 51: // disableReplication
{ {
if ( SingleServerInstall == "y" ) {
// exit out since not on single-server install
cout << endl << "**** disableReplication Failed : not supported on a Single-Server type installs " << endl;
break;
}
string MySQLRep; string MySQLRep;
try { try {
oam.getSystemConfig("MySQLRep", MySQLRep); oam.getSystemConfig("MySQLRep", MySQLRep);