Bug #41514 | ndb_print_schema_file segfaults and documentation is lacking | ||
---|---|---|---|
Submitted: | 16 Dec 2008 15:28 | Modified: | 16 Jan 2009 10:02 |
Reporter: | Alexander Yu | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S3 (Non-critical) |
Version: | mysql-5.1-telco-6.3 | OS: | Linux (2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux) |
Assigned to: | CPU Architecture: | Any | |
Tags: | 6.3.17, Backup, ndb, utilities |
[16 Dec 2008 15:28]
Alexander Yu
[16 Jan 2009 10:02]
Hartmut Holzgraefe
ndb_print_schema_file does indeed segfault when given something that is not a *.SchemaLog file as input, and the documentation is indeed not clear about what kind of file is exactly expected as input and does not help to interpret the output (on both valid and invalid files) either. Shouldn't the tool exit with an error code after detecting a wrong magic header != "NDBSCHEMA"?