mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17658 change the structure of mysql.user table
Implement User_table_json. Fix scripts to use mysql.global_priv. Fix tests.
This commit is contained in:
@ -1035,15 +1035,18 @@ drop database mysqltest_db;
|
||||
# Wait till all disconnects are completed
|
||||
--source include/wait_until_count_sessions.inc
|
||||
|
||||
create user u1@localhost;
|
||||
grant all privileges on *.* to u1@localhost with grant option;
|
||||
connect u1, localhost, u1;
|
||||
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='';
|
||||
#cleanup after MDEV-16238
|
||||
update mysql.user set plugin='';
|
||||
disconnect u1;
|
||||
connection default;
|
||||
drop user u1@localhost;
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-13396 Unexpected "alter routine comand defined" during CREATE OR REPLACE PROCEDURE
|
||||
|
Reference in New Issue
Block a user