This repository has been archived by the owner on Jun 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MariaDB 10.5: new BINLOG ADMIN priv allows setting sql_log_bin
This commit adjusts the logic behind Instance.CanSkipBinlog() to account for MariaDB 10.5's new BINLOG ADMIN privilege. Users with this privilege are able to set the session sql_log_bin variable without having SUPER. This privilege should not be confused with MySQL 8.0's similarly-named BINLOG_ADMIN priv (note the underscore), which does NOT allow manipulation of sql_log_bin.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters