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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.