Skip to content

Commit

Permalink
Minor mods
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <[email protected]>
  • Loading branch information
rohit-nayak-ps committed Nov 2, 2023
1 parent fb86f1e commit 31539f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vttablet/tabletmanager/vdiff/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
AllActionArg = "all"
LastActionArg = "last"

allVDiffsCount = 100
maxVDiffsToReport = 100
)

var (
Expand Down Expand Up @@ -327,7 +327,7 @@ func (vde *Engine) handleShowAction(ctx context.Context, dbClient binlogplayer.D
query, err := sqlparser.ParseAndBind(sqlGetMostRecentVDiffByKeyspaceWorkflow,
sqltypes.StringBindVariable(req.Keyspace),
sqltypes.StringBindVariable(req.Workflow),
sqltypes.Int64BindVariable(allVDiffsCount),
sqltypes.Int64BindVariable(maxVDiffsToReport),
)
if err != nil {
return err
Expand Down

0 comments on commit 31539f0

Please sign in to comment.