Description.  Like ndb_mgm_stop(), this function stops one or more data nodes. However, it offers the ability to specify whether or not the nodes shut down gracefully.


int ndb_mgm_stop2
      NdbMgmHandle handle,
      int          number,
      const int*   list,
      int          abort

Parameters.  ndb_mgm_stop2() takes 4 parameters:

Return value.  The number of nodes actually stopped; in the event of failure, -1 is returned.