提交 909d9ce4 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use more correct FETCH FIRST ROW in Analyze for better readability

上级 6b846676
...@@ -115,7 +115,7 @@ public class Analyze extends DefineCommand { ...@@ -115,7 +115,7 @@ public class Analyze extends DefineCommand {
} }
buff.append(" FROM ").append(table.getSQL()); buff.append(" FROM ").append(table.getSQL());
if (sample > 0) { if (sample > 0) {
buff.append(" FETCH NEXT ROW ONLY SAMPLE_SIZE ? "); buff.append(" FETCH FIRST ROW ONLY SAMPLE_SIZE ? ");
} }
String sql = buff.toString(); String sql = buff.toString();
Prepared command = session.prepare(sql); Prepared command = session.prepare(sql);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论