We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a3c95 commit dafeb2dCopy full SHA for dafeb2d
1 file changed
Orm/Xtensive.Orm.MySql/Sql.Drivers.MySql/v5_7/Compiler.cs
@@ -14,7 +14,6 @@ internal class Compiler : v5_6.Compiler
14
/// <inheritdoc/>
15
public override void Visit(SqlQueryExpression node)
16
{
17
- base.Visit(node);
18
using (context.EnterScope(node)) {
19
var wrapLeft = node.Left is SqlSelect sL
20
&& (sL.OrderBy.Count > 0 || sL.HasLimit || sL.Lock != SqlLockType.Empty);
@@ -40,7 +39,7 @@ public override void Visit(SqlQueryExpression node)
40
39
context.Output.AppendText(")");
41
}
42
else {
43
- node.Left.AcceptVisitor(this);
+ node.Right.AcceptVisitor(this);
44
45
46
context.Output.AppendText(translator.Translate(context, node, QueryExpressionSection.Exit));
0 commit comments