mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
s/TRUNCATE ... TO/DELETE HISTORY FROM ... BEFORE/
This commit is contained in:
committed by
Aleksey Midenkov
parent
ee68d019d1
commit
617e108fb6
@ -23,7 +23,7 @@ create table mysqltest.t (a int) with system versioning;
|
||||
connection user1;
|
||||
show grants;
|
||||
--error ER_TABLEACCESS_DENIED_ERROR
|
||||
truncate mysqltest.t to system_time now();
|
||||
delete history from mysqltest.t before system_time now();
|
||||
|
||||
connection root;
|
||||
grant delete history on mysqltest.* to mysqltest_1@localhost;
|
||||
@ -31,7 +31,7 @@ grant delete history on mysqltest.t to mysqltest_1@localhost;
|
||||
|
||||
connection user1;
|
||||
show grants;
|
||||
truncate mysqltest.t to system_time now();
|
||||
delete history from mysqltest.t before system_time now();
|
||||
|
||||
connection root;
|
||||
grant all on *.* to mysqltest_1@localhost;
|
||||
|
Reference in New Issue
Block a user