Commit Graph

152 Commits

Author SHA256 Message Date
Martin Pluskal
66949ef81c Accepting request 721764 from home:kstreitova:branches:server:database
- remove sql_mode from my.ini/my.cnf as NO_ENGINE_SUBSTITUTION and
  STRICT_TRANS_TABLES are already set by default from version
  10.2.4 [bsc#1144314]

- add mariadb-10.3.17-fix_ppc_build.patch to fix a compilation
  failure for ppc if ${CRC32_LIBRARY} target has no COMPILE_FLAGS
  yet. Then GET_TARGET_PROPERTY returns COMPILE_FLAGS-NOTFOUND,
  which doesn't work very well when it's later fed back into
  COMPILE_FLAGS.
- _constraints: increase the memory because of the ppc build
- adjust mysql-systemd-helper ("shutdown protected MySQL" section)
  so it checks both ping response and the pid in a process list
  as it can take some time till the process is terminated.
  Otherwise it can lead to "found left-over process" situation
  when regular mariadb is started [bsc#1143215]

OBS-URL: https://build.opensuse.org/request/show/721764
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=236
2019-08-08 14:14:01 +00:00
bc9a74f66d Accepting request 720706 from home:kstreitova:branches:server:database
- update to 10.3.17 [bsc#1141798]
  * notable changes:
    * MDEV-19795: Merge upstream MyRocks.
    * MDEV-17228: Encrypted temporary tables are not encrypted.
    * MDEV-18328: Disks Plugin is now stable and requires the FILE
      privilege.
    * Merge relevant InnoDB changes from MySQL 5.7.27
    * Adjust spin loops to the x86 PAUSE instruction latency
    * CREATE TABLE: MDEV-19292, MDEV-20102
    * ALTER TABLE: MDEV-15641, MDEV-19630, MDEV-19916, MDEV-19974
    * Indexed virtual columns: MDEV-16222, MDEV-17005, MDEV-19870
    * FULLTEXT INDEX: MDEV-14154
    * Encryption: MDEV-17228, MDEV-19914
    * Galera + FOREIGN KEY: MDEV-19660
    * Recovery & Mariabackup: MDEV-19978
    * MDEV-19781: Add page id matching check in innochecksum tool
    * MDEV-20091: DROP TEMPORARY table is logged despite no CREATE
      was logged
    * MDEV-19427: mysql_upgrade_service throws exception upgrading
      from 10.0 to 10.3
    * MDEV-19814: Server crash in row_upd_del_mark_clust_rec or
      Assertion
    * MDEV-17363: Compressed columns cannot be restored from dump
  * fixes for the following security vulnerabilities:
    CVE-2019-2805, CVE-2019-2740, CVE-2019-2739, CVE-2019-2737,
    CVE-2019-2758
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10317-release-notes
    https://mariadb.com/kb/en/library/mariadb-10317-changelog
- add "BuildRequires: python3" as some tests and myrocks_hotbackup

OBS-URL: https://build.opensuse.org/request/show/720706
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=235
2019-08-05 11:31:30 +00:00
93e1583ca9 Accepting request 720488 from home:marxin:static
Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720488
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=234
2019-08-02 10:29:32 +00:00
Martin Pluskal
30ec755b22 Accepting request 718520 from home:kstreitova:branches:server:database
- remove client_ed25519.so plugin because it's shipped in
  mariadb-connector-c package (libmariadb_plugins)

OBS-URL: https://build.opensuse.org/request/show/718520
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=233
2019-07-25 13:06:54 +00:00
Martin Pluskal
7d5bc2fc44 Accepting request 718278 from home:mgerstner:branches:server:database
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

OBS-URL: https://build.opensuse.org/request/show/718278
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=232
2019-07-24 14:23:33 +00:00
5af2e5086d Accepting request 717132 from home:kstreitova:branches:server:database
- update to 10.3.16 [bsc#1108088]
  * notable changes:
    * MDEV-19490: show tables fails when selecting the
      information_schema database
    * MDEV-19491: multi-update with triggers and stored routines
    * MDEV-19541: InnoDB crashes when trying to recover
      a corrupted page
    * MDEV-19725: Incorrect error handling in ALTER TABLE
    * MDEV-19445: FULLTEXT INDEX fix
    * MDEV-19486: System Versioning fix
    * MDEV-19509: InnoDB skips the tablespace in rotation list
    * MDEV-19614: SET GLOBAL innodb_ deadlock due to
      LOCK_global_system_variables
    * MDEV-17458: Unable to start galera node
    * MDEV-17456: Malicious SUPER user can possibly change audit
      log configuration without leaving traces
    * MDEV-19588: Wrong results from query, using left join
    * MDEV-19258: RIGHT JOIN hangs in MariaDB
    * Virtual columns fixes: MDEV-19027, MDEV-19602
    * Crash recovery fixes: MDEV-13080, MDEV-19587, MDEV-19435
    * MDEV-11094: Fixed row-based event applying with an error anymore
      when the events aim at the blackhole engine and row annotation
      is enabled
    * MDEV-19076: Fixed slave_parallel_mode=optimistic did not always
      properly order replication events on temporary tables in some
      case to attempt execution before a parent event has been already
      processed
    * MDEV-19158: Fixed duplicated entries in binlog occurred in 
      combination of LOCK TABLES and binlog_format=MIXED when a being
      locked table was under replication unsafe operation

OBS-URL: https://build.opensuse.org/request/show/717132
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=231
2019-07-19 17:38:09 +00:00
Martin Pluskal
a89ec44e90 Accepting request 703404 from home:kstreitova:branches:server:database
- update to 10.2.24 GA [bsc#1122198]
  * notable changes:
    * MDEV-18968 - Both (WHERE 0.1) and (WHERE NOT 0.1) return empty set
    * MDEV-18466 - Unsafe to log updates on tables referenced by
      foreign keys with triggers in statement format
    * MDEV-18899 - Server crashes in Field::set_warning_truncated_wrong_value
    * MDEV-18298 - Crashes server with segfault during role grants
    * MDEV-17610 - Unexpected connection abort after certain operations
      from within stored procedure
    * MDEV-19112 - WITH clause does not work with information_schema 
      as default database
    * MDEV-17830 - Server crashes in Item_null_result::field_type upon
      SELECT with CHARSET(date) and ROLLUP
    * MDEV-14041 - Server crashes in String::length on queries with
      functions and ROLLUP
    * MDEV-18920 - Prepared statements with st_convexhull hang and
      eat 100% cpu.
    * MDEV-15837 - Assertion item1->type() == Item::FIELD_ITEM &&
      item2->type() == Item::FIELD_ITEM
    * MDEV-9531 - GROUP_CONCAT with ORDER BY inside takes a lot of
      memory while it's executed
    * MDEV-17036 - BULK with replace doesn't take the first parameter
      in account
    * Bug#28986737 - RENAMING AND REPLACING MYSQL.USER TABLE CAN
      LEAD TO A SERVER CRASH
    * MDEV-19350 - Server crashes in delete_tree_element / ... /
      Item_func_group_concat::repack_tree
    * MDEV-19188 - Server Crash When Using a Trigger With A Number
      of Virtual Columns on INSERT/UPDATE
    * MDEV-19352 - Server crash in alloc_histograms_for_table_share

OBS-URL: https://build.opensuse.org/request/show/703404
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=230
2019-05-19 16:21:15 +00:00
Martin Pluskal
3082d2eeb9 Accepting request 688832 from home:kstreitova:branches:server:database
- update to 10.2.23 GA
  * notable changes:
    * InnoDB ALTER TABLE fixes: MDEV-18016, MDEV-18630, MDEV-18775,
      MDEV-18732, MDEV-18749, MDEV-18637, MDEV-13818, MDEV-17595
    * MDEV-18878: InnoDB Purge: Optimize away futile table lookups
    * MDEV-14984: Regression in connect performance
    * MDEV-18936: Purge thread fails to exit on shutdown
    * MDEV-18272: InnoDB fails to rollback after exceeding FOREIGN
      KEY recursion depth
    * MDEV-9519: Data corruption on Galera cluster size change
    * MDEV-18204: fix incremental MyRocks backup
    * MDEV-18611: mariabackup terminated while copying InnoDB
      redo log
    * MDEV-18669: mariabackup writes timestamp in version line
    * MDEV-18855: Mariabackup should fetch innodb_compression_level
      from running server
  * fixes for the following security vulnerabilities: none
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10223-release-notes
    https://mariadb.com/kb/en/library/mariadb-10223-changelog
- remove mariadb-10.2.22-fix_path.patch that is no longer needed
  (applied upstream)

OBS-URL: https://build.opensuse.org/request/show/688832
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=229
2019-03-26 16:38:48 +00:00
Martin Pluskal
aa2c3445cb Accepting request 680087 from home:kstreitova:branches:server:database
- add mariadb-10.2.22-fix_path.patch to fix a path to resolveip in
  mysql_install_db script [bsc#1127027] MDEV-18526

- my.cnf/my.ini: move slow_query_log example to the error log so
  it's logically together

OBS-URL: https://build.opensuse.org/request/show/680087
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=228
2019-02-28 13:58:19 +00:00
e573f3df3b Accepting request 677272 from home:adkorte
- fix references path below legacy directory /var/run -> /run

OBS-URL: https://build.opensuse.org/request/show/677272
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=227
2019-02-20 09:12:12 +00:00
Martin Pluskal
5e1d3d228f Accepting request 676580 from home:rsalevsky:branches:server:database
- remove xtrabackup requirement as MariaDB ships a build in
  mariabackup so xtrabackup is not needed unless a user specificaly
  wants to use xtrabackup as sst method


The cloud team wants to stop shipping xtrabackup as we switched to mariabackup.

OBS-URL: https://build.opensuse.org/request/show/676580
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=226
2019-02-18 07:47:22 +00:00
a40180b467 Accepting request 676156 from home:tbechtold:branches:server:database
- add slow_query_log example to my.cnf and adjust the logrotate
  configuration to rotate all /var/log/mysql/*.log files .
  This is useful when the slow query log is enabled. In that case,
  this log file should also be rotated (bsc#1112767)

OBS-URL: https://build.opensuse.org/request/show/676156
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=225
2019-02-15 11:05:43 +00:00
5f0bcf7957 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=224 2019-02-14 09:38:31 +00:00
f1d2e47777 Accepting request 674567 from home:nicolasbock:branches:server:database
- Updated changes with full changelog

OBS-URL: https://build.opensuse.org/request/show/674567
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=223
2019-02-14 09:35:37 +00:00
Martin Pluskal
49402e72be Accepting request 664425 from home:kstreitova:branches:server:database
- update to 10.2.21 GA
  * notable changes:
    * MDEV-17589 - Stack-buffer-overflow with indexed varchar
      (utf8) field
    * MDEV-16987 - ALTER DATABASE possible in read-only mode
      (forbid ALTER DATABASE in read_only)
    * MDEV-17720 - slave_ddl_exec_mode=IDEMPOTENT does not handle
      DROP DATABASE
    * MDEV-6453 - Assertion `inited==NONE || (inited==RND && scan)'
      failed in handler::ha_rnd_init(bool) with InnoDB, joins,
      AND/OR conditions
    * MDEV-18105 - Mariabackup fails to copy encrypted InnoDB
      system tablespace if LSN>4G
    * MDEV-18041 - Database corruption after renaming a
      prefix-indexed column [bsc#1120041]
    * MDEV-17470 - Orphan temporary files after interrupted ALTER
      cause InnoDB: Operating system error number 17 and eventual
      fatal error 71
    * MDEV-17833: ALTER TABLE is not enforcing prefix index size
      limit
    * MDEV-17989: InnoDB: Failing assertion:
      dict_tf2_is_valid(flags, flags2)
    * MDEV-17765: Locking bug fix for SPATIAL INDEX
    * MDEV-17923, MDEV-17904, MDEV-17938: Fixes for FULLTEXT INDEX
    * Fixes for regressions introduced in MariaDB Server 10.2.19 by
      the backup-safe TRUNCATE TABLE (MDEV-13564,
      innodb_safe_truncate=ON) and innodb_undo_log_truncate:
      * MDEV-17780, MDEV-17816, MDEV-17849, MDEV-17851, MDEV-17885
    * Several improvements to MariaDB Server and backup for dealing
      with encrypted or page_compressed pages:

OBS-URL: https://build.opensuse.org/request/show/664425
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=222
2019-01-11 08:52:12 +00:00
Martin Pluskal
e4bf1fec11 Accepting request 657835 from home:kstreitova:branches:server:database
- remove PerconaFT from the package as it has AGPL licence
  [bsc#1118754]
- use a new syntax for cmake variables that specify which plugin
  will be built

OBS-URL: https://build.opensuse.org/request/show/657835
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=221
2018-12-14 07:40:26 +00:00
Martin Pluskal
80b778b66f Accepting request 653203 from home:glaubitz:branches:server:database
- Add patch to link against libatomic where necessary and
  use C++11 atomics instead of gcc built-in atomics
  * mariadb-10.2.19-link-and-enable-c++11-atomics.patch
- Add two tests to suse_skipped_tests.list for ppc
  * encryption.innodb-bad-key-change2
  * encryption.innodb-bad-key-change4

OBS-URL: https://build.opensuse.org/request/show/653203
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=220
2018-12-04 08:15:12 +00:00
Martin Pluskal
c77dd07c41 Accepting request 651379 from home:kstreitova:branches:server:database
- update to 10.2.19 GA [bsc#1116686]
  * notable changes:
    * innodb_safe_truncate system variable for a backup-safe
      TRUNCATE TABLE implementation that is based on RENAME,
      CREATE, DROP (MDEV-14717, MDEV-14585, MDEV-13564). Default
      value for this variable is ON. If you absolutely must use
      XtraBackup instead of Mariabackup, you can set it to OFF and
      restart the server
    * MDEV-17289: Multi-pass recovery fails to apply some redo
      log records
    * MDEV-17073: INSERT…ON DUPLICATE KEY UPDATE became more
      deadlock-prone
    * MDEV-17491: micro optimize page_id_t
    * MDEV-13671: InnoDB should use case-insensitive column name
      comparisons like the rest of the server
    * Fixes for indexed virtual columns: MDEV-17215, MDEV-16980
    * MDEV-17433: Allow InnoDB start up with empty ib_logfile0
      from mariabackup --prepare
    * MDEV-12547: InnoDB FULLTEXT index has too strict
      innodb_ft_result_cache_limit max limit
    * MDEV-17541: KILL QUERY during lock wait in FOREIGN KEY
      check causes hang
    * MDEV-17531: Crash in RENAME TABLE with FOREIGN KEY and
      FULLTEXT INDEX
    * MDEV-17532: Performance_schema reports wrong directory for
      the temporary files of ALTER TABLE…ALGORITHM=INPLACE
    * MDEV-17545: Predicate lock for SPATIAL INDEX should lock
      non-matching record
    * MDEV-17546: SPATIAL INDEX should not be allowed for
      FOREIGN KEY

OBS-URL: https://build.opensuse.org/request/show/651379
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=219
2018-11-26 11:57:37 +00:00
79a8c35d1f Accepting request 638722 from home:kstreitova:branches:server:database
- update to 10.2.18 GA
  * notable changes:
    * MDEV-15511 - if available, stunnel can be used during Galera
      rsync SST
    * MDEV-16791 - mariabackup: Support DDL commands during backup
    * MDEV-13564 - Refuse MLOG_TRUNCATE in mariabackup
    * MDEV-16934 - add new system variable eq_range_index_dive_limit
      to speed up queries that new long nested IN lists. The default
      value, for backward compatibility, is 0 meaning "unlimited".
    * MDEV-13333 - errors on InnoDB lock conflict
    * Report all InnoDB redo log corruption
    * MDEV-17043 - Purge of indexed virtual columns may cause hang
      on table-rebuilding DDL
    * MDEV-16868 - corruption of InnoDB temporary tables
    * MDEV-16465 - Invalid (old?) table or database name or hang
      in ha_innobase::delete_table and log semaphore wait upon
      concurrent DDL with foreign keys
  * fixes for the following security vulnerabilities: none
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10218-release-notes
    https://mariadb.com/kb/en/library/mariadb-10218-changelog
- refresh mariadb-10.2.4-fortify-and-O.patch

OBS-URL: https://build.opensuse.org/request/show/638722
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=218
2018-09-27 10:25:00 +00:00
c9d5a4faab Accepting request 635482 from home:kstreitova:branches:server:database
- add ssl tests that are failing with OpenSSL 1.1.1 to 
  suse_skipped_tests.list [MDEV-17184]

OBS-URL: https://build.opensuse.org/request/show/635482
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=217
2018-09-13 10:47:17 +00:00
Martin Pluskal
e67020ea2f Accepting request 632041 from home:kstreitova:branches:server:database
- update to 10.2.17 GA
  * notable changes:
    * New variable innodb_log_optimize_ddl for avoiding delay due
      to page flushing and allowing concurrent backup
    * InnoDB updated to 5.7.23
    * MDEV-14637 - Fix hang due to DDL with FOREIGN KEY or
      persistent statistics
    * MDEV-15953 - Alter InnoDB Partitioned Table Moves Files
      (which were originally not in the datadir) to the datadir
    * MDEV-16515 - InnoDB: Failing assertion: ++retries < 10000 in
      file dict0dict.cc line 2737
    * MDEV-16809 - Allow full redo logging for ALTER TABLE
    * Temporary tables: MDEV-16713 - InnoDB hang with repeating
      log entry
    * indexed virtual columns: MDEV-15855 - Deadlock between purge
      thread and DDL statement
    * MDEV-16664 - Change the default to
      innodb_lock_schedule_algorithm=fcfs
    * Galera: MDEV-15822 - WSREP: BF lock wait long for trx
  * fixes for the following security vulnerabilities:
    CVE-2018-3064 [bsc#1103342], CVE-2018-3063 [bsc#1101677],
    CVE-2018-3058 [bsc#1101676], CVE-2018-3066 [bsc#1101678],
    CVE-2018-3060
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10217-release-notes
    https://mariadb.com/kb/en/library/mariadb-10217-changelog

OBS-URL: https://build.opensuse.org/request/show/632041
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=216
2018-08-29 06:59:31 +00:00
Martin Pluskal
a44ec6dfe1 Accepting request 625845 from home:kstreitova:branches:server:database
- switch to libedit as control sequences were already fixed there
  so we don't have to avoid it [bsc#1098683]

OBS-URL: https://build.opensuse.org/request/show/625845
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=215
2018-07-30 07:07:00 +00:00
Martin Pluskal
8511b3b886 Accepting request 624013 from home:kstreitova:branches:server:database
- update to 10.2.16 GA
  * notable changes:
    * MDEV-13122: mariabackup now supports MyRocks
    * MDEV-13779 - InnoDB fails to shut down purge workers, causing
      hang
    * MDEV-16267 - Wrong INFORMATION_SCHEMA.INNODB_BUFFER_PAGE.\
      TABLE_NAME
    * MDEV-13834 - Upgrade failure from 10.1 innodb_encrypt_log
    * MDEV-16283 - ALTER TABLE...DISCARD TABLESPACE still takes long
      on a large buffer pool
    * MDEV-16376 - ASAN: heap-use-after-free in
      gcol.innodb_virtual_debug
    * MDEV-15824 - innodb_defragment=ON trumps
      innodb_optimize_fulltext_only=ON in OPTIMIZE TABLE
    * MDEV-16124 - fil_rename_tablespace() times out and crashes
      server during table-rebuilding ALTER TABLE
    * MDEV-16416 - Crash on IMPORT TABLESPACE of a
      ROW_FORMAT=COMPRESSED table
    * MDEV-16456 - InnoDB error "returned OS error 71" complains
      about wrong path
    * MDEV-13103 - Deal with page_compressed page corruption
    * MDEV-16496 - Mariabackup: Implement --verbose option to
      instrument InnoDB log apply
    * MDEV-16087 - Inconsistent SELECT results when query cache
      is enabled
    * MDEV-15114 - ASAN heap-use-after-free in mem_heap_dup or
      dfield_data_is_binary_equal (fix for indexed virtual columns)
  * fixes for the following security vulnerabilities:
    none 
  * release notes and changelog:

OBS-URL: https://build.opensuse.org/request/show/624013
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=214
2018-07-19 10:46:49 +00:00
455598d98c Accepting request 611836 from home:kukuk:branches:server:database
- Don't require systemd explicit, spec file can handle both cases
  correct and in containers we don't have systemd.

OBS-URL: https://build.opensuse.org/request/show/611836
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=213
2018-05-29 10:43:47 +00:00
faeb8f39fd Accepting request 610539 from home:kstreitova:branches:server:database
- update to 10.2.15 GA
  * notable changes:
    * PCRE updated to 8.42
    * The embedded server library now supports SSL when connecting
      to remote servers [bsc#1088681], [CVE-2018-2767]
    * MDEV-15325 - Incomplete validation of missing tablespace
      during recovery
    * MDEV-15720 - ib_buffer_pool unnecessarily includes the
      temporary tablespace
    * MDEV-15764 - InnoDB may write uninitialized garbage to redo
      log
    * MDEV-15553 - Virtual Columns: Assertion failed in
      dict_table_get_col_name
    * MDEV-14705 - slow innodb startup/shutdown can exceed systemd
      timeout
    * MDEV-15507 - Assertion failed in dict_check_sys_tables on
      upgrade from 5.5
    * MDEV-15916 - Change buffer crash during TRUNCATE or
      DROP TABLE
    * encryption fixes - MDEV-12632, MDEV-13516, MDEV-15752,
      MDEV-15566, MDEV-16092
    * temporary table ROLLBACK fixes - MDEV-15826, MDEV-15374
    * applicable changes from 5.7.22 - MDEV-16142
  * fixes for the following security vulnerabilities:
    CVE-2018-2786, CVE-2018-2759, CVE-2018-2777, CVE-2018-2810,
    CVE-2018-2782, CVE-2018-2784, CVE-2018-2787, CVE-2018-2766,
    CVE-2018-2755, CVE-2018-2819, CVE-2018-2817, CVE-2018-2761, 
    CVE-2018-2781, CVE-2018-2771, CVE-2018-2813
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10215-release-notes

OBS-URL: https://build.opensuse.org/request/show/610539
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=212
2018-05-18 20:32:06 +00:00
3d17bcf739 Accepting request 602556 from home:kstreitova:branches:server:database
- update to 10.2.14 GA
  * notable changes:
    * MyRocks is now Gamma (RC)
    * MDEV-14533 - Added the DISKS plugin, for monitoring disk
      space
    * MDEV-14611 - ALTER TABLE EXCHANGE PARTITION does not work
      properly when used with DATA DIRECTORY.
    * MDEV-15333 - MariaDB (still) slow start
    * MDEV-12255 - Wrong result with
      innodb_prefix_index_cluster_optimization
    * MDEV-12396 - IMPORT TABLESPACE cleanup
    * MDEV-14648 - Restore fix for MySQL BUG#39053 - UNINSTALL
      PLUGIN does not allow the storage engine to cleanup open
      connections
    * MDEV-15249 - IMPORT fixes
    * MDEV-14988 - innodb_read_only tries to modify files if
      transactions were recovered in COMMITTED state
    * MDEV-14773 - DROP TABLE hangs for InnoDB table with FULLTEXT
      index (fixing a recent regression from upstream)
    * MDEV-15529 - IMPORT TABLESPACE unnecessarily uses the
      doublewrite buffer
    * MDEV-15554 - InnoDB page_cleaner shutdown sometimes hangs
    * MDEV-14545 - Mariabackup - Backup fails due to
      MLOG_INDEX_LOAD record
  * fixes for the following security vulnerabilities: none
  * release notes and changelog:
    https://mariadb.com/kb/en/library/mariadb-10214-release-notes
    https://mariadb.com/kb/en/library/mariadb-10214-changelog
- remove the following patches
  * mariadb-10.2.14-xtrabackup-v2.patch (applied upstream,

OBS-URL: https://build.opensuse.org/request/show/602556
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=211
2018-04-30 13:34:53 +00:00
295b36a5a4 Accepting request 587888 from home:kstreitova:branches:server:database
- change %{extra_provides} macro from "mariadb_102" to "mariadb-102"
  and use this macro in Provides/Obsoletes for mariadb, test,
  tools, bench and errormessages subpackages to ensure a smooth
  transition from SLE12 to SLE15 [fate#323756]
- remove "Provides: mariadb-errormessages = 10.1.25" that shouldn't
  be needed anymore

OBS-URL: https://build.opensuse.org/request/show/587888
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=210
2018-03-16 12:38:14 +00:00
Martin Pluskal
99cf6cd6d2 Accepting request 587686 from home:oertel:branches:server:database
- fix build on aarch64: compile a few more files with -O0
  from https://jira.mariadb.org/browse/MDEV-14318
  add patch mariadb-10.2.13-aarch_compilefix.patch

OBS-URL: https://build.opensuse.org/request/show/587686
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=209
2018-03-16 08:47:53 +00:00
Martin Pluskal
401d035448 Accepting request 580660 from home:rsalevsky:branches:server:database
- add mariadb-10.2.14-xtrabackup-v2.patch (bsc#1083087)

OBS-URL: https://build.opensuse.org/request/show/580660
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=208
2018-02-27 20:02:47 +00:00
a74babaaed Accepting request 579672 from home:kstreitova:branches:server:database
- update to 10.2.13 GA
  * notable changes
    * InnoDB updated to 5.7.21
    * Galera wsrep library updated to 25.3.23
    * MDEV-13869 - MariaDB slow start
    * MDEV-14611 - ALTER TABLE EXCHANGE PARTITION does not work
      properly when used with DATA DIRECTORY
    * MDEV-15249 - Crash in MVCC read after IMPORT TABLESPACE
    * Foreign key bugs:
    * MDEV-15199 - Referential integrity broken in ON DELETE
      CASCADE/MDEV-14222 Unnecessary 'cascade' memory allocation
      for every updated row
    * MDEV-15219 - FOREIGN KEY CASCADE or SET NULL operations will
      not resume after lock wait
    * MDEV-15042 - INSERT ON DUPLICATE KEY UPDATE produces error
      1032 (Can't find record)
    * MDEV-13205 - InnoDB: Failing assertion:
      !dict_index_is_online_ddl(index) upon ALTER TABLE
    * MDEV-14958 - Merge new release of InnoDB MySQL 5.7.21 to 10.2
    * MDEV-15165 - InnoDB purge for index on virtual column is
      trying to access an incomplete record
    * MDEV-15143 - InnoDB: Rollback of trx with id 0 completed
    * MDEV-11415 - Remove excessive undo logging during ALTER
      TABLE…ALGORITHM=COPY
    * MDEV-15016 - multiple page cleaner threads use a lot of CPU
    * MDEV-14941 - Timeouts on persistent statistics tables caused
      by MDEV-14511
    * MDEV-14985 - innodb_undo_log_truncate may be blocked if
      transactions were recovered at startup
    * MDEV-14441 - InnoDB hangs when setting

OBS-URL: https://build.opensuse.org/request/show/579672
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=207
2018-02-23 23:02:16 +00:00
29a04e9f7f Accepting request 575844 from home:dirkmueller:branches:server:database
- add dependency on which for galera scripts

OBS-URL: https://build.opensuse.org/request/show/575844
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=206
2018-02-13 06:55:47 +00:00
Martin Pluskal
8c0a7ab9e9 Accepting request 567774 from home:kstreitova:branches:server:database
- change owner of mysql-test directory from root to mysql. It also
  fixes sys_vars.secure_file_priv running under mysql user (e.g.
  if ít's started via suse-test-run script) that needs to be able
  to create a test file there during its run [bsc#1012075]

OBS-URL: https://build.opensuse.org/request/show/567774
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=205
2018-01-20 08:19:42 +00:00
92bdaead26 Accepting request 563276 from home:kstreitova:branches:server:database
mysql-community-server-5.1.45-multi-configuration.patch
    mariadb-10.2.4-logrotate.patch
    mariadb-5.5.28-install_db-quiet.patch
    mariadb-10.1.1-mysqld_multi-features.patch
    mariadb-5.2.3-cnf.patch
    mariadb-10.2.3-group.patch
    mariadb-10.1.12-deharcode-libdir.patch
    mariadb-10.0.15-logrotate-su.patch
    mariadb-10.2.4-fortify-and-O.patch
    mariadb-10.2.8-systemd-cmake.patch
    mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
    mariadb-10.2.9-galera_cnf.patch
    mariadb-10.2.10-disable_openssl_compatibility_check.patch

OBS-URL: https://build.opensuse.org/request/show/563276
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=204
2018-01-10 12:08:28 +00:00
e4b2876888 Accepting request 563119 from home:kstreitova:branches:server:database
- update to 10.2.12 GA
   * release notes and changelog:
     https://mariadb.com/kb/en/library/mariadb-10212-release-notes/
     https://mariadb.com/kb/en/library/mariadb-10212-changelog/
- remove mysql-community-server-5.5.6-safe-process-in-bin.patch
  becuase this moving is done in the specfile
- get rid of the archive with patches (remove mysql-patches.tar.xz
  and series files), handle patches in the standard way
- add comments to the section with removing unused files (based on
  https://lists.launchpad.net/maria-developers/msg11028.html)
- put rm statements together
- install the new upstream systemd-tmpfiles configuration file
  'tmpfiles.conf' and rename it to 'mariadb.conf' in order to
  follow the manual
- remove the new upstream systemd-sysusers configuration file as
  we handle creating of mysql user in the specfile
- mysql.service: remove calling of the wait function and let
  systemd to do this job. Switch from 'Type=simple' to
  'Type=notify' and add TimeoutSec=300
- rename unit files from mysql to mariadb and add mysql alias for
  the backward compatibility [bsc#1067443]
  * mysql.service -> mariadb.service
  * mysql.target -> mariadb.target
  * mysql@.service -> mariadb@.service
- remove configuration-tweaks.tar.xz and move configuration to
  my.ini/my.cnf file (omit default_plugins.cnf as all
  configuration here was commented out)
- add a numeric prefix for galera.cnf file in order to allow users
  to speficy in which order the configs will be loaded within the
  my.cnf.d directory [bsc#1055268]

OBS-URL: https://build.opensuse.org/request/show/563119
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=203
2018-01-09 18:28:29 +00:00
fdaed8a1fe Accepting request 559392 from home:dimstar:Factory
Happens to fix build with RPM 4.14, which got quite a bit stricter, see Staging:A

OBS-URL: https://build.opensuse.org/request/show/559392
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=202
2017-12-22 17:13:00 +00:00
18c2992223 Accepting request 547171 from home:kstreitova:branches:server:database
- update to 10.2.11 GA
  * release notes and changelog:
    * https://mariadb.com/kb/en/library/mariadb-10211-release-notes/
    * https://mariadb.com/kb/en/library/mariadb-10211-changelog/
- pack additional mroonga/groonga files
- change default charset to utf8mb4 for full Unicode support 
  [fate#324329]
- remove mariadb-10.2.10-wsrep_sst_common.patch as it's no longer
  needed

    * 10.2.10: CVE-2017-10378, CVE-2017-10268, CVE-2017-15365

OBS-URL: https://build.opensuse.org/request/show/547171
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=201
2017-12-01 16:10:41 +00:00
Martin Pluskal
8837136379 Accepting request 546957 from home:rhafer:branches:server:database
fix galera sst helper (bsc#1069401)

OBS-URL: https://build.opensuse.org/request/show/546957
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=200
2017-12-01 15:08:06 +00:00
1c240bc359 Accepting request 546419 from home:vitezslav_cizek:branches:server:database
- Disable openssl compatibility checking
  * the check uses CRYPTO_set_mem_functions() to set debugging
    memory allocation function. The setting only succeeds if no allocation
    was done before. Our fips self-tests, which are run from the library
    constructor, however, do allocate memory, so the subsequent call to
    CRYPTO_set_mem_functions causes the compatibility check to fail
  * add mariadb-10.2.10-disable_openssl_compatibility_check.patch

OBS-URL: https://build.opensuse.org/request/show/546419
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=199
2017-11-29 14:14:40 +00:00
aa97dc9121 Accepting request 539319 from home:kstreitova:branches:server:database
- update to 10.2.10 GA
  * release notes and changelogs
    https://downloads.mariadb.org/mariadb/+releases/
  * fixes for the following security vulnerabilities
    * 10.2.10: CVE-2017-10378, CVE-2017-10268
    * 10.2.8:  CVE-2017-3636, CVE-2017-3641, CVE-2017-3653,
               CVE-2017-10320, CVE-2017-10365, CVE-2017-10379,
               CVE-2017-10384, CVE-2017-10286, CVE-2017-3257
    * 10.2.6:  CVE-2017-3308, CVE-2017-3309, CVE-2017-3453,
               CVE-2017-3456, CVE-2017-3464
    * 10.2.5:  CVE-2017-3313, CVE-2017-3302
  * [bsc#1042632], [bsc#1043328], [bsc#1019948], [fate#323738]
- refresh and rename the following patches:
  * mariadb-10.1.4-group.patch to
    mariadb-10.2.3-group.patch
  * mariadb-10.1.16-systemd-cmake.patch to
    mariadb-10.2.8-systemd-cmake.patch
  * mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch to
    mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
  * mariadb-10.1.12-fortify-and-O.patch to
    mariadb-10.2.4-fortify-and-O.patch
  * mysql-community-server-5.1.46-logrotate.patch to
    mariadb-10.2.4-logrotate.patch
- add mariadb-10.2.10.tar.gz.sig signature and mariadb.keyring files
- start building without client library part, use
  mariadb-connector-c for getting libmariadb libraries. Remove
  libmysclient* packages
- remove baselibs.conf because we no longer build client libraries
  here
- update %{soname} to 19 (libmysqld soname)

OBS-URL: https://build.opensuse.org/request/show/539319
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=197
2017-11-06 15:24:06 +00:00
334abfbcf2 Accepting request 538115 from home:vitezslav_cizek:branches:server:database
- Also Require: libopenssl-1_0_0-devel from the libmysqlclient-devel package

OBS-URL: https://build.opensuse.org/request/show/538115
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=196
2017-11-01 14:52:18 +00:00
516651f8fe Accepting request 537883 from home:vitezslav_cizek:branches:server:database
- Also Require: libopenssl1_0_0 from the libmysqlclient-devel package

OBS-URL: https://build.opensuse.org/request/show/537883
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=195
2017-10-31 12:47:22 +00:00
Martin Pluskal
ef7b9821e8 Accepting request 536714 from home:bmwiedemann:branches:server:database
Drop INFO_BIN from package because it is not needed and differs for every build (boo#1047218)

An alternative approach would be https://github.com/MariaDB/server/pull/472

Diff looks thus:
/usr/lib64/mysql/INFO_BIN differs (ASCII text, with very long lines)
--- old//usr/lib64/mysql/INFO_BIN       2017-09-19 12:00:00.000000000 +0000
+++ new//usr/lib64/mysql/INFO_BIN       2017-09-19 12:00:00.000000000 +0000
@@ -1,5 +1,5 @@
 ===== Information about the build process: =====
-Build was run at 2017-09-28 07:34:40 on host 'unknown'
+Build was run at 2018-11-03 20:51:24 on host 'unknown'

 Build was done on  Linux-4.13.3-1-default using x86_64

OBS-URL: https://build.opensuse.org/request/show/536714
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=194
2017-10-26 08:04:48 +00:00
Martin Pluskal
0fbfad8199 Accepting request 527352 from home:vitezslav_cizek:branches:server:database
- Explicitly require libopenssl-1_0_0-devel, to successfully build
  once we switch openssl to 1.1 (bsc#1042632)

OBS-URL: https://build.opensuse.org/request/show/527352
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=193
2017-09-20 07:04:25 +00:00
c1706d51f9 Accepting request 509375 from home:kstreitova:branches:server:database
- update to MariaDB 10.1.25 GA
  * notable changes
    * MariaDB can no longer be compiled with OpenSSL version 0.9.8
      and below. The last 0.9.8 release was in December 2015, it is
      out of support and is no longer getting security fixes.
    * MariaDB Backup is now beta
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10125-release-notes
    * https://mariadb.com/kb/en/mariadb/mariadb-10125-changelog
  * refresh mariadb-10.1.12-fortify-and-O.patch
  * remove mariadb-10.1.22-xtradb_null_checks.patch (MDEV-12358),
    a fix was merged upstream
  * update file lists for new man-pages and tools
- switch from 'Restart=on-failure' to 'Restart=on-abort' in
  mysql.service in order to follow the upstream

OBS-URL: https://build.opensuse.org/request/show/509375
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=192
2017-07-11 09:14:10 +00:00
Dominique Leuenberger
cc8871cde2 Accepting request 499775 from home:favogt:branches:server:database
- Add mariadb-10.1.22-xtradb_null_checks.patch (boo#1041525)
  (See also https://jira.mariadb.org/browse/MDEV-12358)
- switch from '/var/run' to '/run' as /var/run is just a symlink to /run
- fix permissions for /var/run/mysql that were wrongly set to
  700 instead of 755 due to added umask. This prevented non-root
  from connecting to the database [bsc#1038740]
- change permissions of the configuration dir/files to 755/644.
  Please note that storing the password in the /etc/my.cnf file is
  not safe. Use for example an option file that is accessible only
  by yourself [bsc#889126]
- set the default umask to 077 in mysql-systemd-helper [bsc#1020976]

OBS-URL: https://build.opensuse.org/request/show/499775
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=191
2017-05-30 14:00:01 +00:00
Martin Pluskal
407577a0ad Accepting request 487348 from home:kstreitova:branches:server:database
- increase required physical memory in _constraints from 5 GB to
  7 GB in order to try to fix i586 build that fails because of
  "Out of memory" error

OBS-URL: https://build.opensuse.org/request/show/487348
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=190
2017-04-11 16:32:49 +00:00
Martin Pluskal
a033d02d42 Accepting request 479931 from home:kstreitova:branches:server:database
- update to MariaDB 10.1.22 GA
  * notable changes
    * XtraDB updated to 5.6.35-80.0
    * TokuDB updated to 5.6.35-80.0
    * PCRE updated to 8.40
    * MDEV-12160: ed25519 authentication plugin
    * MDEV-11842: Fix a 10.1.21 regression with failed INSERT, BEFORE
      INSERT triggers, and columns with no default value
    * MDEV-12075: Fix a 10.1.21 regression in the InnoDB data file
      extension code
    * MDEV-11027: better InnoDB crash recovery progress reporting
    * MDEV-11520: improvements to how InnoDB data files are extended
    * Improvements to InnoDB startup/shutdown to make it more robust
    * MDEV-11233: fix for FULLTEXT index crash
    * MDEV-9734: systemd compatible bintar files now available
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10122-release-notes/
    * https://mariadb.com/kb/en/mariadb/mariadb-10122-changelog/
  * fixes the following CVEs:
    * CVE-2017-3313 [bsc#1020890], CVE-2017-3302 [bsc#1022428]
- refresh mysql-community-server-5.1.46-logrotate.patch
- refresh mariadb-10.1.16-systemd-cmake.patch
- remove mariadb-10.1.20-incorrect_list_handling.patch that is no
  longer needed [bsc#1022428] [CVE-2017-3302]

OBS-URL: https://build.opensuse.org/request/show/479931
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=189
2017-03-16 09:50:46 +00:00
99a64df90b Accepting request 455731 from home:kstreitova:branches:server:database
- update to MariaDB 10.1.21
  * notable changes:
    * Innodb updated to 5.6.35
    * Performance Schema updated to 5.6.35
  * release notes and changelog:
    * https://mariadb.com/kb/en/mariadb/mariadb-10121-release-notes/
    * https://mariadb.com/kb/en/mariadb/mariadb-10121-changelog/
  * fixes the following CVEs:
    CVE-2017-3318 [bsc#1020896], CVE-2017-3317 [bsc#1020894],
    CVE-2017-3312 [bsc#1020873], CVE-2017-3291 [bsc#1020884],
    CVE-2017-3265 [bsc#1020885], CVE-2017-3258 [bsc#1020875],
    CVE-2017-3257 [bsc#1020878], CVE-2017-3244 [bsc#1020877],
    CVE-2017-3243 [bsc#1020891], CVE-2017-3238 [bsc#1020882],
    CVE-2016-6664 [bsc#1008253]
- add mariadb.te file to the filelist
- add mysqld_safe_helper to the filelist
- refresh mariadb-10.1.4-group.patch
- add mariadb-10.1.20-incorrect_list_handling.patch to fix incorrect
  linked list handling in mysql_prune_stmt_list() function that can
  cause use-after-free error [bsc#1022428]

OBS-URL: https://build.opensuse.org/request/show/455731
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=188
2017-02-09 11:49:33 +00:00
Martin Pluskal
c692fa4a36 Accepting request 452618 from home:dimstar:Factory
Fixup the build dependencies. Requiring systemd/systemd-devel is almost
always wrong as it takes you out of the order in the build chain. In
case of mariadb it even introduces a build cycle.

Hence, update the BuildRequires to match what the build system (cmake) actually
is looking for. There is not a single place it tries to find systemd.pc (which
seems what caused your entire confusion - it happened to work when systemd.pc
was in the -devel package, but broke when this was moved out).

with this diff, the build log contains correctly:
[  185s] -- Checking for one of the modules 'libsystemd;libsystemd-daemon'
[  185s] -- Performing Test HAVE_SYSTEMD
[  185s] -- Performing Test HAVE_SYSTEMD - Success
[  185s] -- Looking for include file systemd/sd-daemon.h
[  185s] -- Looking for include file systemd/sd-daemon.h - found
[  186s] -- Systemd features enabled

Just as one would expect to find there.

OBS-URL: https://build.opensuse.org/request/show/452618
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=187
2017-01-26 12:05:02 +00:00
Martin Pluskal
e12598a30f Accepting request 447860 from home:13ilya:branches:server:database
OBS-URL: https://build.opensuse.org/request/show/447860
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=186
2016-12-28 07:53:34 +00:00