-
The
keyring_awsplugin has been updated to use the latest AWS Encryption SDK and so that it works with OpenSSL 1.1.The
keyring_aws_regionvariable supports the additional AWS regions supported by the new SDK. Refer to the variable description for a list of supported AWS regions. (WL #12886)
Binary packages that include
curlrather than linking to the systemcurllibrary now usecurl7.64.0. (Bug #29357198)
On Windows, X Plugin logged some messages that were unnecessary or insufficiently informative. The messages have been removed or improved as appropriate. (Bug #27839153)
-
Microsoft Windows: A new warning message now reminds DBAs that connections made using the MySQL named pipe on Windows has limited the permissions a connector can request on the named pipe.
Previously, the
named_pipe_full_access_groupsystem variable was set to a value that maps to the built-in WindowsEveryonegroup (SID S-1-1-0) by default. However, this group is not ideal and should be replaced with a group that restricts its membership for connectors that are unable to request fewer permissions on the MySQL named pipe.The new warning is written to the error log at startup if the string value assigned to
named_pipe_full_access_groupis'*everyone*'(or the Windows System Language equivalent) and named pipes are enabled. In addition, the warning is written to the error log and raised to the client if the system variable is reset to theEveryonegroup at runtime. (WL #12670)
-
InnoDB: Insufficient memory barriers in the rw-lock implementation caused deadlocks on ARM.
Thanks to Yibo Cai from Arm Technology for the contribution. (Bug #29508001, Bug #94699)
InnoDB: Manually changing the system time while the MySQL server was running caused page cleaner thread delays. (Bug #29138644, Bug #93708)
InnoDB: During log application, after an
OPTIMIZE TABLEoperation,InnoDBdid not populate virtual columns before checking for virtual column index updates. (Bug #28834208)InnoDB: An
INSERToperation involving a generated virtualBLOBcolumn resulted a secondary index being updated with an incorrect value. (Bug #28652826)InnoDB: A full-text cache lock taken when data is synchronized was not released if the full-text cache size exceeded the full-text cache size limit. (Bug #25289359)
-
InnoDB: Client sessions using different
auto_increment_incrementvalues while performing concurrent insert operations could cause a duplicate key error. (Bug #15851528, Bug #67526)References: Reverted patches: Bug #14049391, Bug #65225.
Partitioning:
ALTER TABLE ... EXCHANGE PARTITIONfailed with the error Non matching attribute 'ROW_FORMAT' between partition and table when the partitioned table had partitions using different row formats, even when the partition to be exchanged used the same row format as the non-partitioned table. (Bug #28687608)Replication: When events generated by one MySQL server instance were written to the binary log of another instance, the second server implicitly assumed that the first server supported the same number of binary log event types as itself. Where this was not the case, the event header was handled incorrectly. The issue has now been fixed. Thanks to Facebook for the contribution. (Bug #29417234, Bug #94500)
Replication: If a
FLUSH LOGSstatement was issued before the binary log file was initialized, the statement attempted to write a binary log rotation event to the uninitialized file. The server now checks first that a binary log file is available. (Bug #29201665)Replication: When a
MEMORYtable is implicitly deleted on a master following a server restart, the master writes aDELETEstatement to the binary log so that slaves also empty the table. This generated event now includes a comment in the binary log so that the reason for theDELETEstatement is easy to identify. Thanks to Daniƫl van Eeden for the contribution. (Bug #29157796, Bug #93771)Replication: With statement-based replication in use, if
super_read_onlywas set toONfor a server at the point when a no-op transaction was between its UPDATE and COMMIT operations, the transaction was written to the binary log and assigned a GTID. The transaction is now blocked in this situation. From MySQL 8.0, the value ofsuper_read_onlycannot be changed while a transaction is in progress. (Bug #29009092, Bug #93440)Replication: In query log events in the binary log, the thread ID used for the execution of
DROP TABLEandDELETEstatements was identified incorrectly or not at all. On a multi-threaded replication slave, where temporary tables were involved (which require the correct thread ID as they are session specific), this omission resulted in errors when using mysqlbinlog to replay the binary log for point-in-time recovery. The thread ID is now set correctly. (Bug #28642318, Bug #92398)Replication: When a slave server logs master status and connection information to a table (
master_info_repository=TABLE), which is the default in MySQL 8.0, themysql.slave_master_infotable was not being updated on shutdown if the server was in super read only mode (super_read_only=ON). No error was written to the error log at this time, but replication failed after server startup because the master log file and master log position information was out of date. The thread that updates the master info log at shutdown is now excluded from read-only checks like other replication threads are, so it can update the table even if the server is in super read only mode. Error handling for a slave that is shutting down has also been improved so that any failure to write to the slave status logs results in an error in the error log. (Bug #27675107, Bug #89987)Group Replication: The error message that is issued for a discrepancy between the number of group members and the auto-increment interval incorrectly referred to the
group_replication_auto_increment_incrementsystem variable, instead of theauto_increment_incrementsystem variable. The value ofauto_increment_incrementis changed to the value specified bygroup_replication_auto_increment_incrementwhen Group Replication starts, but only ifauto_increment_incrementandauto_increment_offsethave their default values, and from MySQL 8.0, only in multi-primary mode. The value ofauto_increment_incrementwas always the value that was checked for the error message, and it has now been corrected to give the accurate system variable name. (Bug #29542425)Group Replication: In Group Replication, joining members could wrongly identify themselves as incompatible with an existing replication group even if there were members at the same version already in the group, because they checked against all other members, including the member at the highest version. Joining members also included their own version in the compatibility check. Now, joining members only compare themselves with the existing group member at the lowest version, and do not count their own version. (Bug #29390946, Bug #94429)
Group Replication: The XCom group communication engine did not handle out of memory errors in an appropriate way. If memory could not be allocated to make a copy of the payload for a message, an error was logged but the message was still sent, with a null payload. The Group Communication System (GCS) on the receiving member discarded the message as empty, and the XCom instance on the receiving member accepted this action and did not retry, resulting in the message effectively being skipped. This caused the GTID set on the receiving member to diverge from the group, leading to replication errors. XCom now terminates gracefully if it experiences an out of memory error, so that this situation cannot occur. (Bug #28702320)
An overly strict assertion could be raised during sorting of stored program local objects. (Bug #29759547, Bug #95062)
Installing from RPM packages could result in an error log with incorrect permissions. (Bug #29702462)
Enabling audit log encryption could cause a server exit. (Bug #29549327)
On Debian and Ubuntu, MySQL packages did not enable
mysql.serviceafter upgrades from native MySQL packages. (Bug #29435592)The server did not properly close shared-memory connections when an error occurred, which could result in unexpected server behavior. (Bug #29435426)
MySQL Installer did not install OpenSSL DLL dependencies if the Development component was not selected. (Bug #29423421, Bug #94168, Bug #30199579, Bug #96573)
The parser could leak memory for certain multiple-statement queries. (Bug #29419820)
CREATE USERandALTER USERdid not check the validity of a hashed authentication string when used withIDENTIFIED WITHsyntax. (Bug #29395944)auth_pluginAS 'hash_string'For
InnoDBtables that contained an index on aVARCHARcolumn and were created prior to MySQL 5.7.23, some simpleALTER TABLEstatements that should have been done in place were performed with a table rebuild after an upgrade to MySQL 5.7.23 or higher. (Bug #29375764, Bug #94383)HANDLERstatements did not always work correctly with tables having generated columns. (Bug #29300049)Session-tracking information in the client/server protocol could be mishandled. (Bug #29297652)
With the
PAD_CHAR_TO_FULL_LENGTHSQL mode enabled, password changes failed, with no warning or error reported. (Bug #29287785)The
audit_logplugin did not logUNINSTALL PLUGIN audit_logstatements. (Bug #29248047)audit_logfiltering operations could leak memory. (Bug #29201747)An index defined on a virtual generated column could fail to be updated if the column had a base column in a foreign key relationship. (Bug #29127203, Bug #93670)
Privileges for dropping some Performance Schema tables were checked incorrectly. (Bug #29010031)
A query that employed a derived table which included an
ORDER BYwas not always handled correctly. (Bug #28942965)-
Base columns were not excluded from index-only access by a generated column. (Bug #28652733)
References: See also: Bug #29664369. This issue is a regression of: Bug #23169112.
A thread pool group could be blocked when a thread process tick time exceeded the maximum permitted value. The tick time now uses a larger data type to permit larger values. (Bug #28072609)
MySQL does not support OpenSSL session tickets, but did not set the
SSL_OP_NO_TICKETflag to inform OpenSSL of that. The flag is now set. (Bug #27655493)The
audit_nullplugin did not properly check for a null event record. (Bug #27638290)UpdateXML()did not always free memory properly in certain cases. (Bug #27312862)Empty values in the
namecolumn of themysql.pluginsystem table caused the server to exit during startup. (Bug #27302459)With the
thread_poolplugin enabled, the Performance Schemastatus_by_threadtable contained no data. (Bug #25933891)If an
INSTALL PLUGINstatement contained invalid UTF-8 characters in the shared library name, it caused the server to hang (or to raise an assertion in debug builds). (Bug #14653594, Bug #23080148, Bug #27167197)Inner tables of different semijoin nests were interleaved during materialization, which could lead to a different result for the same query when it used a different query plan. To keep this from occurring, a check is added to prevent such interleaving. (Bug #92809, Bug #28835179)
-
A query involving
GROUP BYon aTIMESTAMPcolumn resulted in a duplicate entry for key (ER_DUP_ENTRY) error. This problem arose whenTIMESTAMPvalues were inserted into a table using a given setting for the time zone and these values were later fetched after the time zone setting had been changed, such that at least some of the insertedTIMESTAMPvalues occurred during the hour that the time changed from standard to daylight time (DST) in the new time zone, during which time the sameTIMESTAMPvalue can exist twice. Now, when the server would otherwise return the error DUPLICATE ENTRY FOR KEY 'group_key', if the grouping involves aTIMESTAMPcolumn, it instead raises the error Grouping on temporal is non-deterministic for time zones having DST. Please consider switching to UTC for this query.In addition, it is suggested to set
explicit_defaults_for_timestamptoONas well as one or more ofMODE_NO_ZERO_IN_DATE,MODE_NO_ZERO_DATE, orMODE_INVALID_DATESas part of the server SQL mode to help avoid this issue. (Bug #90398, Bug #27970159)