Bug #31238 | perror doesn't include NDB error codes if not built with NDB | ||
---|---|---|---|
Submitted: | 27 Sep 2007 13:19 | Modified: | 12 Jun 2017 18:47 |
Reporter: | jack andrews | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.0 (.48) | OS: | Any |
Assigned to: | Daniel Fischer | CPU Architecture: | Any |
[27 Sep 2007 13:19]
jack andrews
[27 Sep 2007 14:01]
Hartmut Holzgraefe
Verified, given that mysql clients talking to a cluster enabled server don't need to be compiled with cluster specific stuff but might still receive ndb specific error codes back from the server ... Given that storage engines become more pluggable now it is probably better to have the perror functionality extended to retreive error code explanation info from the current server instead of using a statically compiled client side list?
[11 Oct 2007 12:22]
MySQL Verification Team
Bug: http://bugs.mysql.com/bug.php?id=31528 was marked as duplicate of this one.
[11 Mar 2008 6:17]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/43723 ChangeSet@1.2530, 2008-03-11 17:11:35+11:00, stewart@flamingspork.com +1 -0 [PATCH] Bug #31238, perror doesnt include NDB error codes if not built with NDB extra/perror.c
[12 Mar 2008 6:42]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/43800 ChangeSet@1.2536, 2008-03-12 17:41:32+11:00, stewart@willster.(none) +1 -0 Revert BUG#31238 fix (breaks non-ndb make dist builds)
[12 Jun 2017 18:47]
Erlend Dahl
Posted by developer: This is not a bug, but rather by design. How(or why) would you show error codes for a library or binary which is not part of the package.