mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fixes for --embedded
This commit is contained in:
@ -139,37 +139,3 @@ select next value for t1;
|
||||
alter sequence t1 restart with 90;
|
||||
select next value for t1;
|
||||
drop sequence t1;
|
||||
|
||||
--echo
|
||||
--echo GRANT
|
||||
--echo
|
||||
|
||||
create database s_db;
|
||||
create sequence s_db.s1;
|
||||
grant select on s_db.s1 to normal_1@'%' identified by 'pass';
|
||||
|
||||
connect(m_normal_1, localhost, normal_1, pass, s_db);
|
||||
select * from s1;
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
select nextval(s1);
|
||||
show create sequence s1;
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
alter sequence s1 restart 50;
|
||||
connection default;
|
||||
grant insert on s_db.s1 to normal_1@'%';
|
||||
connection m_normal_1;
|
||||
select nextval(s1);
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
alter sequence s1 restart 50;
|
||||
connection default;
|
||||
grant alter on s_db.s1 to normal_1@'%';
|
||||
connection m_normal_1;
|
||||
alter sequence s1 restart 50;
|
||||
select nextval(s1);
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
drop sequence s1;
|
||||
|
||||
connection default;
|
||||
disconnect m_normal_1;
|
||||
drop database s_db;
|
||||
drop user normal_1@'%';
|
||||
|
Reference in New Issue
Block a user