Merge pull request #5248 from tanjunchen/clean-up-document

fix up word spelling mistakes
This commit is contained in:
Sugu Sougoumarane 2019-10-05 11:03:45 -07:00 коммит произвёл GitHub
Родитель cc467ac08b 83c9078cb9
Коммит 698935b636
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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")
}
}