From 4e6ba5229e3f079087d9965caf2a35ee277e5cbc Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Fri, 28 Aug 2026 02:46:40 +0200 Subject: [PATCH] Fix binary log retention limit on MariaDB --- mysql/help/binlogs.html | 11 ++++++----- mysql/help/binlogs_expire.html | 5 +++++ mysql/help/binlogs_maxsize.html | 2 +- mysql/mysql-lib.pl | 11 +++++++++++ mysql/save_binlogs.cgi | 8 +++++--- t/mysql-lib.t | 15 +++++++++++++++ 6 files changed, 43 insertions(+), 9 deletions(-) diff --git a/mysql/help/binlogs.html b/mysql/help/binlogs.html index 265ae6044..73d2adf9e 100644 --- a/mysql/help/binlogs.html +++ b/mysql/help/binlogs.html @@ -8,11 +8,12 @@ point-in-time recovery of backups.

When binary logging is enabled, log files are written under the configured base name and grow as changes are made. To stop them from filling up the disk, a retention period can be set after which old logs are automatically deleted, -or old logs can be deleted immediately using the form at the bottom of the -page.

+or old logs can be deleted immediately on the Delete Logs tab. The +button at the bottom of the page closes the current log and starts a new one, +giving backups and log deletion a clean boundary.

-For any changes on this page to take effect, the MySQL server must be -re-started, either with the Save and Restart MySQL button or using the -buttons on the module's main page.

+Configuration changes only take effect once the MySQL server is re-started, +either with the Save and Restart MySQL button or using the buttons on +the module's main page. Deleting and rotating logs happen immediately.