Skip to content

Commit

Permalink
remove onecase
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
  • Loading branch information
harshit-gangal committed Jun 10, 2024
1 parent 67d5523 commit 0107ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/vt/vtgate/planbuilder/operators/subquery_planning.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func rewriteMergedSubqueryExpr(ctx *plancontext.PlanningContext, se SubQueryExpr
return true
}
case *sqlparser.Argument:
if expr.Name != sq. /**/ ArgName {
if expr.Name != sq.ArgName {
return true
}
default:
Expand Down
3 changes: 2 additions & 1 deletion go/vt/vtgate/planbuilder/testdata/onecase.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[
{
"comment": "Add your test case here for debugging and run go test -run=One.",
"query": "SELECT id, name, (SELECT COUNT(*) FROM user_extra) AS total_extra_count FROM user GROUP BY id, name ORDER BY total_extra_count",
"query": "",
"plan": {

}
}
]

0 comments on commit 0107ddc

Please sign in to comment.