Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Resolve merge / backport conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Bailey <[email protected]>
  • Loading branch information
Richard Bailey committed Mar 11, 2021
1 parent db7a79c commit 1f6f322
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions go/vt/vtctl/workflow/vexec/query_planner.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,14 +265,14 @@ func addDefaultWheres(planner QueryPlanner, where *sqlparser.Where) *sqlparser.W
Left: &sqlparser.ColName{
Name: sqlparser.NewColIdent(params.DBNameColumn),
},
Operator: sqlparser.EqualStr,
Right: sqlparser.NewStrVal([]byte(params.DBName)),
Operator: sqlparser.EqualOp,
Right: sqlparser.NewStrLiteral([]byte(params.DBName)),
}

switch newWhere {
case nil:
newWhere = &sqlparser.Where{
Type: sqlparser.WhereStr,
Type: sqlparser.WhereClause,
Expr: expr,
}
default:
Expand All @@ -288,8 +288,8 @@ func addDefaultWheres(planner QueryPlanner, where *sqlparser.Where) *sqlparser.W
Left: &sqlparser.ColName{
Name: sqlparser.NewColIdent(params.WorkflowColumn),
},
Operator: sqlparser.EqualStr,
Right: sqlparser.NewStrVal([]byte(params.Workflow)),
Operator: sqlparser.EqualOp,
Right: sqlparser.NewStrLiteral([]byte(params.Workflow)),
}

newWhere.Expr = &sqlparser.AndExpr{
Expand Down

0 comments on commit 1f6f322

Please sign in to comment.