Commit 50f0c7cd authored by unknown's avatar unknown
Browse files

BUG#19787 Modify correct message when some important variables are changed but...

BUG#19787 Modify correct message when some important variables are changed but cannot be applied by online


ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  Modify error message when illegal configuration changed.
parent 8aafa541
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -6488,7 +6488,13 @@ void Dbdih::execCREATE_FRAGMENTATION_REQ(Signal * signal){
        }//for
      }
    }
    ndbrequire(count == (2 + noOfReplicas * noOfFragments)); 
    if(count != (2 + noOfReplicas * noOfFragments)){
        char buf[255];
        BaseString::snprintf(buf, sizeof(buf),
                           "Illegal configuration change: NoOfReplicas."
                           " Can't be applied online ");
        progError(__LINE__, NDBD_EXIT_INVALID_CONFIG, buf);
    }
    
    CreateFragmentationConf * const conf = 
      (CreateFragmentationConf*)signal->getDataPtrSend();