*: Address comments
This commit is contained in:
@ -222,7 +222,7 @@ func (tc *TableConstraint) String() string {
|
||||
return strings.Join(tokens, " ")
|
||||
}
|
||||
|
||||
// AuthOption is used for parsing create use statement
|
||||
// AuthOption is used for parsing create use statement.
|
||||
type AuthOption struct {
|
||||
// AuthString/HashString can be empty, so we need to decide which one to use.
|
||||
ByAuthString bool
|
||||
@ -231,7 +231,7 @@ type AuthOption struct {
|
||||
// TODO: support auth_plugin
|
||||
}
|
||||
|
||||
// UserSpecification is used for parsing create use statement
|
||||
// UserSpecification is used for parsing create use statement.
|
||||
type UserSpecification struct {
|
||||
User string
|
||||
AuthOpt *AuthOption
|
||||
|
||||
Reference in New Issue
Block a user