Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
None
-
None
Description
Looking at this page:
https://mariadb.com/kb/en/mariadb/mariadb-documentation/sql-language-structure/mariadb-error-codes/
most errors seems to use the 'HY000' SQLSTATE, which is also used by several MySQL errors.
I think it would be a bit more informative if such errors have a MariaDB-specific SQLSTATE. For two reasons:
1) Applications and stored procedures which must handle them, will have a small hint.
2) If MySQL will use your error codes in a future release, we can distinguish MariaDB errors using the SQLSTATE.
In case you agree, I have a suggestion: 'MARIA' is a valid SQLSTATE ![]()