[FEAT MERGE]support 'alter system reset' clause
This commit is contained in:
committed by
ob-robot
parent
129e7dd5ff
commit
9e13005016
@ -1770,7 +1770,8 @@ int get_sys_tenant_alter_system_priv(
|
||||
stmt::T_DELETE_POLICY != basic_stmt->get_stmt_type() &&
|
||||
stmt::T_BACKUP_KEY != basic_stmt->get_stmt_type() &&
|
||||
stmt::T_RECOVER != basic_stmt->get_stmt_type() &&
|
||||
stmt::T_TABLE_TTL != basic_stmt->get_stmt_type()) {
|
||||
stmt::T_TABLE_TTL != basic_stmt->get_stmt_type() &&
|
||||
stmt::T_ALTER_SYSTEM_RESET_PARAMETER != basic_stmt->get_stmt_type()) {
|
||||
ret = OB_ERR_NO_PRIVILEGE;
|
||||
LOG_WARN("Only sys tenant can do this operation",
|
||||
K(ret), "stmt type", basic_stmt->get_stmt_type());
|
||||
|
||||
Reference in New Issue
Block a user