Skip to content

Commit

Permalink
Followup for 2783fc7: return an error to the caller if mysql.proc can…
Browse files Browse the repository at this point in the history
…not be opened
  • Loading branch information
sanja-byelkin committed Mar 24, 2016
1 parent 2cb72dc commit 9f5b285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/suite/plugins/r/cracklib_password_check.result
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PLUGIN_AUTHOR Sergei Golubchik
PLUGIN_DESCRIPTION Password validation via CrackLib
PLUGIN_LICENSE GPL
LOAD_OPTION ON
PLUGIN_MATURITY Alpha
PLUGIN_MATURITY Gamma
PLUGIN_AUTH_VERSION 1.0
grant select on *.* to foocar identified by 'foocar';
ERROR HY000: Your password does not satisfy the current policy requirements
Expand Down
1 change: 1 addition & 0 deletions sql/sp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@ sp_create_routine(THD *thd, stored_procedure_type type, sp_head *sp)
if (!(table= open_proc_table_for_update(thd)))
{
my_error(ER_SP_STORE_FAILED, MYF(0), SP_TYPE_STRING(type),sp->m_name.str);
goto done;
}
else
{
Expand Down

0 comments on commit 9f5b285

Please sign in to comment.