Skip to content

Commit

Permalink
chore: remove repetitive words (#15449)
Browse files Browse the repository at this point in the history
Signed-off-by: pavedroad <qcqs@outlook.com>
  • Loading branch information
pavedroad authored Mar 13, 2024
1 parent d119295 commit 09bb2e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go/mysql/icuregex/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func (c *compiler) compile(pat []rune) error {
// Main loop for the regex pattern parsing state machine.
// Runs once per state transition.
// Each time through optionally performs, depending on the state table,
// - an advance to the the next pattern char
// - an advance to the next pattern char
// - an action to be performed.
// - pushing or popping a state to/from the local state return stack.
// file regexcst.txt is the source for the state table. The logic behind
Expand Down
4 changes: 2 additions & 2 deletions go/vt/vtctl/vtctl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var (
unknownParamsLoggedDryRunVSchema string
)

// TestApplyVSchema tests the the MoveTables client command
// TestApplyVSchema tests the MoveTables client command
// via the commandVRApplyVSchema() cmd handler.
func TestApplyVSchema(t *testing.T) {
shard := "0"
Expand Down Expand Up @@ -139,7 +139,7 @@ Dry run: Skipping update of VSchema`,
}
}

// TestMoveTables tests the the MoveTables client command
// TestMoveTables tests the MoveTables client command
// via the commandVReplicationWorkflow() cmd handler.
// This currently only tests the Progress action (which is
// a parent of the Show action) but it can be used to test
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/vreplication/vcopier.go
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ func (vtl *vcopierCopyTaskLifecycle) after(state vcopierCopyTaskState) *vcopierC
}

// before returns a vcopierCopyTaskHooks that can be used to register callbacks
// to be triggered before the the specified vcopierCopyTaskState.
// to be triggered before the specified vcopierCopyTaskState.
func (vtl *vcopierCopyTaskLifecycle) before(state vcopierCopyTaskState) *vcopierCopyTaskHooks {
key := "before:" + state.String()
if _, ok := vtl.hooks[key]; !ok {
Expand Down
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletserver/vstreamer/vstreamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ func (vs *vstreamer) buildTableColumns(tm *mysql.TableMap) ([]*querypb.Field, er
if err != nil {
return nil, fmt.Errorf("unsupported type: %d, position: %d", typ, i)
}
// Use the the collation inherited or the one specified explicitly for the
// Use the collation inherited or the one specified explicitly for the
// column if one was provided in the event's optional metadata (MySQL only
// provides this for text based columns).
var coll collations.ID
Expand Down

0 comments on commit 09bb2e2

Please sign in to comment.