Commit 3fe5fe57 authored by unknown's avatar unknown
Browse files

DbdihMain.cpp:

  fix small error that jonas pointed out that would mean we always die on assert, intsead of just on error


ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
  fix small error that jonas pointed out that would mean we always die on assert, intsead of just on error
parent db2c1bee
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -10976,8 +10976,11 @@ void Dbdih::initCommonData()

  cnoReplicas = 1;
  ndb_mgm_get_int_parameter(p, CFG_DB_NO_REPLICAS, &cnoReplicas);
  if (cnoReplicas > 4)
  {
    progError(__LINE__, NDBD_EXIT_INVALID_CONFIG,
	      "Only up to four replicas are supported. Check NoOfReplicas.");
  }

  cgcpDelay = 2000;
  ndb_mgm_get_int_parameter(p, CFG_DB_GCP_INTERVAL, &cgcpDelay);