-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '5.6-ps-4950' into 5.7-ps-4950
* 5.6-ps-4950: PS-4950: Invalid audit log file size when audit_log_rotations is changed during runtime
- Loading branch information
Showing
3 changed files
with
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
# | ||
# Rotate with "rotations" and "size" given as startup options | ||
# | ||
success | ||
# | ||
# PS-4950: Invalid audit log file size when audit_log_rotations is changed during runtime | ||
# | ||
SET @audit_log_rotations_orig = @@audit_log_rotations; | ||
SET @audit_log_rotate_on_size_orig = @@audit_log_rotate_on_size; | ||
SET GLOBAL audit_log_rotations = 3; | ||
SET GLOBAL audit_log_rotate_on_size = 4096; | ||
SET GLOBAL audit_log_rotations = @audit_log_rotations_orig; | ||
SET GLOBAL audit_log_rotate_on_size = @audit_log_rotate_on_size_orig; | ||
success |
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