Bug #23028 perror bugs
Submitted: 5 Oct 2006 23:10 Modified: 7 Apr 2008 19:20
Reporter: Sergei Golubchik
Status: Closed
Category:Client Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: Bugs System Target Version:
Tags: usability
Triage: D4 (Minor)

[5 Oct 2006 23: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 7:29] Hartmut Holzgraefe
see also bug #30003
[18 Dec 2007 15:34] Sergei Golubchik
bug#10143
bug#25177
[19 Dec 2007 17:31] Sergei Golubchik
ok to push in 5.1
[20 Dec 2007 21:17] Oleksandr Byelkin
see patch for BUG#25177
[29 Mar 2008 17:11] Bugs System
Pushed into 5.1.24-rc
[31 Mar 2008 21: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 15:02] Bugs System
Pushed into 6.0.5-alpha
[7 Apr 2008 19:20] Paul DuBois
Noted in 6.0.5 changelog.