From 8a3623b0eb987eb897d7f4d3cd8d601533cc0839 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 13 May 2012 12:59:39 +0000 Subject: Update mysql51-{client,server} to 5.1.63 (MySQL 5.1.63). Changes (http://dev.mysql.com/doc/refman/5.1/en/news-5-1-63.html): * Security Fix: Bug #64884 was fixed. * Security Fix: Bug #59387 was fixed. * InnoDB: Deleting a huge amount of data from InnoDB tables within a short time could cause the purge operation that flushes data from the buffer pool to stall. If this issue occurs, restart the server to work around it. This issue is only likely to occur on 32-bit platforms. (Bug #13847885) * InnoDB: If the server crashed during a TRUNCATE TABLE or CREATE INDEX statement for an InnoDB table, or a DROP DATABASE statement for a database containing InnoDB tables, an index could be corrupted, causing an error message when accessing the table after restart: InnoDB: Error: trying to load index index_name for table table_name InnoDB: but the index tree has been freed! In MySQL 5.1, this fix applies to the InnoDB Plugin, but not the built-in InnoDB storage engine. (Bug #12861864, Bug #11766019) * InnoDB: When data was removed from an InnoDB table, newly inserted data might not reuse the freed disk blocks, leading to an unexpected size increase for the system tablespace or .ibd file (depending on the setting of innodb_file_per_table. The OPTIMIZE TABLE could compact a .ibd file in some cases but not others. The freed disk blocks would eventually be reused as additional data was inserted. (Bug #11766634, Bug #59783) * Partitioning: After updating a row of a partitioned table and selecting that row within the same transaction with the query cache enabled, then performing a ROLLBACK, the same result was returned by an identical SELECT issued in a new transaction. (Bug #11761296, Bug #53775) * Replication: The --relay-log-space-limit option was sometimes ignored. More specifically, when the SQL thread went to sleep, it allowed the I/O thread to queue additional events in such a way that the relay log space limit was bypassed, and the number of events in the queue could grow well past the point where the relay logs needed to be rotated. Now in such cases, the SQL thread checks to see whether the I/O thread should rotate and provide the SQL thread a chance to purge the logs (thus freeing space). Note that, when the SQL thread is in the middle of a transaction, it cannot purge the logs; it can only ask for more events until the transaction is complete. Once the transaction is finished, the SQL thread can immediately instruct the I/O thread to rotate. (Bug #12400313, Bug #64503) References: See also Bug #13806492. * Mishandling of NO_BACKSLASH_ESCAPES SQL mode within stored procedures on slave servers could cause replication failures. (Bug #12601974) * If the system time was adjusted backward during query execution, the apparent execution time could be negative. But in some cases these queries would be written to the slow query log, with the negative execution time written as a large unsigned number. Now statements with apparent negative execution time are not written to the slow query log. (Bug #63524, Bug #13454045) References: See also Bug #27208. * mysql_store_result() and mysql_use_result() are not for use with prepared statements and are not intended to be called following mysql_stmt_execute(), but failed to return an error when invoked that way in libmysqld. (Bug #62136, Bug #13738989) References: See also Bug #47485. * SHOW statements treated stored procedure, stored function, and event names as case sensitive. (Bug #56224, Bug #11763507) * On Windows, mysqlslap crashed for attempts to connect using shared memory. (Bug #31173, Bug #11747181, Bug #59107, Bug #11766072) --- databases/mysql51-client/Makefile.common | 4 ++-- databases/mysql51-client/distinfo | 8 ++++---- databases/mysql51-server/PLIST | 16 ++++++++++++++-- databases/mysql51-server/distinfo | 8 ++++---- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/databases/mysql51-client/Makefile.common b/databases/mysql51-client/Makefile.common index 518c015415e..125c5846ad9 100644 --- a/databases/mysql51-client/Makefile.common +++ b/databases/mysql51-client/Makefile.common @@ -1,9 +1,9 @@ -# $NetBSD: Makefile.common,v 1.24 2012/04/08 19:10:59 adam Exp $ +# $NetBSD: Makefile.common,v 1.25 2012/05/13 12:59:39 taca Exp $ # # used by databases/mysql51-client/Makefile # used by databases/mysql51-server/Makefile -DISTNAME= mysql-5.1.62 +DISTNAME= mysql-5.1.63 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL:=MySQL-5.1/} diff --git a/databases/mysql51-client/distinfo b/databases/mysql51-client/distinfo index 4ac356279ab..b8b5ea99c36 100644 --- a/databases/mysql51-client/distinfo +++ b/databases/mysql51-client/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.21 2012/04/08 19:10:59 adam Exp $ +$NetBSD: distinfo,v 1.22 2012/05/13 12:59:39 taca Exp $ -SHA1 (mysql-5.1.62.tar.gz) = 06c7b3742f21fee6faf46224de2221230f943f63 -RMD160 (mysql-5.1.62.tar.gz) = c5720deee2b04a40a20f56a3b305b37fecb343fe -Size (mysql-5.1.62.tar.gz) = 24503313 bytes +SHA1 (mysql-5.1.63.tar.gz) = ce1743098b53540cb75c144d71299bace7398aef +RMD160 (mysql-5.1.63.tar.gz) = d5e9afab1d7fdce959400376398593b59fff6814 +Size (mysql-5.1.63.tar.gz) = 24517173 bytes SHA1 (patch-aa) = 344bc9ab7013fbf64be6adbe8a9fc6279887beb1 SHA1 (patch-ab) = a1c699ebd9dc7e2cec9354035cbd9fdc2a411175 SHA1 (patch-ac) = a250b9797fbaad51d054cbb324feb0f7c29096d4 diff --git a/databases/mysql51-server/PLIST b/databases/mysql51-server/PLIST index a979175c789..c67653534d6 100644 --- a/databases/mysql51-server/PLIST +++ b/databases/mysql51-server/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2012/04/08 19:10:58 adam Exp $ +@comment $NetBSD: PLIST,v 1.20 2012/05/13 12:59:39 taca Exp $ bin/innochecksum bin/my_print_defaults bin/myisam_ftdump @@ -865,6 +865,7 @@ share/mysql-test/r/partition_archive.result share/mysql-test/r/partition_binlog_stmt.result share/mysql-test/r/partition_blackhole.result share/mysql-test/r/partition_bug18198.result +share/mysql-test/r/partition_cache.result share/mysql-test/r/partition_charset.result share/mysql-test/r/partition_csv.result share/mysql-test/r/partition_datatype.result @@ -2661,9 +2662,11 @@ share/mysql-test/suite/innodb/r/innodb-ucs2.result share/mysql-test/suite/innodb/r/innodb.result share/mysql-test/suite/innodb/r/innodb_autoinc_lock_mode_zero.result share/mysql-test/suite/innodb/r/innodb_bug11754376.result +share/mysql-test/suite/innodb/r/innodb_bug11766634.result share/mysql-test/suite/innodb/r/innodb_bug12400341.result share/mysql-test/suite/innodb/r/innodb_bug12661768.result share/mysql-test/suite/innodb/r/innodb_bug13510739.result +share/mysql-test/suite/innodb/r/innodb_bug13635833.result share/mysql-test/suite/innodb/r/innodb_bug21704.result share/mysql-test/suite/innodb/r/innodb_bug30423.result share/mysql-test/suite/innodb/r/innodb_bug30919.result @@ -2720,10 +2723,12 @@ share/mysql-test/suite/innodb/t/innodb.test share/mysql-test/suite/innodb/t/innodb_autoinc_lock_mode_zero-master.opt share/mysql-test/suite/innodb/t/innodb_autoinc_lock_mode_zero.test share/mysql-test/suite/innodb/t/innodb_bug11754376.test +share/mysql-test/suite/innodb/t/innodb_bug11766634.test share/mysql-test/suite/innodb/t/innodb_bug12400341-master.opt share/mysql-test/suite/innodb/t/innodb_bug12400341.test share/mysql-test/suite/innodb/t/innodb_bug12661768.test share/mysql-test/suite/innodb/t/innodb_bug13510739.test +share/mysql-test/suite/innodb/t/innodb_bug13635833.test share/mysql-test/suite/innodb/t/innodb_bug21704.test share/mysql-test/suite/innodb/t/innodb_bug30423.test share/mysql-test/suite/innodb/t/innodb_bug30919-master.opt @@ -2802,8 +2807,10 @@ share/mysql-test/suite/innodb_plugin/r/innodb-zip.result share/mysql-test/suite/innodb_plugin/r/innodb.result share/mysql-test/suite/innodb_plugin/r/innodb_autoinc_lock_mode_zero.result share/mysql-test/suite/innodb_plugin/r/innodb_bug11754376.result +share/mysql-test/suite/innodb_plugin/r/innodb_bug11766634.result share/mysql-test/suite/innodb_plugin/r/innodb_bug12400341.result share/mysql-test/suite/innodb_plugin/r/innodb_bug13510739.result +share/mysql-test/suite/innodb_plugin/r/innodb_bug13635833.result share/mysql-test/suite/innodb_plugin/r/innodb_bug21704.result share/mysql-test/suite/innodb_plugin/r/innodb_bug30423.result share/mysql-test/suite/innodb_plugin/r/innodb_bug30919.result @@ -2895,9 +2902,11 @@ share/mysql-test/suite/innodb_plugin/t/innodb.test share/mysql-test/suite/innodb_plugin/t/innodb_autoinc_lock_mode_zero-master.opt share/mysql-test/suite/innodb_plugin/t/innodb_autoinc_lock_mode_zero.test share/mysql-test/suite/innodb_plugin/t/innodb_bug11754376.test +share/mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test share/mysql-test/suite/innodb_plugin/t/innodb_bug12400341-master.opt share/mysql-test/suite/innodb_plugin/t/innodb_bug12400341.test share/mysql-test/suite/innodb_plugin/t/innodb_bug13510739.test +share/mysql-test/suite/innodb_plugin/t/innodb_bug13635833.test share/mysql-test/suite/innodb_plugin/t/innodb_bug21704.test share/mysql-test/suite/innodb_plugin/t/innodb_bug30423.test share/mysql-test/suite/innodb_plugin/t/innodb_bug30919-master.opt @@ -3887,6 +3896,7 @@ share/mysql-test/suite/rpl/r/rpl_stm_max_relay_size.result share/mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result share/mysql-test/suite/rpl/r/rpl_stm_multi_query.result share/mysql-test/suite/rpl/r/rpl_stm_no_op.result +share/mysql-test/suite/rpl/r/rpl_stm_relay_ign_space.result share/mysql-test/suite/rpl/r/rpl_stm_reset_slave.result share/mysql-test/suite/rpl/r/rpl_stm_sql_mode.result share/mysql-test/suite/rpl/r/rpl_stm_until.result @@ -4227,6 +4237,8 @@ share/mysql-test/suite/rpl/t/rpl_stm_max_relay_size.test share/mysql-test/suite/rpl/t/rpl_stm_mixing_engines.test share/mysql-test/suite/rpl/t/rpl_stm_multi_query.test share/mysql-test/suite/rpl/t/rpl_stm_no_op.test +share/mysql-test/suite/rpl/t/rpl_stm_relay_ign_space-slave.opt +share/mysql-test/suite/rpl/t/rpl_stm_relay_ign_space.test share/mysql-test/suite/rpl/t/rpl_stm_reset_slave.test share/mysql-test/suite/rpl/t/rpl_stm_sql_mode.test share/mysql-test/suite/rpl/t/rpl_stm_until.test @@ -4437,7 +4449,6 @@ share/mysql-test/t/bug46760.test share/mysql-test/t/bug47671-master.opt share/mysql-test/t/bug47671.test share/mysql-test/t/bulk_replace.test -share/mysql-test/t/cache_innodb-master.opt share/mysql-test/t/cache_innodb.test share/mysql-test/t/case.test share/mysql-test/t/cast.test @@ -4784,6 +4795,7 @@ share/mysql-test/t/partition_archive.test share/mysql-test/t/partition_binlog_stmt.test share/mysql-test/t/partition_blackhole.test share/mysql-test/t/partition_bug18198.test +share/mysql-test/t/partition_cache.test share/mysql-test/t/partition_charset.test share/mysql-test/t/partition_csv.test share/mysql-test/t/partition_datatype.test diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo index 226ce94eaae..6b02e749e52 100644 --- a/databases/mysql51-server/distinfo +++ b/databases/mysql51-server/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.24 2012/04/08 19:10:58 adam Exp $ +$NetBSD: distinfo,v 1.25 2012/05/13 12:59:39 taca Exp $ -SHA1 (mysql-5.1.62.tar.gz) = 06c7b3742f21fee6faf46224de2221230f943f63 -RMD160 (mysql-5.1.62.tar.gz) = c5720deee2b04a40a20f56a3b305b37fecb343fe -Size (mysql-5.1.62.tar.gz) = 24503313 bytes +SHA1 (mysql-5.1.63.tar.gz) = ce1743098b53540cb75c144d71299bace7398aef +RMD160 (mysql-5.1.63.tar.gz) = d5e9afab1d7fdce959400376398593b59fff6814 +Size (mysql-5.1.63.tar.gz) = 24517173 bytes SHA1 (patch-aa) = 2a5321738e637a56e57cd6b1b40908d2bf275506 SHA1 (patch-ab) = 4c485a74d55553d63fc3dbc0350d0aa0068e1fcf SHA1 (patch-ac) = bfb6eec77d7c5aa8d2b849632769005dcf2e272c -- cgit v1.2.3