mariadb/mariadb-10.0.15-logrotate-su.patch
Martin Pluskal b1ca2a27cf Accepting request 747661 from home:kstreitova:branches:server:database
- update to 10.3.20
  * notable changes for 10.3.20
    * MDEV-20987: InnoDB fails to start when FTS table has FK relation
  * notable changes for 10.3.19
    * MDEV-20864: Debug-only option innodb_change_buffer_dump for
      dumping the contents of the InnoDB change buffer to the
      server error log at startup.
    * MariaBackup:
      * MDEV-18438: mbstream recreates xtrabackup_info on same
        directory as backup file
      * MDEV-20703: mariabackup creates binlog files in serve
        binlog directory on --prepare --export step
    * FULLTEXT INDEX:
      * MDEV-19647: Server hangs after dropping full text indexes
        and restart
      * MDEV-19529: InnoDB hang on DROP FULLTEXT INDEX
      * MDEV-19073: FTS row mismatch after crash recovery
      * MDEV-20621: FULLTEXT INDEX activity causes InnoDB hang
      * MDEV-20927: Duplicate key with auto increment
    * ALTER TABLE:
      * MDEV-20799: DROP Virtual Column crash
      * MDEV-20852: BtrBulk is unnecessarily holding dict_index_t::lock
    * System-Versioned Tables:
      * MDEV-16210: FK constraints on versioned tables use historical
        rows, which may cause constraint violation
      * MDEV-20812: Unexpected ER_ROW_IS_REFERENCED_2 or server
        crash in row_ins_foreign_report_err upon DELETE from
        versioned table with FK
    * Galera wsrep library updated to 25.3.28
  * Fixes for the following security vulnerabilities:

OBS-URL: https://build.opensuse.org/request/show/747661
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=239
2019-11-12 14:59:48 +00:00

18 lines
510 B
Diff

PATCH-P0-SUSE: Fix for logrorate config
This patch fixes the logrotarte config file for mariadb.
Read more at https://www.novell.com/support/kb/doc.php?id=7005219
Index: support-files/mysql-log-rotate.sh
===================================================================
--- support-files/mysql-log-rotate.sh.orig
+++ support-files/mysql-log-rotate.sh
@@ -20,6 +20,7 @@
/var/log/mysql/*.log {
# create 600 mysql mysql
+ su mysql mysql
notifempty
daily
rotate 3