提交 4c16908c authored 作者: noelgrandin's avatar noelgrandin

add a comment

上级 9a083a0a
...@@ -95,6 +95,8 @@ public class CreateView extends SchemaCommand { ...@@ -95,6 +95,8 @@ public class CreateView extends SchemaCommand {
} }
querySQL = select.getPlanSQL(); querySQL = select.getPlanSQL();
} }
// The view creates a Prepared command object, which belongs to a session, so we pass
// the system session down.
Session sysSession = db.getSystemSession(); Session sysSession = db.getSystemSession();
try { try {
if (view == null) { if (view == null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论