Subject: CVS commit: pkgsrc/databases/mariadb105-client
From: Nia Alarie
Date: 2022-09-23 10:28:05
Message id: 20220923082805.63E62FA90@cvs.NetBSD.org

Log Message:
mariadb105: update to 10.5.17

Notable Items

  InnoDB

     * InnoDB corruption due to lack of file locking (MDEV-28495)
     * FULLTEXT search with apostrophe, and mandatory words (MDEV-20797)
     * ALTER TABLE IMPORT TABLESPACE corrupts an encrypted table (MDEV-28779)
     * ALTER TABLE wrong-result fix (MDEV-26294)
     * Crash recovery fixes (MDEV-28668, MDEV-28731)

  Replication

     * explicit_defaults_for_timestamp is stored in binlog, so that CREATE
       TABLE on slave would always have the same effect as on master.
       (MDEV-29078)
     * ER_SLAVE_INCIDENT error is specified now on slave to be seen with
       SHOW-SLAVE-STATUS (MDEV-21087)
     * INCIDENT_EVENT is no longer binlogged when a being logged transaction
       can be safely rolledback (MDEV-21443)
     * sequences related row-format events are made to correspond to
       binlog_row_image (MDEV-28487)
     * Possible reason of FLUSH BINARY LOGS hang is eliminated (MDEV-28948)

  Galera

     * Possible to write/update with read_only=ON and not a SUPER privilege
       (MDEV-28546)
     * Node crashes with Transport endpoint is not connected mysqld got
       signal 6 (MDEV-25068)
     * Galera4 not able to report proper wsrep_incoming_addresses
       (MDEV-20627)
     * Galera should replicate nextval()-related changes in sequences with
       INCREMENT <> 0, at least NOCACHE ones with engine=InnoDB (MDEV-27862)

  Optimizer

     * Server crash in JOIN_CACHE::free or in copy_fields (MDEV-23809)
          * Queries that use DISTINCT and an always-constant function like
            COLLATION(aggegate_func(...)) could cause a server crash. Note
            that COLLATION() is a special function - its value is constant
            even if its argument is not costant.
     * Crash when using ANY predicand with redundant subquery in GROUP BY
       clause (MDEV-29139)
          * A query with a subuquery in this form could cause a crash:

 ... ANY (SELECT ... GROUP BY (SELECT redundant_subselect_here)) ...

     * MariaDB Server SEGV on INSERT .. SELECT (MDEV-26427)
          * Certain queries in form "INSERT ... SELECT
            with_aggregate_or_window_func" could cause a crash.
     * restore_prev_nj_state() doesn't update cur_sj_inner_tables correctly
       (MDEV-28749)
          * Subquery semi-join optimization could miss LooseScan or
            FirstMatch strategies for certain queries.
     * Optimizer uses all partitions after upgrade to 10.3 (MDEV-28246)
          * For multi-table UPDATE or DELETE queries, the optimizer failed to
            apply Partition Pruning optimization for the table that is
            updated or deleted from.
     * Range optimizer regression for key IN (const, ....) (MDEV-25020)
          * The issue can be observed on MariaDB 10.5.9 and later versions
            which have the fix for MDEV-9750. That fix introduceds
            optimizer_max_sel_arg_weight.
          * If one sets optimizer_max_sel_arg_weight to a very high value or
            zero (which means "unlimited") and runs queries that produce
            heavy-weight graphs, they can observe a performance slowdown,
            e.g.:

 table.keyXpartY [NOT] IN ( ... )

     * Wrong result with table elimination combined with not_null_range_scan
       (MDEV-28858)
          * If one runs with optimizer_switch='not_null_range_scan=on' (which
            is not enabled by default), a query that does a join and has
            const tables could produce a wrong result.

  CONNECT

     * CONNECT Engine now supports INSERT IGNORE with Mysql Table type
       (MDEV-27766)

  mariadb Client

     * New mariadb client option, -enable-cleartext-plugin. Option does not
       do anything, and is for MySQL-compatibility purposes only.

  General

     * explicit_defaults_for_timestamp now also has a session scope, not only
       global (MDEV-29225)
     * MariaDB can be built with OpenSSL 3.0
     * HELP was updated to include the latest content
     * Crash in JSON_EXTRACT (MDEV-29188)
     * ALTER TABLE ALGORITHM=NOCOPY does not work after upgrade (MDEV-28727)
     * Server crash upon CREATE VIEW with unknown column in ON condition
       (MDEV-29088)
     * As per the MariaDB Deprecation Policy, this will be the last release
       of MariaDB 10.5 for Debian 10 "Buster" for ppc64el

  Security

     * Fixes for the following security vulnerabilities:
          * CVE-2022-32082
          * CVE-2022-32089
          * CVE-2022-32081
          * CVE-2018-25032
          * CVE-2022-32091
          * CVE-2022-32084

Files:
RevisionActionfile
1.12modifypkgsrc/databases/mariadb105-client/Makefile
1.17modifypkgsrc/databases/mariadb105-client/Makefile.common
1.14modifypkgsrc/databases/mariadb105-client/distinfo
1.1removepkgsrc/databases/mariadb105-client/patches/patch-extra_wolfssl_wolfssl_certs_intermediate_genintcerts.sh
1.1removepkgsrc/databases/mariadb105-client/patches/patch-storage_connect_ioapi.c