From 139b49e351f0870319a5475350e1eaaf256a35eb Mon Sep 17 00:00:00 2001 From: SataQiu Date: Wed, 17 Apr 2019 11:57:25 +0800 Subject: [PATCH] fix spelling mistake: conjonction -> conjunction Signed-off-by: SataQiu --- doc/VitessApi.md | 8 ++++---- go/vt/proto/vtgateservice/vtgateservice.pb.go | 12 ++++++------ proto/vtgateservice.proto | 6 +++--- py/vtproto/vtgateservice_pb2_grpc.py | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/VitessApi.md b/doc/VitessApi.md index ab7ac7a01dd..5e9bf57e37b 100644 --- a/doc/VitessApi.md +++ b/doc/VitessApi.md @@ -79,11 +79,11 @@ The following table lists the methods in each group and links to more detail abo v3 API (alpha) Execute -Execute tries to route the query to the right shard. It depends on the query and bind variables to provide enough information in conjonction with the vindexes to route the query. +Execute tries to route the query to the right shard. It depends on the query and bind variables to provide enough information in conjunction with the vindexes to route the query. StreamExecute -StreamExecute executes a streaming query based on shards. It depends on the query and bind variables to provide enough information in conjonction with the vindexes to route the query. Use this method if the query returns a large number of rows. +StreamExecute executes a streaming query based on shards. It depends on the query and bind variables to provide enough information in conjunction with the vindexes to route the query. Use this method if the query returns a large number of rows. ##Range-based Sharding @@ -572,7 +572,7 @@ GetSrvKeyspace returns a SrvKeyspace object (as seen by this vtgate). This metho ##v3 API (alpha) ### Execute -Execute tries to route the query to the right shard. It depends on the query and bind variables to provide enough information in conjonction with the vindexes to route the query. +Execute tries to route the query to the right shard. It depends on the query and bind variables to provide enough information in conjunction with the vindexes to route the query. #### Request @@ -604,7 +604,7 @@ Execute tries to route the query to the right shard. It depends on the query and ### StreamExecute -StreamExecute executes a streaming query based on shards. It depends on the query and bind variables to provide enough information in conjonction with the vindexes to route the query. Use this method if the query returns a large number of rows. +StreamExecute executes a streaming query based on shards. It depends on the query and bind variables to provide enough information in conjunction with the vindexes to route the query. Use this method if the query returns a large number of rows. #### Request diff --git a/go/vt/proto/vtgateservice/vtgateservice.pb.go b/go/vt/proto/vtgateservice/vtgateservice.pb.go index 3a0bc073da8..921b5403fdc 100644 --- a/go/vt/proto/vtgateservice/vtgateservice.pb.go +++ b/go/vt/proto/vtgateservice/vtgateservice.pb.go @@ -39,17 +39,17 @@ const _ = grpc.SupportPackageIsVersion4 type VitessClient interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 Execute(ctx context.Context, in *vtgate.ExecuteRequest, opts ...grpc.CallOption) (*vtgate.ExecuteResponse, error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 ExecuteBatch(ctx context.Context, in *vtgate.ExecuteBatchRequest, opts ...grpc.CallOption) (*vtgate.ExecuteBatchResponse, error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 StreamExecute(ctx context.Context, in *vtgate.StreamExecuteRequest, opts ...grpc.CallOption) (Vitess_StreamExecuteClient, error) @@ -467,17 +467,17 @@ func (x *vitessUpdateStreamClient) Recv() (*vtgate.UpdateStreamResponse, error) type VitessServer interface { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 Execute(context.Context, *vtgate.ExecuteRequest) (*vtgate.ExecuteResponse, error) // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 ExecuteBatch(context.Context, *vtgate.ExecuteBatchRequest) (*vtgate.ExecuteBatchResponse, error) // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 StreamExecute(*vtgate.StreamExecuteRequest, Vitess_StreamExecuteServer) error diff --git a/proto/vtgateservice.proto b/proto/vtgateservice.proto index 1749ad6527c..f884417f923 100644 --- a/proto/vtgateservice.proto +++ b/proto/vtgateservice.proto @@ -32,19 +32,19 @@ import "query.proto"; service Vitess { // Execute tries to route the query to the right shard. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 rpc Execute(vtgate.ExecuteRequest) returns (vtgate.ExecuteResponse) {}; // ExecuteBatch tries to route the list of queries on the right shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // API group: v3 rpc ExecuteBatch(vtgate.ExecuteBatchRequest) returns (vtgate.ExecuteBatchResponse) {}; // StreamExecute executes a streaming query based on shards. // It depends on the query and bind variables to provide enough - // information in conjonction with the vindexes to route the query. + // information in conjunction with the vindexes to route the query. // Use this method if the query returns a large number of rows. // API group: v3 rpc StreamExecute(vtgate.StreamExecuteRequest) returns (stream vtgate.StreamExecuteResponse) {}; diff --git a/py/vtproto/vtgateservice_pb2_grpc.py b/py/vtproto/vtgateservice_pb2_grpc.py index 410fe2a0095..5a3d3e5be67 100644 --- a/py/vtproto/vtgateservice_pb2_grpc.py +++ b/py/vtproto/vtgateservice_pb2_grpc.py @@ -136,7 +136,7 @@ class VitessServicer(object): def Execute(self, request, context): """Execute tries to route the query to the right shard. It depends on the query and bind variables to provide enough - information in conjonction with the vindexes to route the query. + information in conjunction with the vindexes to route the query. API group: v3 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) @@ -146,7 +146,7 @@ def Execute(self, request, context): def ExecuteBatch(self, request, context): """ExecuteBatch tries to route the list of queries on the right shards. It depends on the query and bind variables to provide enough - information in conjonction with the vindexes to route the query. + information in conjunction with the vindexes to route the query. API group: v3 """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) @@ -156,7 +156,7 @@ def ExecuteBatch(self, request, context): def StreamExecute(self, request, context): """StreamExecute executes a streaming query based on shards. It depends on the query and bind variables to provide enough - information in conjonction with the vindexes to route the query. + information in conjunction with the vindexes to route the query. Use this method if the query returns a large number of rows. API group: v3 """