提交 02f6aad5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 351: MySQL mode: can not create a table with the column "KEY", and can not…

Issue 351: MySQL mode: can not create a table with the column "KEY", and can not open databases where such a table already exists. (KEY is _not_ a keyword.)
上级 35a985a8
......@@ -454,7 +454,7 @@ unless they are quoted (surrounded with double quotes). The list is currently:
</p><p>
<code>
CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DISTINCT, EXCEPT, EXISTS, FALSE,
FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, KEY, LIKE, LIMIT, MINUS, NATURAL,
FOR, FROM, FULL, GROUP, HAVING, INNER, INTERSECT, IS, JOIN, LIKE, LIMIT, MINUS, NATURAL,
NOT, NULL, ON, ORDER, PRIMARY, ROWNUM, SELECT, SYSDATE, SYSTIME, SYSTIMESTAMP, TODAY,
TRUE, UNION, UNIQUE, WHERE
</code>
......
......@@ -21,7 +21,6 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul><li>Issue 351: MySQL mode: can not create a table with the column "KEY",
and can not open databases where such a table already exists.
(KEY is now a keyword.)
</li><li>TCP server: when using the trace option ("-trace"), the trace output contained
unnecessary stack traces when stopping the server.
</li><li>Issue 354: when using the multi-threaded kernel option,
......
......@@ -3438,8 +3438,6 @@ public class Parser {
return getKeywordOrIdentifier(s, "IS", KEYWORD);
case 'J':
return getKeywordOrIdentifier(s, "JOIN", KEYWORD);
case 'K':
return getKeywordOrIdentifier(s, "KEY", KEYWORD);
case 'L':
if ("LIMIT".equals(s)) {
return KEYWORD;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论