mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
MDEV-21743 Split up SUPER privilege to smaller privileges
This commit is contained in:
parent
91ba789aaf
commit
a1e330de5a
82 changed files with 1510 additions and 235 deletions
|
|
@ -24,7 +24,6 @@
|
|||
#include "sql_db.h" // get_default_db_collation
|
||||
#include "sql_time.h" // interval_type_to_name
|
||||
#include "tztime.h" // struct Time_zone
|
||||
#include "sql_acl.h" // SUPER_ACL, MYSQL_DB_FIELD_COUNT, mysql_db_table_fields
|
||||
#include "records.h" // init_read_record, end_read_record
|
||||
#include "sp_head.h"
|
||||
#include "event_data_objects.h"
|
||||
|
|
@ -1128,7 +1127,7 @@ update_timing_fields_for_event(THD *thd,
|
|||
*/
|
||||
save_binlog_format= thd->set_current_stmt_binlog_format_stmt();
|
||||
|
||||
DBUG_ASSERT(thd->security_ctx->master_access & SUPER_ACL);
|
||||
DBUG_ASSERT(thd->security_ctx->master_access & PRIV_IGNORE_READ_ONLY);
|
||||
|
||||
if (open_event_table(thd, TL_WRITE, &table))
|
||||
goto end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue