@@ -345,6 +345,18 @@ public virtual void Visit(SqlBinary node)
345
345
return ;
346
346
}
347
347
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
+
348
360
using ( context . EnterScope ( node ) ) {
349
361
AppendTranslatedEntry ( node ) ;
350
362
node . Left . AcceptVisitor ( this ) ;
@@ -1385,7 +1397,7 @@ public virtual void Visit(SqlOrder node)
1385
1397
else if ( node . Position > 0 ) {
1386
1398
_ = context . Output . Append ( node . Position . ToString ( ) ) ;
1387
1399
}
1388
- AppendSpaceIfNecessary ( ) ;
1400
+ AppendSpace ( ) ;
1389
1401
translator . Translate ( context , node , NodeSection . Exit ) ;
1390
1402
}
1391
1403
}
@@ -1608,7 +1620,9 @@ protected virtual void VisitSelectFrom(SqlSelect node)
1608
1620
return ;
1609
1621
}
1610
1622
1611
- AppendTranslated ( node , SelectSection . From ) ;
1623
+ AppendSpace ( ) ;
1624
+ translator . Translate ( context , node , SelectSection . From ) ;
1625
+ AppendSpace ( ) ;
1612
1626
1613
1627
var joinedFrom = node . From as SqlJoinedTable ;
1614
1628
var linearJoinRequired = CheckFeature ( QueryFeatures . StrictJoinSyntax ) && joinedFrom != null ;
@@ -2790,6 +2804,7 @@ protected void AppendTranslated(SqlNative node)
2790
2804
{
2791
2805
AppendSpaceIfNecessary ( ) ;
2792
2806
translator . Translate ( context , node ) ;
2807
+ AppendSpaceIfNecessary ( ) ;
2793
2808
}
2794
2809
2795
2810
protected void AppendTranslated ( SqlAssignment node , NodeSection section ) =>
0 commit comments