Skip to content

Commit

Permalink
feat: fix build issues post merge
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <manan@planetscale.com>
  • Loading branch information
GuptaManan100 committed Feb 28, 2024
1 parent 5ee1f00 commit f7d9420
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtgate/planbuilder/operators/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ func updateWithInputPlanningForFk(ctx *plancontext.PlanningContext, upd *sqlpars

upd.Where = sqlparser.NewWhere(sqlparser.WhereClause, compExpr)
return &DMLWithInput{
DML: createOperatorFromUpdate(ctx, upd),
DML: []Operator{createOperatorFromUpdate(ctx, upd)},
Source: createOperatorFromSelect(ctx, selectStmt),
cols: cols,
cols: [][]*sqlparser.ColName{cols},
}
}

Expand Down
4 changes: 2 additions & 2 deletions go/vt/vtgate/planbuilder/testdata/foreignkey_cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -3817,7 +3817,7 @@
"OperatorType": "DMLWithInput",
"TargetTabletType": "PRIMARY",
"Offset": [
0
"0:[0]"
],
"Inputs": [
{
Expand Down Expand Up @@ -3894,7 +3894,7 @@
"OperatorType": "DMLWithInput",
"TargetTabletType": "PRIMARY",
"Offset": [
0
"0:[0]"
],
"Inputs": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@
"OperatorType": "DMLWithInput",
"TargetTabletType": "PRIMARY",
"Offset": [
0
"0:[0]"
],
"Inputs": [
{
Expand Down

0 comments on commit f7d9420

Please sign in to comment.