pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug 17 00:57:32 UTC 2024

Modified Files:
        pkgsrc/databases/mariadb105-client: Makefile Makefile.common distinfo
        pkgsrc/databases/mariadb105-client/patches: patch-sql_mysqld.cc
        pkgsrc/databases/mariadb105-server: Makefile PLIST

Log Message:
mariadb105-*: Update to 10.5.26

                         MariaDB 10.5.26 Release Notes

Notable Items

  Storage Engines

    InnoDB

     * Alter operation on redundant table aborts the server (MDEV-34222)
     * MariaDB crashes with SIGILL because the OS does not support AVX512
       (MDEV-34565)
     * InnoDB: Failing assertion: stat_n_leaf_pages > 0 in
       ha_innobase::estimate_rows_upper_bound (MDEV-34474)

    Aria

     * Index for (specific) Aria table is created as corrupted (MDEV-34522)

    Spider

     * UBSAN: runtime error: applying non-zero offset in spider_free_mem and
       SIGSEGV in spider_free_mem on SELECT (MDEV-31475)
     * SIGSEGV in ha_resolve_storage_engine_name, UBSAN: runtime error: index
       4294967295 out of bounds for type 'st_plugin_int *[64]' (MDEV-32487)
     * SIGSEGV in spider_db_conn::fin_loop_check, and ASAN:
       heap-use-after-free in spider_db_mbase::fin_loop_check on SHOW TABLE
       STATUS (MDEV-34541)
     * SIGSEGV in ha_spider::lock_tables on BEGIN after table lock
       (MDEV-29962)
     * SIGSEGV in spider_conn_first_link_idx and others on DELETE, INSERT and
       SELECT (MDEV-32492)
     * Spider: Crashes, asserts, hangs, memory corruptions and ASAN
       heap-use-after-free's (MDEV-27902)
     * Spider: @@insert_id 128 to TINYINT: Assertion `!is_set() || (m_status
       == DA_OK_BULK && is_bulk_op())' failed. (MDEV-28105)
     * Server crashes when calling spider UDF after aria_encrypt_tables is
       enabled (MDEV-34682)

  Partitioning

     * MariaDB Server crashes with ill-formed partitions (MDEV-32155)
     * SIGSEGV in parse_engine_part_options on INSERT, SELECT or ALTER
       (MDEV-34421)
     * Assertion `auto_increment_value' failed in ha_partition::info on
       INSERT into MEMORY table (MDEV-24610)

  Character Sets

     * On startup: UBSAN: applying zero offset to null pointer in
       my_copy_fix_mb from strings/ctype-mb.c and other locations
       (MDEV-34226)
     * On startup: UBSAN: runtime error: applying zero offset to null pointer
       in skip_trailing_space and
       my_hash_sort_utf8mb3_general1400_nopad_as_ci (MDEV-34187)
     * SHOW CREATE DATABASE statement crashes the server when db name
       contains some unicode characters, ASAN stack-buffer-overflow
       (MDEV-32376)
     * Wrong result set with utf8mb4_danish_ci and BNLH join (MDEV-34417)

  Optimizer

     * On startup: UBSAN: runtime error: applying non-zero offset in
       JOIN::make_aggr_tables_info in sql/sql_select.cc (MDEV-34227)
     * Crash after killing query while it is processed by test_quick_select
       (MDEV-30651)
     * Extend condition normalization to include 'NOT a' (MDEV-19520)
     * Constant subquery causing a crash in pushdown optimization
       (MDEV-29363)
     * Crash when pushing condition with CHARSET()/COERCIBILITY() into
       derived table (MDEV-33010)
     * 2nd execution name resolution problem with pushdown into unions
       (MDEV-34506)
     * Assertion `(key_part->key_part_flag & 4) == 0' failed key_hashnr
       (MDEV-34580)
     * Crash caused by query containing constant having clause (MDEV-23983)
     * ORDER BY DESC causes ROWID Filter optimization performance degradation
       (MDEV-33875)

  Replication

     * Auto-generated DELETE from HEAP table can break replication
       (MDEV-25607)
     * Replication fails when XA transactions are used where the slave has
       replicate_do_db set and the client has touched a different database
       when running DML such as inserts. (MDEV-33921)
     * replication master password length (MDEV-23857)

  Backup

     * Hide password passed on commandline from xtrabackup_info (MDEV-34434)

  Galera

     * Galera updated to 26.4.19
     * galera_gtid_2_cluster: Assertion `thd->wsrep_next_trx_id() !=
       (0x7fffffffffffffffLL * 2ULL + 1)' (MDEV-32633)
     * table gtid_slave_pos entries never been deleted with wsrep_gtid_mode =
       0 (MDEV-34170)
     * Change error code for Galera unkillable threads (MDEV-12008)
     * 10.11.8 cluster becomes inconsistent when using composite primary key
       and partitioning (MDEV-34269)
     * wsrep_sst_mariabackup use /tmp dir during SST rather then user defined
       tmpdir (MDEV-32158)

  General

     * As per the MariaDB Deprecation Policy, this will be the last release
       of MariaDB 10.5 for Debian 10 "Buster", and RHEL/CentOS 7
     * IMPORT TABLESPACE unnecessarily traverses tablespaces list
       (MDEV-34670)
     * unknown variable defaults-group-suffix= with
       mariadb-secure-installation (MDEV-33265)
     * mariadb-install-db appears to hang on macOS (MDEV-34129)
     * Control over memory allocated for SP/PS (MDEV-14959)
     * Trigger doesn't work correctly with bulk insert (MDEV-24411)
     * Assertion `table->field[0]->ptr >= table->record[0] &&
       table->field[0]->ptr <= table->record[0] + table->s->reclength' failed
       in void handler::assert_icp_limitations(uchar*) (MDEV-34632)
     * Sandbox mode \- is not compatible with --binary-mode (MDEV-34203)


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/databases/mariadb105-client/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/databases/mariadb105-client/Makefile.common
cvs rdiff -u -r1.23 -r1.24 pkgsrc/databases/mariadb105-client/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc
cvs rdiff -u -r1.44 -r1.45 pkgsrc/databases/mariadb105-server/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/databases/mariadb105-server/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mariadb105-client/Makefile
diff -u pkgsrc/databases/mariadb105-client/Makefile:1.21 pkgsrc/databases/mariadb105-client/Makefile:1.22
--- pkgsrc/databases/mariadb105-client/Makefile:1.21    Wed May 29 16:31:43 2024
+++ pkgsrc/databases/mariadb105-client/Makefile Sat Aug 17 00:57:32 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2024/05/29 16:31:43 adam Exp $
+# $NetBSD: Makefile,v 1.22 2024/08/17 00:57:32 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-client-/}
-PKGREVISION=   2
 COMMENT=       MariaDB 10.5, a free MySQL compatible database (client)
 
 CONFLICTS=     mysql-client-[0-9]*
@@ -9,6 +8,7 @@ CONFLICTS=      mysql-client-[0-9]*
 .include "Makefile.common"
 
 CMAKE_ARGS+=   -DWITHOUT_SERVER=ON
+CMAKE_ARGS+=   -DWITH_WSREP=OFF
 
 INSTALL_DIRS+= client include libmariadb man scripts
 

Index: pkgsrc/databases/mariadb105-client/Makefile.common
diff -u pkgsrc/databases/mariadb105-client/Makefile.common:1.31 pkgsrc/databases/mariadb105-client/Makefile.common:1.32
--- pkgsrc/databases/mariadb105-client/Makefile.common:1.31     Mon May 20 15:53:41 2024
+++ pkgsrc/databases/mariadb105-client/Makefile.common  Sat Aug 17 00:57:32 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.31 2024/05/20 15:53:41 nia Exp $
+# $NetBSD: Makefile.common,v 1.32 2024/08/17 00:57:32 nia Exp $
 #
 # used by databases/mariadb105-client/Makefile
 # used by databases/mariadb105-server/Makefile
 
-DISTNAME=      mariadb-10.5.25
+DISTNAME=      mariadb-10.5.26
 CATEGORIES=    databases
 MASTER_SITES=  https://archive.mariadb.org/${DISTNAME}/source/
 

Index: pkgsrc/databases/mariadb105-client/distinfo
diff -u pkgsrc/databases/mariadb105-client/distinfo:1.23 pkgsrc/databases/mariadb105-client/distinfo:1.24
--- pkgsrc/databases/mariadb105-client/distinfo:1.23    Thu Jun 20 18:53:56 2024
+++ pkgsrc/databases/mariadb105-client/distinfo Sat Aug 17 00:57:32 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2024/06/20 18:53:56 abs Exp $
+$NetBSD: distinfo,v 1.24 2024/08/17 00:57:32 nia Exp $
 
-BLAKE2s (mariadb-10.5.25.tar.gz) = 4302be25824e86c52059348a346aa09b5982c079369ac0fdb2940a1b5283383f
-SHA512 (mariadb-10.5.25.tar.gz) = 82bc2b8d098a35a6ae2c950e51e710534dac9394defe78f19ebd9c39e0bf5a4fe1af03a585324b8a51764f1b3c33e57576b2ff2d77a357861b5dcf2752851cc2
-Size (mariadb-10.5.25.tar.gz) = 115951936 bytes
+BLAKE2s (mariadb-10.5.26.tar.gz) = 21f4be0f31b9415699be283cfd288ec77a0283c4a88b96d9e991f7406b2ca9e0
+SHA512 (mariadb-10.5.26.tar.gz) = 59b8735b51d3a65548c1513586031327f977de070b90ac33942ec0c36887566efcb556e55776a95f518b5a5f7636e89afd928879a09913564da0c3a518bd4bae
+Size (mariadb-10.5.26.tar.gz) = 116566259 bytes
 SHA1 (patch-BUILD_compile-pentium32-gcov) = 89a7da728f94f19c153b4d2d2d6ba5462acc941f
 SHA1 (patch-CMakeLists.txt) = 96e43de080e7596cc02edfce7e621fe64a13bcb0
 SHA1 (patch-client_CMakeLists.txt) = 8fdd8a182304f0b84e120ce95334ace23d02ce88
@@ -14,7 +14,7 @@ SHA1 (patch-plugin_auth__socket_CMakeLis
 SHA1 (patch-plugin_auth__socket_auth__socket.c) = 850e94faff382a7e962f6d4d6ff960ddddc624c4
 SHA1 (patch-scripts_CMakeLists.txt) = 54591a4d255a8133e06ab5d52bad262acffcddda
 SHA1 (patch-scripts_mysqld__safe.sh) = 4124e4c8df1527049f5eec9f3d2d4bbe80e7c33f
-SHA1 (patch-sql_mysqld.cc) = 71400987a62be294842694cbc59c446bef578202
+SHA1 (patch-sql_mysqld.cc) = 8be8e2c4070d0d79ba7d559aa2eb50ba98e0e442
 SHA1 (patch-storage_columnstore_CMakeLists.txt) = 9b79ccf35992d2a76c4e2a45d8c749835dd0118a
 SHA1 (patch-storage_rocksdb_CMakeLists.txt) = 2ab237df750cc18facf92c6ad997469f5e43c63f
 SHA1 (patch-storage_rocksdb_rdb__io__watchdog.cc) = 85ee5007cfda0d3070ec20b2b774738b01f8e083

Index: pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc
diff -u pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc:1.2 pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc:1.3
--- pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc:1.2  Thu Jun 20 18:53:56 2024
+++ pkgsrc/databases/mariadb105-client/patches/patch-sql_mysqld.cc      Sat Aug 17 00:57:32 2024
@@ -1,14 +1,11 @@
-$NetBSD: patch-sql_mysqld.cc,v 1.2 2024/06/20 18:53:56 abs Exp $
+$NetBSD: patch-sql_mysqld.cc,v 1.3 2024/08/17 00:57:32 nia Exp $
 
 Add missing declaration of "concurrency".
 Fixes build on illumos. From OmniOS CE.
 
-Apply https://github.com/MariaDB/server/pull/3253 to avoid
-hang on exit on at least NetBSD (and presumably macOS)
-
---- sql/mysqld.cc.orig 2024-06-20 16:21:36.964589822 +0000
+--- sql/mysqld.cc.orig 2024-08-03 06:57:43.000000000 +0000
 +++ sql/mysqld.cc
-@@ -453,7 +453,7 @@ Atomic_counter<uint32_t> THD_count::coun
+@@ -451,7 +451,7 @@ Atomic_counter<uint32_t> THD_count::coun
  bool shutdown_wait_for_slaves;
  Atomic_counter<uint32_t> slave_open_temp_tables;
  ulong thread_created;
@@ -17,39 +14,3 @@ hang on exit on at least NetBSD (and pre
  ulong what_to_log;
  ulong slow_launch_time;
  ulong open_files_limit, max_binlog_size;
-@@ -3205,6 +3205,15 @@ static void start_signal_handler(void)
-   DBUG_VOID_RETURN;
- }
- 
-+/** Called only from signal_hand function. */
-+static void* exit_signal_handler()
-+{
-+    my_thread_end();
-+    signal_thread_in_use= 0;
-+    pthread_exit(0);  // Safety
-+    return nullptr;  // Avoid compiler warnings
-+}
-+
- 
- /** This threads handles all signals and alarms. */
- /* ARGSUSED */
-@@ -3265,10 +3274,7 @@ pthread_handler_t signal_hand(void *arg 
-     if (abort_loop)
-     {
-       DBUG_PRINT("quit",("signal_handler: calling my_thread_end()"));
--      my_thread_end();
--      signal_thread_in_use= 0;
--      pthread_exit(0);                                // Safety
--      return 0;                                 // Avoid compiler warnings
-+      return exit_signal_handler();
-     }
-     switch (sig) {
-     case SIGTERM:
-@@ -3287,6 +3293,7 @@ pthread_handler_t signal_hand(void *arg 
-         PSI_CALL_delete_current_thread();
-         my_sigset(sig, SIG_IGN);
-         break_connect_loop(); // MIT THREAD has a alarm thread
-+        return exit_signal_handler();
-       }
-       break;
-     case SIGHUP:

Index: pkgsrc/databases/mariadb105-server/Makefile
diff -u pkgsrc/databases/mariadb105-server/Makefile:1.44 pkgsrc/databases/mariadb105-server/Makefile:1.45
--- pkgsrc/databases/mariadb105-server/Makefile:1.44    Thu Jun 20 18:53:56 2024
+++ pkgsrc/databases/mariadb105-server/Makefile Sat Aug 17 00:57:32 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2024/06/20 18:53:56 abs Exp $
+# $NetBSD: Makefile,v 1.45 2024/08/17 00:57:32 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
-PKGREVISION=   3
 COMMENT=       MariaDB 10.5, a free MySQL compatible database (server)
 
 CONFLICTS=     mysql-server-[0-9]*

Index: pkgsrc/databases/mariadb105-server/PLIST
diff -u pkgsrc/databases/mariadb105-server/PLIST:1.14 pkgsrc/databases/mariadb105-server/PLIST:1.15
--- pkgsrc/databases/mariadb105-server/PLIST:1.14       Mon May 20 15:53:42 2024
+++ pkgsrc/databases/mariadb105-server/PLIST    Sat Aug 17 00:57:32 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2024/05/20 15:53:42 nia Exp $
+@comment $NetBSD: PLIST,v 1.15 2024/08/17 00:57:32 nia Exp $
 bin/aria_chk
 bin/aria_dump_log
 bin/aria_ftdump
@@ -107,6 +107,7 @@ include/mysql/server/private/key.h
 include/mysql/server/private/keycaches.h
 include/mysql/server/private/lex.h
 include/mysql/server/private/lex_hash.h
+include/mysql/server/private/lex_ident.h
 include/mysql/server/private/lex_string.h
 include/mysql/server/private/lex_symbol.h
 include/mysql/server/private/lex_token.h



Home | Main Index | Thread Index | Old Index