Bug #21934 perror: Add option for looking up SQLSTATE values
Submitted: 31 Aug 2006 0:06 Modified: 31 Aug 2006 1:21
Reporter: Paul DuBois Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Errors Severity:S4 (Feature request)
Version: OS:
Assigned to: CPU Architecture:Any
Tags: perror, SQLSTATE

[31 Aug 2006 0:06] Paul DuBois
Description:
perror is unable to look up SQLSTATE error values.

How to repeat:
% perror HY000
Illegal error code: 0

Suggested fix:
Add this capability, perhaps via an --sqlstate option that indicates
arguments should be interpreted as SQLSTATE values (similar
to the --ndb option that indicates arguments should be
intepreted as NDB error codes).
[31 Aug 2006 1:21] MySQL Verification Team
Thank you for the feature request.