mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-31003: Second execution for ps-protocol
This patch adds for "--ps-protocol" second execution of queries "SELECT". Also in this patch it is added ability to disable/enable (--disable_ps2_protocol/--enable_ps2_protocol) second execution for "--ps-prototocol" in testcases.
This commit is contained in:
@ -10,6 +10,7 @@ create database s_db;
|
||||
create sequence s_db.s1;
|
||||
grant select on s_db.s1 to normal_1@'%' identified by 'pass';
|
||||
|
||||
--disable_ps2_protocol
|
||||
connect(m_normal_1, localhost, normal_1, pass, s_db);
|
||||
select * from s1;
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
@ -30,6 +31,7 @@ alter sequence s1 restart 50;
|
||||
select nextval(s1);
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
drop sequence s1;
|
||||
--enable_ps2_protocol
|
||||
|
||||
connection default;
|
||||
disconnect m_normal_1;
|
||||
|
Reference in New Issue
Block a user