提交 73112de8 authored 作者: Thomas Mueller's avatar Thomas Mueller

Support non-persistent temp tables

上级 fd8b08fc
......@@ -1764,8 +1764,7 @@ public class Parser {
ExpressionColumn leftCol = (ExpressionColumn) r;
ExpressionColumn rightCol = (ExpressionColumn) right;
ObjectArray<TableFilter> filters = currentSelect.getTopFilters();
for (int i = 0; filters != null && i < filters.size(); i++) {
TableFilter f = filters.get(i);
for (TableFilter f : filters) {
while (f != null) {
leftCol.mapColumns(f, 0);
rightCol.mapColumns(f, 0);
......@@ -4694,8 +4693,12 @@ public class Parser {
command.setOnCommitTruncate();
}
} else if (readIf("NOT")) {
if (readIf("PERSISTENT")) {
command.setPersistData(false);
} else {
read("LOGGED");
}
}
} else if (!persistIndexes && readIf("NOT")) {
read("PERSISTENT");
command.setPersistData(false);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论