Skip to content
Permalink
Browse files
fix mtr warnings after 5f05102
  • Loading branch information
vuvova committed Jun 24, 2018
1 parent 95ef8de commit e561a34
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 0 deletions.
@@ -1447,6 +1447,7 @@ CURRENT_USER()
root@localhost
SET PASSWORD FOR CURRENT_USER() = PASSWORD("admin");
SET PASSWORD FOR CURRENT_USER() = PASSWORD("");
update mysql.user set plugin='';

# Bug#57952

@@ -755,6 +755,7 @@ GRANT EXECUTE ON PROCEDURE `test`.`sp1` TO 'root'@'localhost'
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
drop procedure sp1;
set password='';
update mysql.user set plugin='';
#
# MDEV-13396 Unexpected "alter routine comand defined" during CREATE OR REPLACE PROCEDURE
#
@@ -39,4 +39,5 @@ GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*34391
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
GRANT USAGE ON *.* TO 'r1'
set password='';
update mysql.user set plugin='';
drop role r1;
@@ -25,5 +25,7 @@ show grants;
grant r1 to current_user() identified by 'barfoo';
show grants;
set password='';
#cleanup after MDEV-16238
update mysql.user set plugin='';

drop role r1;
@@ -6,3 +6,4 @@ execute stmt;
set password = '';
set default role NONE;
drop role r1;
update mysql.user set plugin='';
@@ -13,3 +13,5 @@ execute stmt;
set password = '';
set default role NONE;
drop role r1;
#cleanup after MDEV-16238
update mysql.user set plugin='';
@@ -1265,6 +1265,9 @@ SELECT CURRENT_USER();
SET PASSWORD FOR CURRENT_USER() = PASSWORD("admin");
SET PASSWORD FOR CURRENT_USER() = PASSWORD("");

#cleanup after MDEV-16238
update mysql.user set plugin='';

#
# Bug#57952: privilege change is not taken into account by EXECUTE.
#
@@ -1023,6 +1023,8 @@ grant execute on procedure sp1 to current_user() identified by 'barfoo';
show grants;
drop procedure sp1;
set password='';
#cleanup after MDEV-16238
update mysql.user set plugin='';

--echo #
--echo # MDEV-13396 Unexpected "alter routine comand defined" during CREATE OR REPLACE PROCEDURE

0 comments on commit e561a34

Please sign in to comment.