MySQL 9.7.1 → 26.10.0
4 releases · 2 breaking changes · 32 security fixes · 0 advisories fixed
32security2breaking8deprecated18feature100fix
Breaking changes
- breaking As of this release, MySQL no longer supports Enterprise Linux 7 (and associated glibc 2.17 generic). in 26.7.0
- breaking As of this release, MySQL no longer supports Enterprise Linux 7 (and associated glibc 2.17 generic). in 9.7.2
Security changes
- security Fixed an issue relating to server-supplied RSA public-key handling during client-side SHA-2 authentication. (Bug #39883040) in 26.10.0
- security Fixed an issue relating to runtime key-type validation by keyring UDFs. (Bug #39838747) in 26.10.0
- security Fixed an issue relating to client parsing of WebAuthn assertion challenge packets. (Bug #39740347) in 26.10.0
- security Fixed an issue relating to resource cleanup during Enterprise Encryption digest-function initialization. (Bug #39665448) in 26.10.0
- security Fixed an issue relating to nullable input supplied to keyring_key_generate(). (Bug #39633350) in 26.10.0
- security Fixed an issue relating to nullable numeric arguments supplied to audit_api_message_emit_udf(). (Bug #39633136) in 26.10.0
- security MySQL now supports post-quantum cryptography (PQC) in TLS 1.3 connections for OpenSSL 3.5.0 or later. This enables negotiation of PQC-capable TLS key-exchange groups, including hybrid classical/PQC groups, and advertising of PQC TLS handshake signature algorithms. The following system variables… in 26.7.0
- security force_pqc: only accept main TLS connections negotiated with a PQC- compatible key exchange group. in 26.7.0
- security admin_force_pqc: only accept admin TLS connections negotiated with a PQC- compatible key exchange group. in 26.7.0
- security replication_force_pqc: require asynchronous replication TLS connections to use a PQC-compatible key exchange group. in 26.7.0
- security group_replication_force_pqc: require Group Replication recovery TLS connections to use a PQC-compatible key exchange group. in 26.7.0
- security mysqlx_force_pqc: only accept X Plugin TLS connections negotiated with a PQC-compatible key exchange group. in 26.7.0
- security tls_kex: TLS key exchange groups to use for the main connection channel. in 26.7.0
- security admin_tls_kex: TLS key exchange groups to use for the admin connection channel. in 26.7.0
- security replication_tls_kex: TLS key exchange groups to use for asynchronous replication TLS connections. in 26.7.0
- security group_replication_tls_kex: TLS key exchange groups to use for Group Replication recovery TLS connections. in 26.7.0
- security mysqlx_tls_kex: TLS key exchange groups to use for X Plugin TLS connections. in 26.7.0
- security The following boolean system variables define which algorithm is advertised. If enabled, PQC is used. If disabled, only classical TLS handshake signature algorithms are advertised. Note If enabled, but PQC is not available, the OpenSSL default is used. in 26.7.0
- security use_pqc_sign: which algorithm is advertised on the main connection channel. in 26.7.0
- security admin_use_pqc_sign: which algorithm is advertised on administration connections. in 26.7.0
- security replication_use_pqc_sign: which algorithm is advertised on asynchronous replication connections. in 26.7.0
- security group_replication_use_pqc_sign: which algorithm is advertised on Group Replication recovery connections. in 26.7.0
- security mysqlx_use_pqc_sign: which algorithm is advertised on X Plugin connections. in 26.7.0
- security Tls_key_exchange_algorithm: indicates the TLS key exchange group negotiated for the current TLS connection. in 26.7.0
- security Tls_sign_algorithm: indicates the TLS handshake signature algorithm negotiated for the current TLS connection. in 26.7.0
- security Mysqlx_force_pqc: value of the effective configuration applied to the current X plugin TLS channel. in 26.7.0
- security Mysqlx_tls_kex: value of the effective configuration applied to the current X plugin TLS channel. in 26.7.0
- security Mysqlx_use_pqc_sign: value of the effective configuration applied to the current X plugin TLS channel. in 26.7.0
- security Fixed an issue relating to server-supplied RSA public-key handling during client-side SHA-2 authentication. (Bug #39883040) in 9.7.4
- security Fixed an issue relating to runtime key-type validation by keyring UDFs. (Bug #39838747) in 9.7.4
- security Fixed an issue relating to client parsing of WebAuthn assertion challenge packets. (Bug #39740347) in 9.7.4
- security Fixed an issue relating to nullable numeric arguments supplied to audit_api_message_emit_udf(). (Bug #39633136) in 9.7.4
Deprecations
- deprecated Important Change: MySQL no longer supports OpenSSL versions older than 1.1.1. Build checks, packaging requirements, help text, and version guards now enforce the new minimum. (Bug #39546984) in 26.10.0
- deprecated The component-facing psi_thread.h header now uses psi_thread_v7. PSI_THREAD_VERSION values 4 through 6 are deprecated for plugins. (Bug #39802197) in 26.10.0
- deprecated The following replication system variables are deprecated in this release and scheduled for removal in a later release: (WL #17300) in 26.7.0
- deprecated group_replication_communication_stack in 26.7.0
- deprecated group_replication_ip_allowlist in 26.7.0
- deprecated The following replication system variables are deprecated in this release and scheduled for removal in a later release: (WL #17300) in 9.7.2
- deprecated group_replication_communication_stack in 9.7.2
- deprecated group_replication_ip_allowlist in 9.7.2
Every release in between
fixFixed an issue relating to Audit Log filter UDF error-message formatting. (Bug #39472337)
fixThe version of Boost needed to build MySQL has been raised from 1.87.0 to 1.92.0. (Bug #40006694)
fixMySQL CMake configuration could fail with newer Cyrus SASL versions when plugins present in older library releases were unavailable. Plugin files are now copied on a best-effort basis, permitting builds with both older and newer plugin sets. (Bug #39964171)
fixRapidYAML 0.16.0 is now bundled for use as an optional dependency of opentelemetry-cpp when built with -DWITH_CONFIGURATION=ON. (Bug #39894165)
fixMySQL Server could fail to compile with GCC 16.1 due to warnings treated as errors. (Bug #39688586, Bug #39688855, Bug #39671507, Bug #39670670, Bug #39670901)
fixMySQL source builds can now be configured with OpenSSL 4.0. Compatibility updates were also made for curl, libfido2, and gRPC. (Bug #39102340)
fixMySQL command services did not return stored-procedure output parameters from prepared CALL statements. Prepared-statement multi-result support now returns those parameters as a result set to component consumers. (Bug #39836178)
fixThe public mysql_command_services API now supports password-authenticated local Classic Protocol connections through the write-only MYSQL_COMMAND_PASSWORD option. Any non-null value, including an empty string, selects normal authentication to the local server; null retains embedded behavior.…
fixComponents using mysql_account_database_security_context_lookup can now query an account's lock state through the read-only Boolean account_locked option exposed by mysql_security_context_options. (Bug #39702733)
fixWith the default command-service DOM consumer, mysql_use_result() could return a non-NULL result containing metadata for a nonempty query while mysql_fetch_row() immediately returned NULL. A private cursor now exposes the materialized rows while preserving unbuffered-result semantics, row lengths,…
fixThe default command-service DOM consumer could return incomplete MYSQL_FIELD metadata, including a null catalog and zero metadata-name lengths. It now returns catalog def with length 3 and supplies the byte lengths of the remaining metadata names, matching libmysql and Classic Protocol results.…
fixFixed an issue relating to concurrent operations during deinitialization of the connection_control component. (Bug #39564040)
fixFixed an issue relating to failed-authentication tracking and delays by the connection_control component. (Bug #39564049)
deprecatedImportant Change: MySQL no longer supports OpenSSL versions older than 1.1.1. Build checks, packaging requirements, help text, and version guards now enforce the new minimum. (Bug #39546984)
fixMicrosoft Windows: An upgrade could fail if the Firewall component was installed on the source version. The upgrade incorrectly selected the Firewall plugin's stored procedure upgrade path. (Bug #39735395, Bug #120932)
fixInnoDB: A previous InnoDB deadlock fix made row-size estimates more accurate for B-tree operations, but also made CREATE TABLE and ALTER TABLE validation stricter. As a result, some table definitions accepted by earlier MySQL LTS releases were unexpectedly rejected or produced warnings, disrupting…
fixWhen the external MeCab parser failed during deferred FULLTEXT tokenization, a base row could be committed without complete token postings, causing searches to miss the row. Parser failures now produce a client warning, including for autocommit statements. Errors were returned similar to the…
fixThe error log now reports warnings when the history-list length crosses innodb_max_purge_lag and when purge lag begins delaying DML. Existing purge-lag configuration controls the behavior; no new system variables were added. Our thanks to Tony Chen and the team at Amazon for the contribution. (Bug…
fixAfter an exported table was modified, its tablespace discarded, and an older exported image imported, point lookups could return rows or values from the discarded tablespace generation. Stale Adaptive Hash Index entries are now treated as misses so lookups fall back to normal B-tree traversal.…
fixAfter ALTER TABLE ... IMPORT TABLESPACE failed, stale pages from the discarded tablespace could later trigger an assertion during eviction. Failed-import cleanup now preserves the index space identifier required to remove stale Adaptive Hash Index entries. Errors were returned similar to the…
fixFixed an issue relating to null input supplied to the InnoDB redo-log consumer UDF. (Bug #39632565) References: See also: Bug #34085310, Bug #36004840.
fixFixed an issue relating to SHOW CREATE output for short non-SQL stored-program or library bodies. (Bug #39361183)
fixFixed an issue relating to validation of index pages during transportable tablespace import. (Bug #39295605)
fixFixed an issue relating to parser nesting for InnoDB full-text Boolean Mode expressions. (Bug #39234789)
fixFixed an issue relating to concurrent COPY ALTER operations. Our thanks to George Ma and the team at Alibaba for the contribution. (Bug #39134921)
fixFixed an issue relating to renaming columns used by self-referencing InnoDB foreign keys. (Bug #39091341)
fixIn debug builds, concurrent foreign-key operations with the adaptive hash index enabled could trigger an index-lifetime assertion. InnoDB now protects the referenced table throughout the foreign-key check. Errors were returned similar to the following: Assertion failure:…
fixAfter the final redo-recovery batch, InnoDB could write and evict every page loaded into the buffer pool, increasing recovery time and causing later rereads. It now writes and evicts only pages with buffered changes and sorts the flush lists. (Bug #37296558)
fixHigh-concurrency READ COMMITTED workloads could perform poorly on NUMA systems because repeatedly closing read views acquired a global mutex and copied the active transaction set. Read-view objects can now be reused without taking that mutex solely for closure. Our thanks to Bin Wang of…
featureJSON Relational Duality Views now support table- and column-level CHECK and NO CHECK annotations for ETAG participation, and column-level UPDATE and NO UPDATE annotations for field mutability. CHECK is the table-level default, and columns inherit table settings unless explicitly overridden.…
deprecatedThe component-facing psi_thread.h header now uses psi_thread_v7. PSI_THREAD_VERSION values 4 through 6 are deprecated for plugins. (Bug #39802197)
securityFixed an issue relating to server-supplied RSA public-key handling during client-side SHA-2 authentication. (Bug #39883040)
securityFixed an issue relating to runtime key-type validation by keyring UDFs. (Bug #39838747)
securityFixed an issue relating to client parsing of WebAuthn assertion challenge packets. (Bug #39740347)
securityFixed an issue relating to resource cleanup during Enterprise Encryption digest-function initialization. (Bug #39665448)
securityFixed an issue relating to nullable input supplied to keyring_key_generate(). (Bug #39633350)
securityFixed an issue relating to nullable numeric arguments supplied to audit_api_message_emit_udf(). (Bug #39633136)
featureImportant Change: MySQL Server now supports a four-part release identity in the form MAJOR.MINOR.PATCH.UPDATE, with an empty update component represented as zero. The complete version is available through VERSION_WITH_UPDATE(), the read-only global version_with_update variable, mysqld…
featureThe command-service option MYSQL_COMMAND_BYPASS_MAX_CONNECTIONS can now be set before connection. Its default of true preserves administrative admission; setting it to false makes an embedded session subject to max_connections without using the reserved extra slot. (Bug #39980933)
featureThe mysql_thd_attributes service now exposes a read-only is_substatement Boolean, enabling components to distinguish top-level statements from stored-function and trigger execution. (Bug #39980910)
+132 more items in the release notesfixWith legacy audit-log filtering, setting audit_log_include_accounts, clearing it to NULL, and then changing audit_log_exclude_accounts could filter out every account and stop audit logging. (Bug #35137790)
fixThe server could close unexpectedly if audit_log_encryption_password_get(keyring ID) was called. (Bug #33296125)
featureThe following Audit Log status variables are introduced in this version: This variable reports the number of audit log files generated by the Audit Log plugin or component when audit_log_format=JSON. The value is incremented for automatic rotations and decremented for pruning actions. (WL #17292)
deprecatedThe following replication system variables are deprecated in this release and scheduled for removal in a later release: (WL #17300)
deprecatedgroup_replication_communication_stack
deprecatedgroup_replication_ip_allowlist
featureInnoDB undo tablespace creation and truncation no longer rely on a local undo truncate log files. Undo truncation progress information is now stored in the Undo Tablespace header. As of this release, undo truncation logs are no longer generated. Note For backward compatibility, existing truncate…
breakingAs of this release, MySQL no longer supports Enterprise Linux 7 (and associated glibc 2.17 generic).
featureImportant Change: MySQL 26.7 introduces the Change Stream Applier (CSA), a new implementation of the replica SQL applier for multi-threaded replication. CSA is an opt-in, per-channel alternative to the Multi-Threaded Applier (MTA). It uses a modular scheduling and execution design to improve…
featureAllows parallel reads of relay-log-backed transactions and release cached event memory as transactions are consumed.
featureAPPLIER_VERSION = 1|2: Selects the applier implementation.
feature1: Multi-Threaded Applier. Default for new channels.
featureAPPLIER_WORKER_COUNT: CSA-only. Sets the number of CSA workers for the channel. Range is 1-1024. If omitted for a new channel, replica_parallel_workers is used.
featureAPPLIER_EVENT_MEMORY_LIMIT: CSA-only. Sets a per-channel cache limit for binlog events. Default is 0 when omitted for a new channel. The effective cache limit is at least equal to the value of replica_max_allowed_packet, a lower configured value produces a warning.
securityMySQL now supports post-quantum cryptography (PQC) in TLS 1.3 connections for OpenSSL 3.5.0 or later. This enables negotiation of PQC-capable TLS key-exchange groups, including hybrid classical/PQC groups, and advertising of PQC TLS handshake signature algorithms. The following system variables…
securityforce_pqc: only accept main TLS connections negotiated with a PQC- compatible key exchange group.
securityadmin_force_pqc: only accept admin TLS connections negotiated with a PQC- compatible key exchange group.
securityreplication_force_pqc: require asynchronous replication TLS connections to use a PQC-compatible key exchange group.
securitygroup_replication_force_pqc: require Group Replication recovery TLS connections to use a PQC-compatible key exchange group.
securitymysqlx_force_pqc: only accept X Plugin TLS connections negotiated with a PQC-compatible key exchange group.
securitytls_kex: TLS key exchange groups to use for the main connection channel.
securityadmin_tls_kex: TLS key exchange groups to use for the admin connection channel.
securityreplication_tls_kex: TLS key exchange groups to use for asynchronous replication TLS connections.
securitygroup_replication_tls_kex: TLS key exchange groups to use for Group Replication recovery TLS connections.
securitymysqlx_tls_kex: TLS key exchange groups to use for X Plugin TLS connections.
securityThe following boolean system variables define which algorithm is advertised. If enabled, PQC is used. If disabled, only classical TLS handshake signature algorithms are advertised. Note If enabled, but PQC is not available, the OpenSSL default is used.
securityuse_pqc_sign: which algorithm is advertised on the main connection channel.
securityadmin_use_pqc_sign: which algorithm is advertised on administration connections.
securityreplication_use_pqc_sign: which algorithm is advertised on asynchronous replication connections.
securitygroup_replication_use_pqc_sign: which algorithm is advertised on Group Replication recovery connections.
securitymysqlx_use_pqc_sign: which algorithm is advertised on X Plugin connections.
securityTls_key_exchange_algorithm: indicates the TLS key exchange group negotiated for the current TLS connection.
securityTls_sign_algorithm: indicates the TLS handshake signature algorithm negotiated for the current TLS connection.
securityMysqlx_force_pqc: value of the effective configuration applied to the current X plugin TLS channel.
securityMysqlx_tls_kex: value of the effective configuration applied to the current X plugin TLS channel.
securityMysqlx_use_pqc_sign: value of the effective configuration applied to the current X plugin TLS channel.
featureImportant Change: MySQL Server now uses calendar-based versioning for releases after the 9.7 LTS series. Version values use Year.Month.Patch (YY.M.P) format. MySQL 26.7.0 is the first such calendar-version release. The following are added to the mysql_version.h to identify the previous LTS…
featureMYSQL_PREVIOUS_LTS_VERSION: The previous LTS version number. For example, "9.7.0" is the previous LTS version for MySQL 26.7.0.
featureMYSQL_PREVIOUS_LTS_VERSION_ID: The identifier of the previous LTS version. For example, "9.7.0" is represented as 90700.
featureMySQL upgrade performance is improved by streamlining the ALTER TABLE statements which run on mysql.general_log and mysql.slow_log. Our thanks to Karry Zhang and the team at Alibaba for the contribution. (Bug #118132, Bug #37944523)
+157 more items in the release notesfixFixed an issue relating to Audit Log filter UDF error-message formatting. (Bug #39472337)
fixMySQL CMake configuration could fail with newer Cyrus SASL versions when plugins present in older library releases were unavailable. Plugin files are now copied on a best-effort basis, permitting builds with both older and newer plugin sets. (Bug #39964171)
fixFixed an issue relating to concurrent operations during deinitialization of the connection_control component. (Bug #39564040)
fixFixed an issue relating to failed-authentication tracking and delays by the connection_control component. (Bug #39564049)
fixInnoDB: A previous InnoDB deadlock fix made row-size estimates more accurate for B-tree operations, but also made CREATE TABLE and ALTER TABLE validation stricter. As a result, some table definitions accepted by earlier MySQL LTS releases were unexpectedly rejected or produced warnings, disrupting…
fixWhen the external MeCab parser failed during deferred FULLTEXT tokenization, a base row could be committed without complete token postings, causing searches to miss the row. Parser failures now produce a client warning, including for autocommit statements. Errors were returned similar to the…
fixAfter an exported table was modified, its tablespace discarded, and an older exported image imported, point lookups could return rows or values from the discarded tablespace generation. Stale Adaptive Hash Index entries are now treated as misses so lookups fall back to normal B-tree traversal.…
fixAfter ALTER TABLE ... IMPORT TABLESPACE failed, stale pages from the discarded tablespace could later trigger an assertion during eviction. Failed-import cleanup now preserves the index space identifier required to remove stale Adaptive Hash Index entries. Errors were returned similar to the…
fixFixed an issue relating to null input supplied to the InnoDB redo-log consumer UDF. (Bug #39632565) References: See also: Bug #34085310, Bug #36004840.
fixFixed an issue relating to SHOW CREATE output for short non-SQL stored-program or library bodies. (Bug #39361183)
fixFixed an issue relating to validation of index pages during transportable tablespace import. (Bug #39295605)
fixFixed an issue relating to parser nesting for InnoDB full-text Boolean Mode expressions. (Bug #39234789)
fixFixed an issue relating to concurrent COPY ALTER operations. Our thanks to George Ma and the team at Alibaba for the contribution. (Bug #39134921)
fixFixed an issue relating to renaming columns used by self-referencing InnoDB foreign keys. (Bug #39091341)
fixIf InnoDB page reorganization produced a size mismatch, InnoDB could continue using the reorganized page without recording the corresponding redo. A later insert followed by a server crash could consequently cause recovery failure or page corruption. The mismatch is now treated as fatal rather…
fixFixed an issue relating to mysqldump processing of server-provided table identifiers. (Bug #39905165)
fixFixed an issue relating to mysqldump validation of server-provided result, identifier, database, and table metadata. (Bug #39832176, Bug #39832186, Bug #39832202)
fixMicrosoft Windows: Fixed an issue relating to formatting unusually long query identifiers. (Bug #39883066)
fixFixed an issue relating to column-identifier validation for histogram operations. (Bug #39882926)
fixFixed an issue relating to argument-length validation for windowed BIT_OR() and BIT_AND(). (Bug #39882731)
fixFixed an issue relating to range handling during group index skip scans. (Bug #39867741)
fixFixed an issue relating to repeated correlated outer-field references in nested queries. (Bug #39603658)
fixFixed an issue relating to optimizer handling of IN predicates. (Bug #39603649)
fixFixed an issue relating to optimization of nested subquery expressions used with IN or NOT IN. (Bug #39603575)
fixFixed an issue relating to multi-join plans. (Bug #39197517)
fixWith the hypergraph optimizer enabled, single-table UPDATE or DELETE statements using ORDER BY and a subquery converted to a hash semijoin or antijoin could modify the wrong rows. An update through a view with CHECK OPTION could also use incorrect rows or fail when required row identifiers were…
fixWith optimizer_switch set to index_merge_union=off, an index-merge plan for disjunctive conditions could omit a disjunct and return incomplete results. For example, a query expected to return four rows instead returned: Empty set (0.00 sec). Our thanks to Kun Qin for the contribution. (Bug…
fixThe bundled libevent library was upgraded from 2.1.11 to 2.1.13. (Bug #40007263)
fixInstalling commercial MySQL packages on EL10 aarch64 could fail because client programs and manual pages conflicted with files supplied by mariadb11.8. Package metadata now declares additional obsoletes to resolve these conflicts. Errors were returned similar to the following: Error: Transaction…
fixThe bundled TIRPC library was upgraded to version 1.3.7. (Bug #39703871)
fixRebuilding MySQL source RPMs on minimal EL8 or EL9 systems could fail because required dependencies were omitted from mysql.spec.in. Our thanks to Simon Mudd for the contribution. (Bug #120895, Bug #39894524)
fixAfter an asynchronous replica restarted, its I/O and SQL threads could appear in INFORMATION_SCHEMA.PROCESSLIST but remain absent from performance_schema.processlist until replication was stopped and restarted. Foreground system threads with process-list IDs are now retained, and an empty user…
fixFixed an issue relating to Group Replication message-decoding limits. (Bug #39905199)
fixFixed an issue relating to sender validation for Group Replication messages. (Bug #39851456)
fixFixed an issue relating to Group Replication UDF lifecycle handling during plugin unloading. (Bug #39838541)
securityFixed an issue relating to server-supplied RSA public-key handling during client-side SHA-2 authentication. (Bug #39883040)
securityFixed an issue relating to runtime key-type validation by keyring UDFs. (Bug #39838747)
securityFixed an issue relating to client parsing of WebAuthn assertion challenge packets. (Bug #39740347)
securityFixed an issue relating to nullable numeric arguments supplied to audit_api_message_emit_udf(). (Bug #39633136)
featureImportant Change: MySQL Server now supports a four-part release identity in the form MAJOR.MINOR.PATCH.UPDATE, with an empty update component represented as zero. The complete version is available through VERSION_WITH_UPDATE(), the read-only global version_with_update variable, mysqld…
+53 more items in the release notesfixWith legacy audit-log filtering, setting audit_log_include_accounts, clearing it to NULL, and then changing audit_log_exclude_accounts could filter out every account and stop audit logging. (Bug #35137790)
fixThe server could close unexpectedly if audit_log_encryption_password_get(keyring ID) was called. (Bug #33296125)
featureThe following Audit Log status variables are introduced in this version: This variable reports the number of audit log files generated by the Audit Log plugin or component when audit_log_format=JSON. The value is incremented for automatic rotations and decremented for pruning actions. (WL #17292)
fixThe version of libfido2 used with MySQL was upgraded to 1.17.0. (Bug #39478664)
fixFixed a potential memory leak in the comp_err utility. (Bug #36532183)
deprecatedThe following replication system variables are deprecated in this release and scheduled for removal in a later release: (WL #17300)
deprecatedgroup_replication_communication_stack
deprecatedgroup_replication_ip_allowlist
fixInnoDB: Fixed a debug assertion in row_upd_rec_in_place() for non-versioned ROW_FORMAT=REDUNDANT rows. (Bug #39165747)
fixInnoDB: During a buffer-pool resize, Adaptive Hash Index could be disabled in mysqld-auto.cnf even though innodb_adaptive_hash_index=ON. (Bug #39157211)
fixInnoDB: Fixed an issue relating to table maintenance and clean-up. (Bug #39091376)
fixInnoDB: Fixed an issue relating to unique indexes. (Bug #38501299)
fixInnoDB: Under certain circumstances, when adding an AUTO_INCREMENT column to an existing table, some records in that table could be skipped, resulting in inaccurate values in the AUTO_INCREMENT column. Our thanks to Huaxiong Song and the team at Alibaba for the contribution. (Bug #115136, Bug…
fixUnder high I/O load, particularly with many threads and the open-file limit exhausted, concurrent temporary-tablespace truncation could cause a deadlock and server failures while a stale buffer page was prepared for I/O. (Bug #39244016)
fixValid CREATE TABLE or INSERT operations involving an InnoDB SPATIAL KEY could be rejected with ER_TOO_BIG_ROWSIZE. Errors were returned similar to the following: ER_TOO_BIG_ROWSIZE(1118) (42000): Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format,…
fixUpdating a JSON relational duality view that deleted rows from a nested child base table could violate foreign-key constraints. JSON Duality View update processing now performs deletes first, in reverse binding order, before inserts and updates are executed. (Bug #39566804)
fixFixed an issue relating to JSON Schema validation. (Bug #39489024)
fixFixed an issue relating to processing JSON date values. (Bug #39361343)
fixFixed an issue relating to processing of nested arrays. (Bug #39255759)
fixFixed an issue relating to metadata validation. (Bug #39255734)
fixJSON_VALUE() with RETURNING DATETIME and a DEFAULT value could return an invalid constant date when the expression was used in a DATE context, silently affecting predicates and joins. The datetime value is now extracted before narrowing to a date. (Bug #120788, Bug #39649893)
fixmysql_tzinfo_to_sql generated unnecessary warnings. For example: Warning: Unable to load '/usr/share/zoneinfo//iso3166.tab' as time zone. Skipping it. Warning: Unable to load '/usr/share/zoneinfo//leap-seconds.list' as time zone. Skipping it. Warning: Unable to load…
fixFixed an issue relating to subquery_to_derived. (Bug #39525738)
fixA query using the hypergraph optimizer with GROUP BY ... WITH ROLLUP on a constant expression and an empty USE INDEX FOR GROUP BY() hint could cause an assertion failure during optimization. As of this release, the optimizer recognizes that constant grouping requires no index ordering, allowing a…
fixFixed an issue relating to ROLLUP queries. (Bug #39501528)
fixFixed an issue related to error handling in aggregation of decimal data. (Bug #39474810)
fixSome temporal and geospatial expressions could trigger assertion failures. (Bug #39279682, Bug #39280411)
fixFixed an issue relating to error-handling. (Bug #39272322)
fixFixed an issue relating to user-variable handling. (Bug #39243027)
fixUnder certain circumstances, predicate-heavy queries using the hypergraph optimizer could trigger an assertion failure. (Bug #39181175)
fixFixed an issue relating to Common Table Expressions with subquery_to_derived enabled. (Bug #39179197)
fixFixed an issue in ExtractValue(). (Bug #39138426)
fixFixed an issue relating to string-to-temporal SQL expression evaluation. (Bug #39135197)
fixComplex queries using the hypergraph optimizer could spend unnecessary planning time repeatedly checking for a secondary-engine row-count hook, even when no secondary engine was installed. The optimizer now caches this hook lookup once per query, reducing planning overhead. (Bug #39015463)
fixOpening a table after updating its histogram could trigger an assertion failure because metadata locks for histograms were released incorrectly. Histogram metadata locks are now released only for the table currently being opened. (Bug #38940484)
fixFixed an issue relating to dynamic scan execution. Our thanks to Mengchu Shi and the team from Alibaba for the contribution. (Bug #38657550)
fixQueries which used BETWEEN with constant bounds could show an unnecessary filter operation above an otherwise exact index range scan when using the hypergraph optimizer. As of this release, the optimizer recognizes these range conditions as exact and removes the redundant filter step. (Bug…
fixQueries involving materialized derived tables could choose an index-lookup plan even when the cost of building the temporary index outweighed its benefit. As of this release, the hypergraph optimizer includes temporary-index build cost when evaluating these plans, improving plan selection for…
fixSELECT DISTINCT ... LIMIT queries, which used materialization-based duplicate removal, could process all distinct rows before applying the limit, causing performance degradation when only a small number of unique rows was requested. The hypergraph optimizer now passes the query limit to duplicate…
breakingAs of this release, MySQL no longer supports Enterprise Linux 7 (and associated glibc 2.17 generic).
+60 more items in the release notes