mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@ -280,7 +280,6 @@ show status like 'Com%function';
|
||||
#
|
||||
connect (root, localhost, root,,test);
|
||||
connection root;
|
||||
let $root_connection_id= `select connection_id()`;
|
||||
--disable_warnings
|
||||
create database db37908;
|
||||
--enable_warnings
|
||||
@ -296,7 +295,6 @@ delimiter ;|
|
||||
|
||||
connect (user1,localhost,mysqltest_1,,test);
|
||||
connection user1;
|
||||
let $user1_connection_id= `select connection_id()`;
|
||||
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
select * from db37908.t1;
|
||||
@ -315,11 +313,8 @@ drop procedure proc37908;
|
||||
drop function func37908;
|
||||
REVOKE ALL PRIVILEGES, GRANT OPTION FROM mysqltest_1@localhost;
|
||||
DROP USER mysqltest_1@localhost;
|
||||
# Wait till the sessions user1 and root are disconnected
|
||||
let $wait_condition =
|
||||
SELECT COUNT(*) = 0
|
||||
FROM information_schema.processlist
|
||||
WHERE id in ('$root_connection_id','$user1_connection_id');
|
||||
# Wait until all non-default sessions are disconnected
|
||||
let $wait_condition = SELECT COUNT(*) = 1 FROM information_schema.processlist;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user