Skip to content

Commit b289e4b

Browse files
committed
Special handling for RawConcat
1 parent 45c9edb commit b289e4b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Orm/Xtensive.Orm/Sql/Compiler/SqlCompiler.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,18 @@ public virtual void Visit(SqlBinary node)
345345
return;
346346
}
347347

348+
if (node.NodeType == SqlNodeType.RawConcat) {
349+
AppendSpace();
350+
translator.Translate(context, node, NodeSection.Entry);
351+
node.Left.AcceptVisitor(this);
352+
AppendSpace();
353+
translator.Translate(context.Output, node.NodeType);
354+
node.Right.AcceptVisitor(this);
355+
translator.Translate(context, node, NodeSection.Exit);
356+
357+
return;
358+
}
359+
348360
using (context.EnterScope(node)) {
349361
AppendTranslatedEntry(node);
350362
node.Left.AcceptVisitor(this);

0 commit comments

Comments
 (0)