提交 f7deacda authored 作者: Thomas Mueller's avatar Thomas Mueller

The INSERT optimizations (INSERT ... DIRECT SORTED SELECT) were not parsed…

The INSERT optimizations (INSERT ... DIRECT SORTED SELECT) were not parsed correctly when using a column list. 
上级 ba5baa94
......@@ -179,6 +179,12 @@ public class Insert extends Prepared implements ResultTarget {
buff.append(c.getSQL());
}
buff.append(")\n");
if (insertFromSelect) {
buff.append("DIRECT ");
}
if (sortedInsertMode) {
buff.append("SORTED ");
}
if (list.size() > 0) {
buff.append("VALUES ");
int row = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论