Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
The SQL syntax error message client receives is a bit verbose, as the 2 examples below demonstrates:
MariaDB [(none)]> select *
|
-> fromm
|
-> users;
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fromm
|
users' at line 2
|
It probably could be made more concise with something like this:
MariaDB [(none)]> select *
|
-> fromm
|
-> users;
|
ERROR 1064 (42000): syntax error; check https://mariadb.com/kb/en/sql-statements/ for the right syntax to use near 'fromm
|
users' at line 2
|
Relevant PR and bug reports:
https://github.com/MariaDB/server/pull/1992
https://bugs.mysql.com/bug.php?id=28466