summaryrefslogtreecommitdiff
path: root/databases/mysql51-server
diff options
context:
space:
mode:
authortaca <taca>2010-10-06 12:37:58 +0000
committertaca <taca>2010-10-06 12:37:58 +0000
commitdf3391de2871a712a22636b090633ba413df0c9a (patch)
treed34b1dcccf9cf55c0adc54d60aa67d58053497c4 /databases/mysql51-server
parentf55f0b5836d18e5247f1ea5fa8420e789157476d (diff)
downloadpkgsrc-df3391de2871a712a22636b090633ba413df0c9a.tar.gz
Update mysql51-{client,server} package to 5.1.51, MySQL 5.1.51.
For full changes, please refer: http://dev.mysql.com/doc/refman/5.1/en/news-5-1-51.html Here is summary for security fixes: * Security Fix: During evaluation of arguments to extreme-value functions (such as LEAST() and GREATEST()), type errors did not propagate properly, causing the server to crash. (Bug#55826) * Security Fix: The server could crash after materializing a derived table that required a temporary table for grouping. (Bug#55568) * Security Fix: A user-variable assignment expression that is evaluated in a logical expression context can be precalculated in a temporary table for GROUP BY. However, when the expression value is used after creation of the temporary table, it was re-evaluated, not read from the table and a server crash resulted. (Bug#55564) * Security Fix: Pre-evaluation of LIKE predicates during view preparation could cause a server crash. (Bug#54568) * Security Fix: GROUP_CONCAT() and WITH ROLLUP together could cause a server crash. (Bug#54476) * Security Fix: Queries could cause a server crash if the GREATEST() or LEAST() function had a mixed list of numeric and LONGBLOB arguments, and the result of such a function was processed using an intermediate temporary table. (Bug#54461) * Security Fix: Queries with nested joins could cause an infinite loop in the server when used from stored procedures and prepared statements. (Bug#53544) * Security Fix: The PolyFromWKB() function could crash the server when improper WKB data was passed to the function. (Bug#51875)
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r--databases/mysql51-server/PLIST13
-rw-r--r--databases/mysql51-server/distinfo10
-rw-r--r--databases/mysql51-server/patches/patch-ag9
3 files changed, 22 insertions, 10 deletions
diff --git a/databases/mysql51-server/PLIST b/databases/mysql51-server/PLIST
index dbb0e1f7091..8abad8db9d7 100644
--- a/databases/mysql51-server/PLIST
+++ b/databases/mysql51-server/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2010/09/08 16:24:57 taca Exp $
+@comment $NetBSD: PLIST,v 1.9 2010/10/06 12:37:58 taca Exp $
bin/innochecksum
bin/my_print_defaults
bin/myisam_ftdump
@@ -169,6 +169,7 @@ share/mysql-test/extra/rpl_tests/rpl_row_tabledefs.test
share/mysql-test/extra/rpl_tests/rpl_set_null.test
share/mysql-test/extra/rpl_tests/rpl_stm_000001.test
share/mysql-test/extra/rpl_tests/rpl_stm_EE_err2.test
+share/mysql-test/extra/rpl_tests/rpl_stm_create_if_not_exists.test
share/mysql-test/extra/rpl_tests/rpl_sv_relay_space.test
share/mysql-test/extra/rpl_tests/rpl_tmp_table_and_DDL.test
share/mysql-test/extra/rpl_tests/rpl_trig004.test
@@ -323,6 +324,7 @@ share/mysql-test/include/no_running_events.inc
share/mysql-test/include/no_valgrind_without_big.inc
share/mysql-test/include/not_as_root.inc
share/mysql-test/include/not_binlog_format_row.inc
+share/mysql-test/include/not_blackhole.inc
share/mysql-test/include/not_embedded.inc
share/mysql-test/include/not_ndb.inc
share/mysql-test/include/not_ndb_default.inc
@@ -843,6 +845,7 @@ share/mysql-test/r/partition_list.result
share/mysql-test/r/partition_mgm.result
share/mysql-test/r/partition_mgm_err.result
share/mysql-test/r/partition_mgm_err2.result
+share/mysql-test/r/partition_not_blackhole.result
share/mysql-test/r/partition_not_embedded.result
share/mysql-test/r/partition_not_windows.result
share/mysql-test/r/partition_open_files_limit.result
@@ -1128,6 +1131,8 @@ share/mysql-test/std_data/parts/part_supported_sql_funcs_int_float.inc
share/mysql-test/std_data/parts/part_supported_sql_funcs_int_int.inc
share/mysql-test/std_data/parts/part_supported_sql_funcs_int_time.inc
share/mysql-test/std_data/parts/t1.frm
+share/mysql-test/std_data/parts/t1_blackhole.frm
+share/mysql-test/std_data/parts/t1_blackhole.par
share/mysql-test/std_data/parts/t1_will_crash#P#p1_first_1024.MYD
share/mysql-test/std_data/parts/t1_will_crash#P#p2.MYD
share/mysql-test/std_data/parts/t1_will_crash#P#p2.MYI
@@ -1166,6 +1171,7 @@ share/mysql-test/suite/binlog/r/binlog_killed.result
share/mysql-test/suite/binlog/r/binlog_killed_simulate.result
share/mysql-test/suite/binlog/r/binlog_mix_innodb_stat.result
share/mysql-test/suite/binlog/r/binlog_mixed_failure_mixing_engines.result
+share/mysql-test/suite/binlog/r/binlog_mixed_load_data.result
share/mysql-test/suite/binlog/r/binlog_multi_engine.result
share/mysql-test/suite/binlog/r/binlog_old_versions.result
share/mysql-test/suite/binlog/r/binlog_row_binlog.result
@@ -1225,6 +1231,7 @@ share/mysql-test/suite/binlog/t/binlog_killed_simulate-master.opt
share/mysql-test/suite/binlog/t/binlog_killed_simulate.test
share/mysql-test/suite/binlog/t/binlog_mix_innodb_stat.test
share/mysql-test/suite/binlog/t/binlog_mixed_failure_mixing_engines.test
+share/mysql-test/suite/binlog/t/binlog_mixed_load_data.test
share/mysql-test/suite/binlog/t/binlog_multi_engine.test
share/mysql-test/suite/binlog/t/binlog_old_versions.test
share/mysql-test/suite/binlog/t/binlog_row_binlog-master.opt
@@ -3747,6 +3754,7 @@ share/mysql-test/suite/rpl/r/rpl_stm_EE_err2.result
share/mysql-test/suite/rpl/r/rpl_stm_auto_increment_bug33029.result
share/mysql-test/suite/rpl/r/rpl_stm_binlog_direct.result
share/mysql-test/suite/rpl/r/rpl_stm_conflicts.result
+share/mysql-test/suite/rpl/r/rpl_stm_create_if_not_exists.result
share/mysql-test/suite/rpl/r/rpl_stm_flsh_tbls.result
share/mysql-test/suite/rpl/r/rpl_stm_insert_delayed.result
share/mysql-test/suite/rpl/r/rpl_stm_loadfile.result
@@ -4085,6 +4093,7 @@ share/mysql-test/suite/rpl/t/rpl_stm_auto_increment_bug33029.test
share/mysql-test/suite/rpl/t/rpl_stm_binlog_direct-master.opt
share/mysql-test/suite/rpl/t/rpl_stm_binlog_direct.test
share/mysql-test/suite/rpl/t/rpl_stm_conflicts.test
+share/mysql-test/suite/rpl/t/rpl_stm_create_if_not_exists.test
share/mysql-test/suite/rpl/t/rpl_stm_flsh_tbls.test
share/mysql-test/suite/rpl/t/rpl_stm_insert_delayed.test
share/mysql-test/suite/rpl/t/rpl_stm_loadfile.test
@@ -4664,6 +4673,8 @@ share/mysql-test/t/partition_list.test
share/mysql-test/t/partition_mgm.test
share/mysql-test/t/partition_mgm_err.test
share/mysql-test/t/partition_mgm_err2.test
+share/mysql-test/t/partition_not_blackhole-master.opt
+share/mysql-test/t/partition_not_blackhole.test
share/mysql-test/t/partition_not_embedded.test
share/mysql-test/t/partition_not_windows-master.opt
share/mysql-test/t/partition_not_windows.test
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
index bfaa55b314d..8f512b493e7 100644
--- a/databases/mysql51-server/distinfo
+++ b/databases/mysql51-server/distinfo
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.10 2010/09/08 16:24:57 taca Exp $
+$NetBSD: distinfo,v 1.11 2010/10/06 12:37:58 taca Exp $
-SHA1 (mysql-5.1.50.tar.gz) = fb5982fb73bb2eb0494615352a7510f75114c6d9
-RMD160 (mysql-5.1.50.tar.gz) = 5f4b6ac445ee386bb3004f0c27607283d011da3c
-Size (mysql-5.1.50.tar.gz) = 23750564 bytes
+SHA1 (mysql-5.1.51.tar.gz) = 45aa05a6a70d67b379272ec19ad3023230c94079
+RMD160 (mysql-5.1.51.tar.gz) = 033fc88fba226caf2ec6a34ac3875deab3006f42
+Size (mysql-5.1.51.tar.gz) = 23830456 bytes
SHA1 (patch-aa) = 2a5321738e637a56e57cd6b1b40908d2bf275506
SHA1 (patch-ab) = 39ca30e2e78645bb6975d057ace30e8c91e6e405
SHA1 (patch-ac) = bfb6eec77d7c5aa8d2b849632769005dcf2e272c
SHA1 (patch-ad) = 5fd4db0e04a97289f38a5467bbae5041f4082b51
SHA1 (patch-ae) = e682e8c7a260706cbfd802885bfe100c0e0d31be
SHA1 (patch-af) = 1e13ba542b4fc2a1d59fc822d06c76bc4e92dc23
-SHA1 (patch-ag) = c510685dd71e4e3a632c9bf01e4e36eb42945d9e
+SHA1 (patch-ag) = 85df1a0080376c5aff1a963e5532cb2c1ec5949d
SHA1 (patch-ah) = a608060cee7aadaf8bcde84016a73131a75dea32
SHA1 (patch-ai) = 4c5acf2b0e05765a1fe9e30558d163886e1aa492
SHA1 (patch-aj) = b8f35d3a1bc45eb5336ae6a842898b257d2660db
diff --git a/databases/mysql51-server/patches/patch-ag b/databases/mysql51-server/patches/patch-ag
index 7869c854148..d05bb4bc222 100644
--- a/databases/mysql51-server/patches/patch-ag
+++ b/databases/mysql51-server/patches/patch-ag
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.1.1.1 2010/03/04 16:28:58 taca Exp $
+$NetBSD: patch-ag,v 1.2 2010/10/06 12:37:59 taca Exp $
---- include/Makefile.in.orig 2010-02-04 11:46:18.000000000 +0000
+--- include/Makefile.in.orig 2010-09-13 13:46:47.000000000 +0000
+++ include/Makefile.in
-@@ -395,14 +395,7 @@ HEADERS_GEN_MAKE = my_config.h
+@@ -399,15 +399,7 @@ HEADERS_GEN_MAKE = my_config.h
HEADERS_ABI = mysql.h mysql_com.h mysql_time.h \
my_list.h my_alloc.h typelib.h mysql/plugin.h
@@ -12,7 +12,8 @@ $NetBSD: patch-ag,v 1.1.1.1 2010/03/04 16:28:58 taca Exp $
- decimal.h errmsg.h my_global.h my_net.h \
- my_getopt.h sslopt-longopts.h my_dir.h \
- sslopt-vars.h sslopt-case.h sql_common.h keycache.h \
-- m_ctype.h my_attribute.h $(HEADERS_GEN_CONFIGURE) \
+- m_ctype.h my_attribute.h my_compiler.h \
+- $(HEADERS_GEN_CONFIGURE) \
- $(HEADERS_GEN_MAKE)
+pkginclude_HEADERS =