diff options
author | tron <tron> | 2007-07-15 19:22:06 +0000 |
---|---|---|
committer | tron <tron> | 2007-07-15 19:22:06 +0000 |
commit | 9b6b2f894bb33009d0a7a3152d35c4b7efd6e84c (patch) | |
tree | c0b0d7d20f1eaba83e362f4c6dc89f577e7fc6e7 /databases/mysql5-client | |
parent | da07a290bca1921c0078fca946125020793017c1 (diff) | |
download | pkgsrc-9b6b2f894bb33009d0a7a3152d35c4b7efd6e84c.tar.gz |
Update "mysql5-client" and "mysql5-server" packages to version 5.0.45.
Change since version 5.0.41:
- Functionality added or changed:
- A new status variable, Com_call_procedure, indicates the number of calls
to stored procedures. (Bug#27994)
- NDB Cluster: The server source tree now includes scripts to simplify
building MySQL with SCI support. For more information about SCI
interconnects and these build scripts, see Section 15.9.1,
Configuring MySQL Cluster to use SCI Sockets. (Bug#25470)
- Prior to this release, when DATE values were compared with DATETIME values
the time portion of the DATETIME value was ignored. Now a DATE value is
coerced to the DATETIME type by adding the time portion as 00:00:00. To
mimic the old behavior use the CAST() function in the following way:
SELECT date_field = CAST(NOW() as DATE);. (Bug#28929)
- A large number of bugs including these security problems have been fixed:
- A malformed password packet in the
connection protocol could cause the server to crash. Thanks for Dormando
for reporting this bug and providing details and a proof of concept.
(Bug#28984)
- CREATE TABLE LIKE did not require any privileges on the source table. Now
it requires the SELECT privilege. (Bug#25578)
- In addition, CREATE TABLE LIKE was not isolated from alteration by other
connections, which resulted in various errors and incorrect binary log
order when trying to execute concurrently a CREATE TABLE LIKE statement
and either DDL statements on the source table or DML or DDL statements on
the target table. (Bug#23667)
Diffstat (limited to 'databases/mysql5-client')
-rw-r--r-- | databases/mysql5-client/Makefile.common | 4 | ||||
-rw-r--r-- | databases/mysql5-client/PLIST | 3 | ||||
-rw-r--r-- | databases/mysql5-client/distinfo | 14 | ||||
-rw-r--r-- | databases/mysql5-client/patches/patch-ac | 22 | ||||
-rw-r--r-- | databases/mysql5-client/patches/patch-ad | 12 | ||||
-rw-r--r-- | databases/mysql5-client/patches/patch-ae | 18 | ||||
-rw-r--r-- | databases/mysql5-client/patches/patch-bg | 14 |
7 files changed, 25 insertions, 62 deletions
diff --git a/databases/mysql5-client/Makefile.common b/databases/mysql5-client/Makefile.common index f4909ac27b6..7748d9b0994 100644 --- a/databases/mysql5-client/Makefile.common +++ b/databases/mysql5-client/Makefile.common @@ -1,6 +1,6 @@ -# $NetBSD: Makefile.common,v 1.24 2007/07/09 22:34:27 adrianp Exp $ +# $NetBSD: Makefile.common,v 1.25 2007/07/15 19:22:06 tron Exp $ -DISTNAME= mysql-5.0.41 +DISTNAME= mysql-5.0.45 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_MYSQL:=MySQL-5.0/} diff --git a/databases/mysql5-client/PLIST b/databases/mysql5-client/PLIST index 94617b60d49..193c8d4c3cb 100644 --- a/databases/mysql5-client/PLIST +++ b/databases/mysql5-client/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2007/05/21 04:39:59 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.7 2007/07/15 19:22:06 tron Exp $ bin/msql2mysql bin/mysql bin/mysql_config @@ -31,6 +31,7 @@ include/mysql/keycache.h include/mysql/m_ctype.h include/mysql/m_string.h include/mysql/my_alloc.h +include/mysql/my_attribute.h include/mysql/my_config.h include/mysql/my_dbug.h include/mysql/my_dir.h diff --git a/databases/mysql5-client/distinfo b/databases/mysql5-client/distinfo index c7c1e9d5902..e812192922f 100644 --- a/databases/mysql5-client/distinfo +++ b/databases/mysql5-client/distinfo @@ -1,13 +1,12 @@ -$NetBSD: distinfo,v 1.18 2007/05/21 04:39:59 xtraeme Exp $ +$NetBSD: distinfo,v 1.19 2007/07/15 19:22:06 tron Exp $ -SHA1 (mysql-5.0.41.tar.gz) = cc2a119c9e07173fce6d78fc87d96c6102eeab36 -RMD160 (mysql-5.0.41.tar.gz) = 57f2b5ac628814abd2b19a263cd2c90e3e20593d -Size (mysql-5.0.41.tar.gz) = 24083795 bytes +SHA1 (mysql-5.0.45.tar.gz) = a5fba8e004acc43ac1a576d728f10215f54ebe20 +RMD160 (mysql-5.0.45.tar.gz) = ee6717c65dc7bb6b5b596b90ef6c47c7fdebf5fb +Size (mysql-5.0.45.tar.gz) = 24433261 bytes SHA1 (patch-aa) = 256de04aefd067ac7bdf8a6d1d817723efa6c6ec SHA1 (patch-ab) = 9635c85a7c553ae6ab3cdd09f04d09ee1f537381 -SHA1 (patch-ac) = 87c795d0728f221e8d37b0711131f072bbadf1f1 -SHA1 (patch-ad) = e8e04a6beca500a0fd96b95b19fac13d7a662500 -SHA1 (patch-ae) = 4403c09d89cdb1f72275551aa17e1b4e04bb1ad9 +SHA1 (patch-ad) = 716c02583e87c99e69ebe00c64d4a4371487a666 +SHA1 (patch-ae) = 74c830dddf3517ebc2226dc166b61a33f83b04da SHA1 (patch-af) = 06cb76ad50ed0de3e82f682bf57a75441f68da26 SHA1 (patch-ag) = 212f9c0a2e2eb6feb013e4a72eaf658951b995b5 SHA1 (patch-ah) = 18f9bb2c6d9b88d04b9ade6177212ab2ed21b4d7 @@ -24,5 +23,4 @@ SHA1 (patch-ar) = b55373d58540975e24af14b13640e26c4c756923 SHA1 (patch-as) = d301a449e67d786f9155673fdbb5e8bc2f19ee7d SHA1 (patch-at) = 626c0f6926893aa05e261ca1921fb6a352819156 SHA1 (patch-bf) = 87be24d45f0d3f48ea2b911025eb41696d088299 -SHA1 (patch-bg) = 32e63926587f59203eb4094139c3e0938a0bc877 SHA1 (patch-bh) = 61ae8ad98f683418615a96f0dabb286a71642760 diff --git a/databases/mysql5-client/patches/patch-ac b/databases/mysql5-client/patches/patch-ac deleted file mode 100644 index f73b5afded7..00000000000 --- a/databases/mysql5-client/patches/patch-ac +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ac,v 1.5 2007/05/21 04:39:59 xtraeme Exp $ - ---- configure.in.orig 2007-05-21 05:53:04.000000000 +0200 -+++ configure.in 2007-05-21 05:53:27.000000000 +0200 -@@ -487,7 +487,7 @@ - FIND_PROC="$PS \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null" - else - case $SYSTEM_TYPE in -- *freebsd*) -+ *freebsd*|*dragonfly*) - FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null" - ;; - *darwin*) -@@ -1121,7 +1121,7 @@ - MAX_C_OPTIMIZE="-O" - fi - ;; -- *freebsd*) -+ *freebsd*|*dragonfly*) - AC_MSG_WARN([Adding fix for interrupted reads]) - OSVERSION=`sysctl -a | grep osreldate | awk '{ print $2 }'` - if test "$OSVERSION" -gt "480100" && \ diff --git a/databases/mysql5-client/patches/patch-ad b/databases/mysql5-client/patches/patch-ad index ac95931cbbe..437782bd211 100644 --- a/databases/mysql5-client/patches/patch-ad +++ b/databases/mysql5-client/patches/patch-ad @@ -1,15 +1,15 @@ -$NetBSD: patch-ad,v 1.5 2007/03/11 18:42:28 adam Exp $ +$NetBSD: patch-ad,v 1.6 2007/07/15 19:22:06 tron Exp $ ---- Makefile.in.orig 2007-03-05 20:23:25.000000000 +0100 -+++ Makefile.in -@@ -372,12 +372,7 @@ AUTOMAKE_OPTIONS = foreign +--- Makefile.in.orig 2007-07-04 14:10:07.000000000 +0100 ++++ Makefile.in 2007-07-15 17:20:48.000000000 +0100 +@@ -374,12 +374,7 @@ EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \ README COPYING EXCEPTIONS-CLIENT CMakeLists.txt -SUBDIRS = . include @docs_dirs@ @zlib_dir@ @yassl_dir@ \ -- @readline_topdir@ sql-common \ +- @readline_topdir@ sql-common scripts \ - @thread_dirs@ pstack \ -- @sql_union_dirs@ scripts @man_dirs@ tests \ +- @sql_union_dirs@ @man_dirs@ tests \ - netware @libmysqld_dirs@ \ - @bench_dirs@ support-files @tools_dirs@ +SUBDIRS = . include strings @sql_client_dirs@ scripts man diff --git a/databases/mysql5-client/patches/patch-ae b/databases/mysql5-client/patches/patch-ae index 3fec5c23a33..2642257d7f9 100644 --- a/databases/mysql5-client/patches/patch-ae +++ b/databases/mysql5-client/patches/patch-ae @@ -1,13 +1,13 @@ -$NetBSD: patch-ae,v 1.8 2007/05/21 04:40:00 xtraeme Exp $ +$NetBSD: patch-ae,v 1.9 2007/07/15 19:22:06 tron Exp $ ---- scripts/Makefile.in.orig 2007-05-21 04:54:42.000000000 +0200 -+++ scripts/Makefile.in 2007-05-21 04:55:14.000000000 +0200 -@@ -355,13 +355,12 @@ - yassl_libs = @yassl_libs@ - yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@ - zlib_dir = @zlib_dir@ +--- scripts/Makefile.in.orig 2007-07-04 14:10:00.000000000 +0100 ++++ scripts/Makefile.in 2007-07-15 17:24:02.000000000 +0100 +@@ -377,13 +377,12 @@ + BUILT_SOURCES = mysql_fix_privilege_tables.sql \ + mysql_fix_privilege_tables_sql.c + -bin_SCRIPTS = @server_scripts@ \ -+bin_SCRIPTS = \ ++bin_SCRIPTS = \ msql2mysql \ mysql_config \ mysql_fix_privilege_tables \ @@ -17,7 +17,7 @@ $NetBSD: patch-ae,v 1.8 2007/05/21 04:40:00 xtraeme Exp $ mysql_zap \ mysqlaccess \ mysqlbug \ -@@ -372,7 +371,6 @@ +@@ -394,7 +393,6 @@ mysql_explain_log \ mysql_tableinfo \ mysql_upgrade_shell \ diff --git a/databases/mysql5-client/patches/patch-bg b/databases/mysql5-client/patches/patch-bg deleted file mode 100644 index ebe45e9ebb2..00000000000 --- a/databases/mysql5-client/patches/patch-bg +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-bg,v 1.1 2007/05/21 04:40:00 xtraeme Exp $ - - ---- sql/sql_parse.cc.orig 2007-05-21 04:56:56.000000000 +0200 -+++ sql/sql_parse.cc 2007-05-21 04:59:31.000000000 +0200 -@@ -3304,7 +3304,7 @@ - */ - old_list= table[0]; - new_list= table->next_local[0]; -- if (check_grant(thd, ALTER_ACL, &old_list, 0, 1, 0) || -+ if (check_grant(thd, ALTER_ACL | DROP_ACL, &old_list, 0, 1, 0) || - (!test_all_bits(table->next_local->grant.privilege, - INSERT_ACL | CREATE_ACL) && - check_grant(thd, INSERT_ACL | CREATE_ACL, &new_list, 0, 1, 0))) |