MySQL发布5.1系列最新版本5.1.66 .2012-09-27 上一个版本是2012-08-08的5.1.65 其他产品线是5.5.27 和2012-03-22的5.0.96
下载:5.1.66 ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.1/mysql-5.1.66.tar.gz
D.1.1. Changes in MySQL 5.1.66 (2012-09-28)
Bugs Fixed
-
InnoDB: Certain
information_schematables originally introduced in MySQL 5.6 are now also available in MySQL 5.5 and MySQL 5.1:INNODB_BUFFER_PAGE,INNODB_BUFFER_PAGE_LRU, andINNODB_BUFFER_POOL_STATS. (Bug #13113026) -
InnoDB: When a
SELECT ... FOR UPDATE,UPDATE, or other SQL statement scanned rows in anInnoDBtable using a<or<=operator in aWHEREclause, the next row after the affected range could also be locked. This issue could cause a lock wait timeout for a row that was not expected to be locked. The issue occurred under various isolation levels, such asREAD COMMITTEDandREPEATABLE READ. (Bug #11765218) -
Partitioning: The buffer for the row currently read from each partition used for sorted reads was allocated on open and freed only when the partitioning handler was closed or destroyed. For SELECT statements on tables with many partitions and large rows, this could cause the server to use excessive amounts of memory.
This issue has been addressed by allocating buffers for reads from partitioned tables only when they are needed and freeing them immediately once they are no longer needed. As part of this fix, memory is now allocated for reading from rows only in partitions that have not been pruned (see Section 18.4, “Partition Pruning”). (Bug #13025132)
References: See also Bug #11764622, Bug #14537277.
-
Replication: In master-master replication with
--log-slave-updatesenabled, setting a user variable and then performing inserts using this variable caused theExec_master_log_positioncolumn in the output ofSHOW SLAVE STATUSnot to be updated. (Bug #13596613) -
Small
sort_buffer_sizevalues could result in a server crash. (Bug #14111180) -
The
libmysqlclient_rclient library exported symbols fromyaSSLthat conflict with OpenSSL. If a program linked against that library andlibcurl, it could crash with a segmentation fault. (Bug #14068244) -
The argument for
LIMITmust be an integer, but if the argument was given by a placeholder in a prepared statement, the server did not reject noninteger values such as'5'. (Bug #13868860) -
Access to
INFORMATION_SCHEMAtables through a view could leak memory. (Bug #13734987) -
A query for a
FEDERATEDtable could return incorrect results when the underlying table had a compound index on two columns and the query included anANDcondition on the columns. (Bug #12876932) -
The argument to the
--ssl-keyoption was not verified to exist and be a valid key. The resulting connection used SSL, but the key was not used. (Bug #62743, Bug #13115401) -
In debug builds, an
InnoDBassertion was overly aggressive about prohibiting an open range. (Bug #66513, Bug #14547952) -
Adding a
LIMITclause to a query containingGROUP BYandORDER BYcould cause the optimizer to choose an incorrect index for processing the query, and return more rows than required. (Bug #54599, Bug #11762052) -
mysqlbinlog did not accept input on the standard input when the standard input was a pipe. (Bug #49336, Bug #11757312)
