Skip to content

Commit fb9e8ef

Browse files
fixup! Better support for merging UNION routes that use IN conditions.
Signed-off-by: Arthur Schreiber <[email protected]>
1 parent 47cea06 commit fb9e8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/vt/vtgate/planbuilder/operators/route_planning.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ func gen4ValEqual(ctx *plancontext.PlanningContext, a, b sqlparser.Expr) (bool,
525525
}
526526

527527
return aVal.Type == bVal.Type && bytes.Equal(aVal.Value, bVal.Value),
528-
[]engine.Condition{engine.Condition{A: a.Name, B: b.Name}}
528+
[]engine.Condition{{A: a.Name, B: b.Name}}
529529

530530
case *sqlparser.Literal:
531531
b, ok := b.(*sqlparser.Literal)

0 commit comments

Comments
 (0)