Fix find-and-replace errors
This commit is contained in:
+1
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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).
|
||||||
|
|||||||
Reference in New Issue
Block a user