Bug #23028 perror bugs
Submitted: 5 Oct 2006 21:10 Modified: 7 Apr 2008 17:20
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Oleksandr Byelkin CPU Architecture:Any
Tags: usability

[5 Oct 2006 21:10] Sergei Golubchik
Description:
1. perror.c uses HAVE_SYS_ERRLIST, but configure does not check for sys_errlist
2. perror in 5.1 prints only the first found error, in 4.1 - all of them

How to repeat:
mysql-5.1/extra % ./perror 124
OS error code 124:  Wrong medium type
mysql-4.1/extra % ./perror 124
OS error code 124:  Wrong medium type
MySQL error code 124: Wrong index given to function
[7 Oct 2007 5:29] Hartmut Holzgraefe
see also bug #30003
[18 Dec 2007 14:34] Sergei Golubchik
bug#10143
bug#25177
[19 Dec 2007 16:31] Sergei Golubchik
ok to push in 5.1
[20 Dec 2007 20:17] Oleksandr Byelkin
see patch for BUG#25177
[29 Mar 2008 16:11] Bugs System
Pushed into 5.1.24-rc
[31 Mar 2008 19:42] Paul DuBois
Noted in in 5.1.24 changelogs.

perror reported incomplete or inaccurate information.

Resetting report to Patch queued waiting for push into 6.0.x.
[3 Apr 2008 13:02] Bugs System
Pushed into 6.0.5-alpha
[7 Apr 2008 17:20] Paul DuBois
Noted in 6.0.5 changelog.