提交 45b547a6 编写于 作者: S serge-rider

#3648 SQL formatter: CASE formatting fixed

上级 f5e30fbf
......@@ -220,8 +220,14 @@ public class SQLFormatterTokenized implements SQLFormatter {
case "DROP":
case "TRUNCATE":
case "TABLE":
if (!isCompact) {
indent++;
index += insertReturnAndIndent(argList, index + 1, indent);
}
break;
case "CASE": //$NON-NLS-1$
if (!isCompact) {
index += insertReturnAndIndent(argList, index - 1, indent);
indent++;
index += insertReturnAndIndent(argList, index + 1, indent);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册