2
0

Fix find-and-replace errors

This commit is contained in:
Jack Christensen
2017-02-02 19:30:26 -06:00
parent 24265cf352
commit 27b90681e8
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func (r *ValueReader) Err() error {
return r.err return r.err
} }
// Fatal tells rc that a Fatal error has occurred // Fatal tells r that a Fatal error has occurred
func (r *ValueReader) Fatal(err error) { func (r *ValueReader) Fatal(err error) {
r.err = err r.err = err
} }
+4 -4
View File
@@ -129,9 +129,9 @@ func (e SerializationError) Error() string {
// Scanner is an interface used to decode values from the PostgreSQL server. // Scanner is an interface used to decode values from the PostgreSQL server.
type Scanner interface { type Scanner interface {
// Scan MUST check rc.Type().DataType (to check by OID) or // Scan MUST check r.Type().DataType (to check by OID) or
// rc.Type().DataTypeName (to check by name) to ensure that it is scanning an // r.Type().DataTypeName (to check by name) to ensure that it is scanning an
// expected column type. It also MUST check rc.Type().FormatCode before // expected column type. It also MUST check r.Type().FormatCode before
// decoding. It should not assume that it was called on a data type or format // decoding. It should not assume that it was called on a data type or format
// that it understands. // that it understands.
Scan(r *ValueReader) error Scan(r *ValueReader) error
@@ -3167,7 +3167,7 @@ func parseQuotedAclItem(reader *strings.Reader) (AclItem, error) {
} }
} }
// Returns the next rune from rc, unless it is a backslash; // Returns the next rune from r, unless it is a backslash;
// in that case, it returns the rune after the backslash. The second // in that case, it returns the rune after the backslash. The second
// return value tells us whether or not the rune was // return value tells us whether or not the rune was
// preceeded by a backslash (escaped). // preceeded by a backslash (escaped).