提交 62c639da authored 作者: noelgrandin's avatar noelgrandin

fix my last commit

上级 1bfcd233
......@@ -882,12 +882,13 @@ public class Parser {
// for MySQL compatibility
buff.append("SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA");
}
boolean b = session.getAllowLiterals();
try {
// need to temporarily turn this on, in case we are in ALLOW_LITERALS_NUMBERS mode
session.setAllowLiterals(true);
return prepare(session, buff.toString(), paramValues);
} finally {
session.setAllowLiterals(false);
session.setAllowLiterals(b);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论