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:06:23 UTC 2024

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

Log Message:
mariadb106-*: Update to 10.6.19

                         MariaDB 10.6.19 Release Notes

Notable Items

  Storage Engines

    InnoDB

     * We fail to terminate transaction early with ER_LOCK_TABLE_FULL when
       lock memory is growing (MDEV-34167)
     * 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)
     * wait_for_read in buf_page_get_low hurts performance (MDEV-34458)
     * InnoDB: Assertion failure in file ./storage/innobase/page/page0zip.cc
       line 4211 (MDEV-34357)

    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)
     * ASAN errors in spider_db_free_result after partition DDL (MDEV-29027)
     * 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)
     * Using NAME_CONST() (or executing query from the stored procedure and
       referring to a local variable) changes the plan and may make execution
       slower (MDEV-33971)
     * 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)
     * an option to enable semisync recovery (MDEV-33465)

  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)
     * Deadlock found when trying to get lock during applying (MDEV-31658)
     * 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.6 for Debian 10 "Buster", RHEL/CentOS 7, and Fedora 38
     * 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)
     * We fail to terminate transaction early with ER_LOCK_TABLE_FULL when
       lock memory is growing (MDEV-34167)
     * Disable new connections in case of fatal signal (MDEV-34475)
     * 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.18 -r1.19 pkgsrc/databases/mariadb106-client/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/databases/mariadb106-client/Makefile.common
cvs rdiff -u -r1.19 -r1.20 pkgsrc/databases/mariadb106-client/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc
cvs rdiff -u -r1.34 -r1.35 pkgsrc/databases/mariadb106-server/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/databases/mariadb106-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/mariadb106-client/Makefile
diff -u pkgsrc/databases/mariadb106-client/Makefile:1.18 pkgsrc/databases/mariadb106-client/Makefile:1.19
--- pkgsrc/databases/mariadb106-client/Makefile:1.18    Wed May 29 16:31:43 2024
+++ pkgsrc/databases/mariadb106-client/Makefile Sat Aug 17 00:06:23 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2024/05/29 16:31:43 adam Exp $
+# $NetBSD: Makefile,v 1.19 2024/08/17 00:06:23 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-client-/}
-PKGREVISION=   2
 COMMENT=       MariaDB 10.6, 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/mariadb106-client/Makefile.common
diff -u pkgsrc/databases/mariadb106-client/Makefile.common:1.27 pkgsrc/databases/mariadb106-client/Makefile.common:1.28
--- pkgsrc/databases/mariadb106-client/Makefile.common:1.27     Mon May 20 11:59:10 2024
+++ pkgsrc/databases/mariadb106-client/Makefile.common  Sat Aug 17 00:06:23 2024
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.27 2024/05/20 11:59:10 nia Exp $
+# $NetBSD: Makefile.common,v 1.28 2024/08/17 00:06:23 nia Exp $
 #
 # used by databases/mariadb106-client/Makefile
 # used by databases/mariadb106-server/Makefile
 
-DISTNAME=      mariadb-10.6.18
+DISTNAME=      mariadb-10.6.19
 CATEGORIES=    databases
 MASTER_SITES=  https://archive.mariadb.org/${DISTNAME}/source/
 

Index: pkgsrc/databases/mariadb106-client/distinfo
diff -u pkgsrc/databases/mariadb106-client/distinfo:1.19 pkgsrc/databases/mariadb106-client/distinfo:1.20
--- pkgsrc/databases/mariadb106-client/distinfo:1.19    Thu Jun 20 18:53:43 2024
+++ pkgsrc/databases/mariadb106-client/distinfo Sat Aug 17 00:06:23 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.19 2024/06/20 18:53:43 abs Exp $
+$NetBSD: distinfo,v 1.20 2024/08/17 00:06:23 nia Exp $
 
