1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

bugfix: IDENTIFIED BY clause was lost in some GRANT variants

This commit is contained in:
Sergei Golubchik
2014-11-24 15:10:51 +01:00
parent 61820bca9b
commit bc603c604d
5 changed files with 64 additions and 21 deletions

View File

@ -1040,3 +1040,11 @@ drop database mysqltest_db;
# Wait till all disconnects are completed
--source include/wait_until_count_sessions.inc
set password=password('foobar');
create procedure sp1() select 1;
show grants;
grant execute on procedure sp1 to current_user() identified by 'barfoo';
show grants;
drop procedure sp1;
set password='';