*: Address comments

This commit is contained in:
Shen Li
2015-09-20 22:59:43 +08:00
parent 1400803273
commit 113cbf2cdc
3 changed files with 6 additions and 5 deletions

View File

@ -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