-BLAKE2s (mariadb-10.6.18.tar.gz) = 4f8e6c2ba6e75abea5a0191649f456d186ca8a7226ee70d8710179f327e3939b
-SHA512 (mariadb-10.6.18.tar.gz) = c4e89639775a8c6063851fa191cb1096b11299d3d22f19657848bc60ba67b2774978f38ca7625d1741ca80b7932fa65727427ae197899d286f921d5c6fc38af5
-Size (mariadb-10.6.18.tar.gz) = 99344652 bytes
+BLAKE2s (mariadb-10.6.19.tar.gz) = ba1d90aa043d89c8ea13dbbd4de54faf610bb416524f3f36e558a2d0c981d8c4
+SHA512 (mariadb-10.6.19.tar.gz) = 22c9fe1ea0429fbf0d333c516107039d90ccfa66bc79268d757182d9b5eabcc9e153ea4edf77deddcf6db294c215bfe3c57df60aa15029adb07170fb3b39d079
+Size (mariadb-10.6.19.tar.gz) = 99979223 bytes
 SHA1 (patch-BUILD_compile-pentium32-gcov) = 89a7da728f94f19c153b4d2d2d6ba5462acc941f
 SHA1 (patch-CMakeLists.txt) = 042d9d361a5c3ff7e7df15f5de4a30eb7984cddd
 SHA1 (patch-client_CMakeLists.txt) = 8fdd8a182304f0b84e120ce95334ace23d02ce88
@@ -13,7 +13,7 @@ SHA1 (patch-mysys_my__gethwaddr.c) = c3f
 SHA1 (patch-plugin_auth__socket_CMakeLists.txt) = b2fddab1d94ba75c69cbf660f546f8e5821e1d51
 SHA1 (patch-scripts_CMakeLists.txt) = b8a13304e314162ab0a1fc06c5620d6b757975f5
 SHA1 (patch-scripts_mysqld__safe.sh) = 4124e4c8df1527049f5eec9f3d2d4bbe80e7c33f
-SHA1 (patch-sql_mysqld.cc) = 71400987a62be294842694cbc59c446bef578202
+SHA1 (patch-sql_mysqld.cc) = be9f0de1fbb37ef0f176439bb3bf209bdf5a06ce
 SHA1 (patch-storage_innobase_include_transactional__lock__guard.h) = d5ff507acdd21858791246ef5a2559e653cb7833
 SHA1 (patch-storage_rocksdb_rdb__io__watchdog.cc) = 85ee5007cfda0d3070ec20b2b774738b01f8e083
 SHA1 (patch-storage_rocksdb_rdb__io__watchdog.h) = d790c092d7d35d014c5ef209635c18614c3a8301

Index: pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc
diff -u pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc:1.2 pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc:1.3
--- pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc:1.2  Thu Jun 20 18:53:43 2024
+++ pkgsrc/databases/mariadb106-client/patches/patch-sql_mysqld.cc      Sat Aug 17 00:06:23 2024
@@ -1,14 +1,11 @@
-$NetBSD: patch-sql_mysqld.cc,v 1.2 2024/06/20 18:53:43 abs Exp $
+$NetBSD: patch-sql_mysqld.cc,v 1.3 2024/08/17 00:06:23 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 07:09:08.000000000 +0000
 +++ sql/mysqld.cc
-@@ -453,7 +453,7 @@ Atomic_counter<uint32_t> THD_count::coun
+@@ -448,7 +448,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/mariadb106-server/Makefile
diff -u pkgsrc/databases/mariadb106-server/Makefile:1.34 pkgsrc/databases/mariadb106-server/Makefile:1.35
--- pkgsrc/databases/mariadb106-server/Makefile:1.34    Thu Jun 20 18:53:43 2024
+++ pkgsrc/databases/mariadb106-server/Makefile Sat Aug 17 00:06:23 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2024/06/20 18:53:43 abs Exp $
+# $NetBSD: Makefile,v 1.35 2024/08/17 00:06:23 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-server-/}
-PKGREVISION=   3
 COMMENT=       MariaDB 10.6, a free MySQL compatible database (server)
 
 CONFLICTS=     mysql-server-[0-9]*

Index: pkgsrc/databases/mariadb106-server/PLIST
diff -u pkgsrc/databases/mariadb106-server/PLIST:1.12 pkgsrc/databases/mariadb106-server/PLIST:1.13
--- pkgsrc/databases/mariadb106-server/PLIST:1.12       Wed Apr 10 19:22:38 2024
+++ pkgsrc/databases/mariadb106-server/PLIST    Sat Aug 17 00:06:23 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2024/04/10 19:22:38 nia Exp $
+@comment $NetBSD: PLIST,v 1.13 2024/08/17 00:06:23 nia Exp $
 bin/aria_chk
 bin/aria_dump_log
 bin/aria_ftdump
@@ -111,6 +111,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