Bug #59224 Add new 5.5 keywords to getSQLKeywords()

Submitted: 30 Dec 2010 0:11 Modified: 10 Jan 2011 13:03
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.14 OS:Any
Assigned to: Todd Farmer CPU Architecture:Any

[30 Dec 2010 0:11] Todd Farmer
Description:
MySQL 5.5 introduced new reserved words:

http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html

Because MySQL Server does not provide a mechanism to expose reserved words, Connector/J has a hard-coded list which is used in DatabaseMetaData.getSQLKeywords().  This was last updated with the release of 5.1.16, per the comments, and requires updates for 5.5 GA release.

How to repeat:
Compare DatabaseMetaData.getSQLKeywords() to 5.5 reserved words list.

Suggested fix:
Add 5.5 reserved words.
[30 Dec 2010 0:20] Todd Farmer
Pushed in r1034.
[10 Jan 2011 13:03] Tony Bedford
An entry has been added to the 5.1.15 changelog:

The hard-coded list of reserved words in Connector/J was not updated to reflect the list of reserved words in MySQL Server 5.5.

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

Page generated in 0.054 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.