Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #15449

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading