From 79c842114f11e2151d873f1f069b542271f20e1a Mon Sep 17 00:00:00 2001 From: Christos Chatzaras Date: Wed, 16 Apr 2025 00:16:39 +0200 Subject: [PATCH] databases/mysql80-{client, server}: Update to 8,0.42 Bugs Fixed InnoDB: Fixed a potential memory leak in several places in the innobase code. (Bug #37403052) InnoDB: Under certain circumstances, MySQL could crash during shutdown due to pages which were still fixed or dirty. Errors similar to the following were logged: [ERROR] [MY-011908] [InnoDB] [FATAL] Page [page id: space=46, page number=75] still fixed or dirty [ERROR] [MY-013183] [InnoDB] Assertion failure: buf0buf.cc:5889:ib::fatal triggered thread 139963705668608 (Bug #37391519) References: See also: Bug #35115601. InnoDB: CHECK TABLE for spatial indexes did not verify the MBR against the geometry MBR stored in the clustered index record. This could result in incorrect behaviour of spatial indexes. As of this release, CHECK TABLE EXTENDED verifies the MBR matches the MBR stored in the clustered index record. (Bug #37359538) InnoDB: Fixed an issue relating to pessimistic row update. Our thanks to Mengchu Shi and the team at Alibaba for the contribution. (Bug #37292404) InnoDB: The CHECK TABLE operation could incorrectly report corruption in spatial indexes. (Bug #37286473) InnoDB: Fixed an issue relating to InnoDB redo log recovery. (Bug InnoDB: Fixed an issue relating to reading index_id values. (Bug InnoDB: Fixed an issue relating to lower_case_table_names. (Bug Full Changelog see: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-42.html PR: 286108 Sponsored by: Netzkommune GmbH --- databases/mysql80-server/Makefile | 2 +- databases/mysql80-server/distinfo | 6 +++--- ..._absl_time_internal_cctz_src_time__zone__format.cc | 11 ----------- 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 databases/mysql80-server/files/patch-extra_abseil_abseil-cpp-20230802.1_absl_time_internal_cctz_src_time__zone__format.cc diff --git a/databases/mysql80-server/Makefile b/databases/mysql80-server/Makefile index a67a1f6d72c0..3249e5753c5d 100644 --- a/databases/mysql80-server/Makefile +++ b/databases/mysql80-server/Makefile @@ -1,5 +1,5 @@ PORTNAME?= mysql -PORTVERSION= 8.0.41 +PORTVERSION= 8.0.42 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= MYSQL/MySQL-8.0 diff --git a/databases/mysql80-server/distinfo b/databases/mysql80-server/distinfo index fdce4f89df59..ab25a6ee8a4c 100644 --- a/databases/mysql80-server/distinfo +++ b/databases/mysql80-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1740937221 -SHA256 (mysql-boost-8.0.41.tar.gz) = 719589993b1a6769edb82b59f28e0dab8d47df94fa53ac4e9340b7c5eaba937c -SIZE (mysql-boost-8.0.41.tar.gz) = 488749630 +TIMESTAMP = 1744706424 +SHA256 (mysql-boost-8.0.42.tar.gz) = c2aa67c618edfa1bc379107fe819ca8e94cba5d85f156d1053b8fedc88cc5f8f +SIZE (mysql-boost-8.0.42.tar.gz) = 492301593 diff --git a/databases/mysql80-server/files/patch-extra_abseil_abseil-cpp-20230802.1_absl_time_internal_cctz_src_time__zone__format.cc b/databases/mysql80-server/files/patch-extra_abseil_abseil-cpp-20230802.1_absl_time_internal_cctz_src_time__zone__format.cc deleted file mode 100644 index 18a4ff596431..000000000000 --- a/databases/mysql80-server/files/patch-extra_abseil_abseil-cpp-20230802.1_absl_time_internal_cctz_src_time__zone__format.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- extra/abseil/abseil-cpp-20230802.1/absl/time/internal/cctz/src/time_zone_format.cc.orig 2024-07-26 08:50:41 UTC -+++ extra/abseil/abseil-cpp-20230802.1/absl/time/internal/cctz/src/time_zone_format.cc -@@ -19,7 +19,7 @@ - #endif - - #if defined(HAS_STRPTIME) && HAS_STRPTIME --#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) -+#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__) && !defined(__OpenBSD__) - #define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98). - #endif - #endif