Commit 4230d763 authored by 段廷瑞's avatar 段廷瑞

fix: 格式化关键字前序空格缺失修复

parent beca36c3
......@@ -933,6 +933,7 @@ namespace Tools.UI
if (kw == "ON")
{
// db_helper: JOIN + ON 同行
if (NeedsLeadingSpace(prevType))
sb.Append(' ');
sb.Append(kw);
sb.Append(' ');
......@@ -989,6 +990,8 @@ namespace Tools.UI
}
if (kw == "THEN")
{
if (NeedsLeadingSpace(prevType))
sb.Append(' ');
sb.Append(kw);
sb.Append(' ');
newline = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment