diff options
author | unknown <stewart@mysql.com> | 2005-11-29 08:42:36 +0100 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2005-11-29 08:42:36 +0100 |
commit | 51e027eb3d41e1a4725ebfb1a3e14321b3d764bc (patch) | |
tree | 65d62dbccb83e65379bf9b9ed85ad1b923bf1634 /ndb | |
parent | dc3e736bff2975e9c170acfdf39b717771cf1bd7 (diff) | |
download | mariadb-git-51e027eb3d41e1a4725ebfb1a3e14321b3d764bc.tar.gz |
DbdihMain.cpp:
management server performs this check on configuration. If we get this far with something incorrect, something is very wrong.
ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
management server performs this check on configuration. If we get this far with something incorrect, something is very wrong.
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/kernel/blocks/dbdih/DbdihMain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp b/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp index ca066b588e7..d666f9d3488 100644 --- a/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp +++ b/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp @@ -10976,7 +10976,8 @@ void Dbdih::initCommonData() cnoReplicas = 1; ndb_mgm_get_int_parameter(p, CFG_DB_NO_REPLICAS, &cnoReplicas); - cnoReplicas = cnoReplicas > 4 ? 4 : cnoReplicas; + 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); |