提交 bb49e9d8 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix setSQL() argument and help.sql

上级 a5472db7
...@@ -2689,7 +2689,7 @@ public class Parser { ...@@ -2689,7 +2689,7 @@ public class Parser {
ArrayList<Expression> expressions = new ArrayList<>(); ArrayList<Expression> expressions = new ArrayList<>();
expressions.add(new Wildcard(null, null)); expressions.add(new Wildcard(null, null));
command.setExpressions(expressions); command.setExpressions(expressions);
setSQL(command, "SELECT", start); setSQL(command, "TABLE", start);
return command; return command;
} else { } else {
throw getSyntaxError(); throw getSyntaxError();
......
...@@ -16,11 +16,11 @@ HELP ABCDE EF_GH; ...@@ -16,11 +16,11 @@ HELP ABCDE EF_GH;
HELP HELP; HELP HELP;
> ID SECTION TOPIC SYNTAX TEXT > ID SECTION TOPIC SYNTAX TEXT
> -- ---------------- ----- ----------------------- ---------------------------------------------------- > -- ---------------- ----- ----------------------- ----------------------------------------------------
> 65 Commands (Other) HELP HELP [ anything [...] ] Displays the help pages of SQL commands or keywords. > 66 Commands (Other) HELP HELP [ anything [...] ] Displays the help pages of SQL commands or keywords.
> rows: 1 > rows: 1
HELP he lp; HELP he lp;
> ID SECTION TOPIC SYNTAX TEXT > ID SECTION TOPIC SYNTAX TEXT
> -- ---------------- ----- ----------------------- ---------------------------------------------------- > -- ---------------- ----- ----------------------- ----------------------------------------------------
> 65 Commands (Other) HELP HELP [ anything [...] ] Displays the help pages of SQL commands or keywords. > 66 Commands (Other) HELP HELP [ anything [...] ] Displays the help pages of SQL commands or keywords.
> rows: 1 > rows: 1
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论