Télécharger MySQL 5.6.25

MySQL 5.6.25

Par MySQL AB  (Source libre)
Note des utilisateurs
Thank you for voting
Journal des changements

# Bugs Fixed
- InnoDB; Partitioning: The CREATE_TIME column of the INFORMATION_SCHEMA.TABLES table now shows the correct table creation time for partitioned InnoDB tables. The CREATE_TIME column of the INFORMATION_SCHEMA.PARTITIONS table now shows the correct partition creation time for a partition of partitioned InnoDB tables. The UPDATE_TIME column of the INFORMATION_SCHEMA.TABLES table now shows when a partitioned InnoDB table was last updated by an INSERT, DELETE, or UPDATE. The UPDATE_TIME column of the INFORMATION_SCHEMA.PARTITIONS table now shows when a partition of a partitioned InnoDB table was last updated.
- InnoDB: An assertion was raised on shutdown due to XA PREPARE transactions holding explicit locks
- InnoDB: The strict_* forms of innodb_checksum_algorithm settings (strict_none, strict_innodb, and strict_crc32) caused the server to halt when a non-matching checksum was encountered, even though the non-matching checksum was valid. For example, with innodb_checksum_algorithm=strict_crc32, encountering a valid innodb checksum caused the server to halt. Instead of halting the server, a message is now printed to the error log and the page is accepted as valid if it matches an innodb, crc32 or none checksum.
- InnoDB: The memcached set command permitted a negative expire time value. Expire time is stored internally as an unsigned integer. A negative value would be converted to a large number and accepted. The maximum expire time value is now restricted to INT_MAX32 to prevent negative expire time values.
- InnoDB: Removal of a foreign key object from the data dictionary cache during error handling caused the server to exit.
- InnoDB: SHOW ENGINE INNODB STATUS output showed negative reservation and signal count values due to a counter overflow error.
- InnoDB: Failure to check the status of a cursor transaction read-only option before reusing the cursor transaction for a write operation resulted in a server exit during a memcached workload.
- InnoDB: MDL locks taken by memcached clients caused a MySQL Enterprise Backup FLUSH TABLES WITH READ LOCK operation to hang.
- InnoDB: Estimates that were too low for the size of merge chunks in the result sorting algorithm caused a server exit.
- InnoDB: For full-text searches, the optimizer could choose an index that does not produce correct relevancy rankings.
- Partitioning: When creating a partitioned table, partition-level DATA DIRECTORY or INDEX DIRECTORY option values that contained an excessive number of characters were handled incorrectly.
- Partitioning: Executing an ALTER TABLE on a partitioned table on which a write lock was in effect could cause subsequent SQL statements on this table to fail.
- References: See also Bug #19856162, Bug #74451.
- Replication: When binary logging was enabled, using stored functions and triggers resulting in a long running procedure that inserted many records caused the memory use to increase rapidly. This was due to memory being allocated per variable. The fix ensures that in such a situation, memory is allocated once and the same memory is reused.
- Replication: If an error was encountered while adding a GTID to the received GTID set, the log lock was not being correctly released. This could cause a deadlock.
- Replication: A slave running MySQL 5.6.24 or earlier could not connect to a master running MySQL 5.7.6 and later that had gtid_mode=OFF_PERMISSIVE or gtid_mode=ON_PERMISSIVE. The fix ensures that a slave running MySQL 5.6.25 and later can connect to such a master as long as the slave's gtid_mode is compatible. In other words, a slave running MySQL 5.6.25 and later which has gtid_mode=OFF can connect to a master running MySQL 5.7.6 and later which has gtid_mode=OFF_PERMISSIVE, and a slave running MySQL 5.6.25 and later which has gtid_mode=ON can connect to a master running MySQL 5.7.6 and later which has gtid_mode=ON_PERMISSIVE. Other combinations are incompatible.
- Replication: If an error occurred when using a multi-threaded slave, issuing a CHANGE MASTER TO statement which resulted in an ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS error, and then issuing RESET SLAVE, made it impossible to change master due to repeated ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS errors. Running the debug version of mysqld caused an unexpected exit in this case. The fix ensures that the recovery process for multi-threaded slaves avoids this.
- Replication: When using semisynchronous replication performance was degrading when the number of threads increased beyond a certain threshold. To improve performance, now only the thread which is committing is responsible for deleting the active transaction node. All other operations do not touch this active transaction list.
- Replication: Using mysqlbinlog to process log events greater than 1.6GB failed with an out of memory error. This was caused by an internal error converting the length variable. The fix upgrades the length variable to avoid overflow in both encoding and decoding functions.
- Replication: When master_info_repository=TABLE the receiver thread stores received event information in a table. The memory used in the process of updating the table was not being freed correctly and this could lead to an out of memory error. The fix ensures that after an event is flushed to the relay log file by a receiver thread, the memory used is freed.
- For small values of the read_rnd_buffer_size system variable, internal caching of temporary results could fail and cause query execution failure.
- The normalize_statement() UDF used by MySQL Enterprise Firewall could cause a server exit for certain password-related statements.
- A failed FLUSH PRIVILEGES statement followed by statements to create or drop accounts could cause a server exit.
- std::stringstream code used by MySQL Enterprise Firewall could cause a server exit.
- SHOW VARIABLES mutexes were being locked twice, resulting in a server exit.
- ull2dec() was modified to avoid a problem with GCC 5 in optimized mode.
- Using GCC 5, debug builds failed due to compiler warnings.
- A Provides rule in RPM .spec files misspelled “mysql-embedded” as “mysql-emdedded”.
- The mysql_firewall_max_query_size system variable should be read only at runtime, but it was possible to modify it.
- MySQL Enterprise Firewall could leak memory in the unlikely event of failure to store information in an INFORMATION_SCHEMA table.
- Using a MySQL 5.6 version of mysqladmin to change the password for an account on a MySQL 5.7.6 installation resulted in an unusable account password.
- AddressSanitizer compilation errors were silenced.
- Under certain conditions, the libedit command-line library could write outside an array boundary and cause a client program crash.
- mysql_config_editor could exit abnormally while encrypting passwords.
- Host value matching for the grant tables could fail to use the most specific of values that contained wildcard characters.
- For MySQL distributions linked against yaSSL, a corrupt client key file could cause clients to exit.
- For join queries with a large number of tables, the server could exit converting the join to a semi-join.
- Deleting rows from mysql.user following by granting privileges to a new account could result in a server exit.
- Renaming the mysql.procs_priv table and executing SHOW GRANTS resulted in a server exit.
- Within a stored procedure, access to view columns after DDL or FLUSH TABLES statements in the procedure could cause a server exit.
- Execution of certain BINLOG statements while temporary tables were open by HANDLER statements could cause a server exit.
- For a prepared statement with an ORDER BY that refers by column number to a GROUP_CONCAT() expression that has an outer reference, repeated statement execution could cause a server exit.
- CMake configuration was adjusted to handle new warnings reported by Clang 3.5, using the -Wpointer-bool-conversion and -Wundefined-bool-conversion compiler options.
- Loading corrupt spatial data into a MyISAM table could cause the server to exit during index building.
- Specifying --general_log_file= (with an empty value) at server startup caused the server to fail and exit.
- CMake configuration was adjusted to handle warnings reported by Clang 3.3.
- Some MySQL Enterprise Firewall diagnostic messages were written outside the control of the log_error_verbosity system variable.
- The server rejected empty COM_SHUTDOWN packets.
- Inappropriate -Werror options could appear in mysql_config --cflags output.
- In the Performance Schema threads table, the PROCESSLIST_STATE and PROCESSLIST_INFO values did not change for the thread/sql/main main thread instrument as the thread state changed.
- Certain queries for the INFORMATION_SCHEMA TABLES and COLUMNS tables could lead to excessive memory use when there were large numbers of empty InnoDB tables.
- Queries that included a HAVING clause based on nondeterministic functions could produce incorrect results.
- For logging of prepared statements to the general query log, the Execute line was logged after statement execution, not before.
- MySQL failed to compile using OpenSSL 0.9.8e.