Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
3.4.0
-
None
Description
After CONJ-1170, DatabaseMetadata.getSQLKeywords() list all MariaDB keywords (minus SQL2003 reserved keywords).
SQL distinguishes between reserved and non-reserved key words. According to the standard, reserved key words are the only real key words; they are never allowed as identifiers. Non-reserved key words only have a special meaning in particular contexts and can be used as identifiers in other contexts.
The use of DatabaseMetadata.getSQLKeywords() is for frameworks to identify reserved words force quoting for example.
DatabaseMetadata.getSQLKeywords() must only list reserved key words, not reserved and non-reserved key word