[MDEV-6414] MariaDB-specific SQLSTATE Created: 2014-07-01 Updated: 2014-07-01 Resolved: 2014-07-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Federico Razzoli | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Looking at this page: 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: In case you agree, I have a suggestion: 'MARIA' is a valid SQLSTATE |
| Comments |
| Comment by Sergei Golubchik [ 2014-07-01 ] |
|
Nice idea But that's generally not possible. Sqlstate values come directly from the SQL standard, it specifies exactly what every sqlstate means. HY000 is "general error" and we use it when no more specific sqlstate code is prescribed by the standard. |