Skip to content

Commit 5e2b2f5

Browse files
committed
Addendum #1 to bug #14588145:
Added the extra scope argument to the status variables.
1 parent 5edcf52 commit 5e2b2f5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

plugin/password_validation/validate_password.cc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,13 @@ static struct st_mysql_sys_var* validate_password_system_variables[]= {
499499
};
500500

501501
static struct st_mysql_show_var validate_password_status_variables[]= {
502-
{ "validate_password_dictionary_file_last_parsed", (char *) &validate_password_dictionary_file_last_parsed, SHOW_CHAR_PTR },
503-
{ "validate_password_dictionary_file_words_count", (char *) &validate_password_dictionary_file_words_count, SHOW_LONGLONG },
504-
{ NullS, NullS, SHOW_LONG }
502+
{ "validate_password_dictionary_file_last_parsed",
503+
(char *) &validate_password_dictionary_file_last_parsed,
504+
SHOW_CHAR_PTR, SHOW_SCOPE_GLOBAL },
505+
{ "validate_password_dictionary_file_words_count",
506+
(char *) &validate_password_dictionary_file_words_count,
507+
SHOW_LONGLONG, SHOW_SCOPE_GLOBAL },
508+
{ NullS, NullS, SHOW_LONG, SHOW_SCOPE_GLOBAL }
505509
};
506510

507511
mysql_declare_plugin(validate_password)

0 commit comments

Comments
 (0)