PR comments

This commit is contained in:
Brian Kassouf 2017-05-04 10:41:59 -07:00
parent 9e28b03c9b
commit c825362304
4 changed files with 7 additions and 7 deletions

View File

@ -57,7 +57,7 @@ func pathRoles(b *databaseBackend) *framework.Path {
}, },
"rollback_statements": { "rollback_statements": {
Type: framework.TypeString, Type: framework.TypeString,
Description: `SQL statements to be executed to revoke a user. Must be a semicolon-separated Description: `Statements to be executed to revoke a user. Must be a semicolon-separated
string, a base64-encoded semicolon-separated string, a serialized JSON string string, a base64-encoded semicolon-separated string, a serialized JSON string
array, or a base64-encoded serialized JSON string array. The '{{name}}' value array, or a base64-encoded serialized JSON string array. The '{{name}}' value
will be substituted.`, will be substituted.`,

View File

@ -13,8 +13,8 @@ var plugins map[string]BuiltinFactory = map[string]BuiltinFactory{
// These four plugins all use the same mysql implementation but with // These four plugins all use the same mysql implementation but with
// different username settings passed by the constructor. // different username settings passed by the constructor.
"mysql-database-plugin": mysql.New(mysql.DisplayNameLen, mysql.UsernameLen), "mysql-database-plugin": mysql.New(mysql.DisplayNameLen, mysql.UsernameLen),
"aurora-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen), "mysql-aurora-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen),
"rds-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen), "mysql-rds-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen),
"mysql-legacy-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen), "mysql-legacy-database-plugin": mysql.New(mysql.LegacyDisplayNameLen, mysql.LegacyUsernameLen),
"postgresql-database-plugin": postgresql.New, "postgresql-database-plugin": postgresql.New,

View File

@ -49,7 +49,7 @@ type SystemView interface {
// name. Returns a PluginRunner or an error if a plugin can not be found. // name. Returns a PluginRunner or an error if a plugin can not be found.
LookupPlugin(string) (*pluginutil.PluginRunner, error) LookupPlugin(string) (*pluginutil.PluginRunner, error)
// MlockEnabled returns the configuration setting for Enableing mlock on // MlockEnabled returns the configuration setting for enabling mlock on
// plugins. // plugins.
MlockEnabled() bool MlockEnabled() bool
} }

View File

@ -8,7 +8,7 @@ description: |-
# MySQL/MariaDB Database Plugin # MySQL/MariaDB Database Plugin
Name: `mysql-database-plugin`, `aurora-database-plugin`, `rds-database-plugin`, Name: `mysql-database-plugin`, `mysql-aurora-database-plugin`, `mysql-rds-database-plugin`,
`mysql-legacy-database-plugin` `mysql-legacy-database-plugin`
The MySQL Database Plugin is one of the supported plugins for the Database The MySQL Database Plugin is one of the supported plugins for the Database
@ -24,8 +24,8 @@ the length of usernames generated by the plugin as different versions of mysql
accept different lengths. The availible plugins are: accept different lengths. The availible plugins are:
- mysql-database-plugin - mysql-database-plugin
- aurora-database-plugin - mysql-aurora-database-plugin
- rds-database-plugin - mysql-rds-database-plugin
- mysql-legacy-database-plugin - mysql-legacy-database-plugin
## Quick Start ## Quick Start