Bug #81705 Remove "perror --ndb" from 7.5+
Submitted: 3 Jun 2016 8:53 Modified: 11 Jul 2018 9:15
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:7.5.3 OS:Any
Assigned to: CPU Architecture:Any

[3 Jun 2016 8:53] Magnus Blåudd
The "perror --ndb" functionality is being deprecated in MySQL Cluster 7.5 and should be removed in a future version of MySQL Cluster.

See BUG#23523926 

How to repeat:
After having implemented BUG#23523926  a deprecation warning would appear when using "perror --ndb". This warning and related code for looking up the textual description of NDB error codes should be removed.

Suggested fix:
Remove the NDB specfic code from extra/perror.c, it's all within WITH_NDBCLUSTER_STORAGE_ENGINE defines. Also remove the include of mgmapi_error.c (when define PERROR_VERSION) at the end of mgmapi_error.h
[11 Jul 2018 9:15] Jon Stephens
Documented feature change in the MySQL 8.0.13 and NDB 8.0.1 changelogs as follows:

    Removed the deprecated --ndb option for perror. Use ndb_perror
    to obtain NDB error message information instead.

    See also BUG#81704.