зеркало из https://github.com/github/vitess-gh.git
Merge pull request #5248 from tanjunchen/clean-up-document
fix up word spelling mistakes
This commit is contained in:
Коммит
698935b636
|
@ -162,7 +162,7 @@ func TestPulloutSubqueryInNotinGood(t *testing.T) {
|
|||
sfp.ExpectLog(t, []string{`Execute false`})
|
||||
ufp.ExpectLog(t, []string{`Execute has_values: type:INT64 value:"1" sq: type:TUPLE values:<type:INT64 value:"1" > values:<type:INT64 value:"2" > false`})
|
||||
|
||||
// Test the NOT IN case just once eventhough it's common code.
|
||||
// Test the NOT IN case just once even though it's common code.
|
||||
sfp.rewind()
|
||||
ufp.rewind()
|
||||
ps.Opcode = PulloutNotIn
|
||||
|
|
|
@ -297,7 +297,7 @@ func (mm *messageManager) Close() {
|
|||
|
||||
// Subscribe registers the send function as a receiver of messages
|
||||
// and returns a 'done' channel that will be closed when the subscription
|
||||
// ends. There are many reaons for a subscription to end: a grpc context
|
||||
// ends. There are many reasons for a subscription to end: a grpc context
|
||||
// cancel or timeout, or tabletserver shutdown, etc.
|
||||
func (mm *messageManager) Subscribe(ctx context.Context, send func(*sqltypes.Result) error) <-chan struct{} {
|
||||
receiver, done := newMessageReceiver(ctx, send)
|
||||
|
|
|
@ -192,12 +192,12 @@ func TestLogStatsFormatQuerySources(t *testing.T) {
|
|||
|
||||
logStats.QuerySources |= QuerySourceMySQL
|
||||
if !strings.Contains(logStats.FmtQuerySources(), "mysql") {
|
||||
t.Fatalf("'mysql' should be in formated query sources")
|
||||
t.Fatalf("'mysql' should be in formatted query sources")
|
||||
}
|
||||
|
||||
logStats.QuerySources |= QuerySourceConsolidator
|
||||
if !strings.Contains(logStats.FmtQuerySources(), "consolidator") {
|
||||
t.Fatalf("'consolidator' should be in formated query sources")
|
||||
t.Fatalf("'consolidator' should be in formatted query sources")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче