提交 84341b98 authored 作者: Noel Grandin's avatar Noel Grandin

<li>Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression

上级 990e81ce
......@@ -21,6 +21,8 @@ Change Log
<h2>Next Version (unreleased)</h2>
<ul>
<li>Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression
</li>
<li>Support OFFSET without LIMIT in SELECT
</li>
<li>Improve error message for METHOD_NOT_FOUND_1/90087
......
......@@ -171,6 +171,10 @@ public class Update extends Prepared {
if (condition != null) {
buff.append("\nWHERE ").append(StringUtils.unEnclose(condition.getSQL()));
}
if (limitExpr != null) {
buff.append("\nLIMIT ").append(
StringUtils.unEnclose(limitExpr.getSQL()));
}
return buff.toString();
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论