Bug #35171 ndb_mgmd only reports first error in a config file
Submitted: 9 Mar 2008 9:30 Modified: 9 Mar 2008 9:32
Reporter: Hartmut Holzgraefe Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: 5.1.22, usability

[9 Mar 2008 9:30] Hartmut Holzgraefe
Description:
It woud be nice to have a tool to validate a config file that would report all errors instead of just bailing out after reporting the first one so that these can be fixed all in one go instead of one by one

How to repeat:
with a broken config like:

  [ndbd]
  foo=bar
  bar=foo

only the first unknown parameter is reported, not both:

  $ /ndb_mgmd --print-full-config config.ini 
  Error line 2: [DB] Unknown parameter: foo
  Error line 2: Could not parse name-value pair in config file.
  Invalid configuration file: config.ini