提交 d1ae0048 authored 作者: Noel Grandin's avatar Noel Grandin

Fix bug in parsing ANALYZE TABLE xxx SAMPLE_SIZE yyy

上级 5b81d2b9
...@@ -21,6 +21,8 @@ Change Log ...@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul> <ul>
<li>Fix bug in parsing ANALYZE TABLE xxx SAMPLE_SIZE yyy
</li>
<li>Issue#479 Allow non-recursive CTEs (WITH statements), patch from stumc <li>Issue#479 Allow non-recursive CTEs (WITH statements), patch from stumc
</li> </li>
<li>Fix startup issue when using "CHECK" as a column name. <li>Fix startup issue when using "CHECK" as a column name.
......
...@@ -554,7 +554,6 @@ public class Parser { ...@@ -554,7 +554,6 @@ public class Parser {
if (readIf("TABLE")) { if (readIf("TABLE")) {
Table table = readTableOrView(); Table table = readTableOrView();
command.setTable(table); command.setTable(table);
command.setTop(readPositiveInt());
} }
if (readIf("SAMPLE_SIZE")) { if (readIf("SAMPLE_SIZE")) {
command.setTop(readPositiveInt()); command.setTop(readPositiveInt());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论