git: a2d4c050c072 - main - databases/mysql80-*: Update to latest release 8.0.31

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Sat, 29 Oct 2022 07:45:26 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a2d4c050c0728f20e859bcdc4766878b2d911be7

commit a2d4c050c0728f20e859bcdc4766878b2d911be7
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2022-10-29 07:43:22 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2022-10-29 07:45:20 +0000

    databases/mysql80-*: Update to latest release 8.0.31
    
    Bugs Fixed
    
        Incompatible Change: The service pfs_plugin_table, deprecated since MySQL 8.0.14, is removed in this release.
    
        Plugins or components using this service must be updated to use pfs_plugin_table_v1 and pfs_plugin_column_* instead. (Bug #34361827)
    
        Important Change; Replication: Query log events filtered by the default database whenever --replicate-do-db or --replicate-ignore-db was used included XA START, XA END, XA COMMIT, and XA ROLLBACK (but not XA PREPARE or XA COMMIT ONE_PHASE), regardless of the binary log format.
    
        This can lead to one of the issues listed here:
    
            When XA START or XA END was filtered out, the sequence of XA statements within the first part of the transaction were rendered invalid, which made the replica stop with an error.
    
            When XA START and XA END were preserved while XA COMMIT or XA ROLLBACK was filtered out, then a transaction could remain in the prepared state indefinitely on the replica.
    
        To prevent either of these problems from occurring, we no longer filter XA START, XA END, XA COMMIT, or XA ROLLBACK statements by the default database with --replicate-do-db or --replica-ignore-db. (Bug #106201, Bug #33764808)
    
        InnoDB: After upgrading to a release that supports row versions for columns added or dropped using ALGORITHM-INSTANT, a failure occurred during an instant ADD COLUMN operation on a table with a nullable column and an instantly added column. (Bug #34488482)
    
        InnoDB: Adding a virtual column and dropping a column in the same ALTER TABLE statement raised an invalid debug assertion failure. (Bug #34467592)
    
        InnoDB: The physical position of columns were not set correctly after dropping a column and renaming an existing column to the name of the dropped column. (Bug #34463089)
    
        InnoDB: A Valgrind error detected in mtr_t::start() was corrected. (Bug #34327575)
    
        InnoDB: A DDL operation on a corrupted partitioned table raised an assertion failure. (Bug #34293555)
    
        InnoDB: An index block latch order violation during histogram sampling blocked concurrent inserts and could cause a deadlock failure. (Bug #34282448, Bug #34174927, Bug #107299)
    
        InnoDB: An ALTER TABLE operation executed while a data load operation was in progress raised an assertion failure. (Bug #34267618)
    
        InnoDB: InnoDB memory leaks during MySQL server initialization, identified by Address Sanitizer (ASAN) builds, were fixed. (Bug #34156050)
    
        InnoDB: During recovery, a tablespace object associated with encrypted undo tablespace pages that were fetched from disk did not contain the encryption keys required to decrypt the pages, resulting in a failure. (Bug #34148143)
    
        InnoDB: In debug builds, a descending b-tree scan raised a debug assertion failure. (Bug #34144951)
    
        InnoDB: The innodb_redo_log_consumer_advance() function failed to handle an invalid argument. (Bug #34052884)
    
        InnoDB: A column added using ALGORITHM=INSTANT was visible in read views created before the DDL operation that added the column. (Bug #33937504)
    
        InnoDB: A failure occurred while upgrading a MySQL instance with a MySQL 5.6 data directory containing user-created table with a particular table ID. Assignment of that table ID resulted in assignment of conflicting data dictionary table IDs while upgrading from MySQL 5.7 to MySQL 8.0.
    
        Thanks to Rahul Malik for the contribution. (Bug #33919635)
    
        InnoDB: A buffer block containing intrinsic temporary table page was relocated during page traversal, causing an assertion failure. (Bug #33715694)
    
        InnoDB: Dropping a table with a discarded tablespace caused an assertion failure. (Bug #33232978)
    
        InnoDB: Page I/O reads not completed before shutdown reached the flush phase caused an assertion failure in cases where pages had change buffer merges to be completed after the I/O read. (Bug #33192496)
    
        InnoDB: An index latch order violation in dict_table_x_lock_indexes() caused an assertion failure. (Bug #32912868)
    
        InnoDB: A TRUNCATE TABLE operation failed to free an acquired mutex in specific cases. (Bug #107858, Bug #34380370)
    
        InnoDB: In debug builds, importing a tablespace without a .cfg file for table with an instantly added or dropped column raised an assertion failure. (Bug #107517, Bug #34307874)
    
        InnoDB: A potential memory leak in the trx_undo_prev_version_build() function was corrected.
    
        Thanks to Alex Xing for the contribution. (Bug #106952, Bug #34051207)
    
        InnoDB: A debug assertion failure occurred while redoing a space deletion during recovery. (Bug #103482, Bug #32819101)
    
        InnoDB: An InnoDB startup message that specified the number of object pools was removed to avoid confusion with the number of buffer pool instances. (Bug #80248, Bug #22653060)
    
    See full Changelog here: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-31.html
    
    Sponsored by:   Netzkommune GmbH
---
 databases/mysql80-client/Makefile  | 2 +-
 databases/mysql80-server/Makefile  | 4 ++--
 databases/mysql80-server/distinfo  | 6 +++---
 databases/mysql80-server/pkg-plist | 3 +++
 4 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/databases/mysql80-client/Makefile b/databases/mysql80-client/Makefile
index 0be00a1fe7ab..6ee35754d862 100644
--- a/databases/mysql80-client/Makefile
+++ b/databases/mysql80-client/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mysql
-PORTREVISION=	2
+PORTREVISION=	0
 PKGNAMESUFFIX=	80-client
 
 COMMENT=	Multithreaded SQL database (client)
diff --git a/databases/mysql80-server/Makefile b/databases/mysql80-server/Makefile
index 1ea2c63b2f74..f2ee53c9137c 100644
--- a/databases/mysql80-server/Makefile
+++ b/databases/mysql80-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=		mysql
-PORTVERSION=		8.0.30
-PORTREVISION?=		2
+PORTVERSION=		8.0.31
+PORTREVISION?=		0
 CATEGORIES=		databases
 MASTER_SITES=		MYSQL/MySQL-8.0
 PKGNAMESUFFIX?=		80-server
diff --git a/databases/mysql80-server/distinfo b/databases/mysql80-server/distinfo
index b9e632e8a536..b12ab6f48abe 100644
--- a/databases/mysql80-server/distinfo
+++ b/databases/mysql80-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659818963
-SHA256 (mysql-boost-8.0.30.tar.gz) = c331ac7a68099a2116097acbb14fd331423d486fe47ce0e346925111b44df69c
-SIZE (mysql-boost-8.0.30.tar.gz) = 332772783
+TIMESTAMP = 1666982026
+SHA256 (mysql-boost-8.0.31.tar.gz) = 7867f3fd8ca423d283a6162c819c766863ecffbf9b59b4756dc7bb81184c1d6a
+SIZE (mysql-boost-8.0.31.tar.gz) = 334504577
diff --git a/databases/mysql80-server/pkg-plist b/databases/mysql80-server/pkg-plist
index 53ba6300271c..38337df0676b 100644
--- a/databases/mysql80-server/pkg-plist
+++ b/databases/mysql80-server/pkg-plist
@@ -81,12 +81,14 @@ lib/mysql/plugin/component_test_audit_api_message.so
 lib/mysql/plugin/component_test_backup_lock_service.so
 lib/mysql/plugin/component_test_component_deinit.so
 lib/mysql/plugin/component_test_host_application_signal.so
+lib/mysql/plugin/component_test_mysql_command_services.so
 lib/mysql/plugin/component_test_mysql_current_thread_reader.so
 lib/mysql/plugin/component_test_mysql_runtime_error.so
 lib/mysql/plugin/component_test_mysql_system_variable_set.so
 lib/mysql/plugin/component_test_pfs_notification.so
 lib/mysql/plugin/component_test_pfs_resource_group.so
 lib/mysql/plugin/component_test_sensitive_system_variables.so
+lib/mysql/plugin/component_test_status_var_reader.so
 lib/mysql/plugin/component_test_status_var_service.so
 lib/mysql/plugin/component_test_status_var_service_int.so
 lib/mysql/plugin/component_test_status_var_service_reg_only.so
@@ -163,6 +165,7 @@ lib/mysql/plugin/semisync_replica.so
 lib/mysql/plugin/semisync_slave.so
 lib/mysql/plugin/semisync_source.so
 lib/mysql/plugin/test_security_context.so
+lib/mysql/plugin/test_services_command_services.so
 lib/mysql/plugin/test_services_host_application_signal.so
 lib/mysql/plugin/test_services_plugin_registry.so
 lib/mysql/plugin/udf_example.so