diff --git a/db/executor.go b/db/executor.go index 52bdeed4..e0642247 100644 --- a/db/executor.go +++ b/db/executor.go @@ -347,7 +347,7 @@ func (e *executor) operate(ctx context.Context, stm sql.Statement) (res []interf } - // If the context is already closed or errord, + // If the context is already closed or failed, // then ignore this result, clear all queued // changes, and reset the transaction. diff --git a/db/lives.go b/db/lives.go index be7d1f79..641feefd 100644 --- a/db/lives.go +++ b/db/lives.go @@ -94,14 +94,14 @@ func (d *document) lives(ctx context.Context, when method) (err error) { // If the live query has specified to only // receive diff changes, then there will be - // no project fields for this query. + // no projected fields for this query. case true: doc = d.diff() - // If the query has project fields which it - // wants to receive, then let's fetch thses + // If the query has projected fields which it + // wants to receive, then let's fetch these // fields, and return them to the socket. case false: