diff options
author | taca <taca@pkgsrc.org> | 2008-09-18 11:51:37 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2008-09-18 11:51:37 +0000 |
commit | 06c6aabaa4e5dd2a94710c56a71fe2a982c3db48 (patch) | |
tree | 95aa07fdb4fbceb83da20a09a8431f8a42285329 /databases/mysql5-server/patches/patch-ad | |
parent | 9ae23cc08cb0311740847ac1bc7ca08b06646d8c (diff) | |
download | pkgsrc-06c6aabaa4e5dd2a94710c56a71fe2a982c3db48.tar.gz |
Update mysql5-server pacakge to 5.0.67.
This is security fix.
For complete changes, please refer
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-cs-5-0-67.html.
Here is a part of it.
Functionality added or changed:
Security Enhancement:
To enable stricter control over the location from which user-defined
functions can be loaded, the plugin_dir system variable has been
backported from MySQL 5.1. If the value is non-empty, user-defined
function object files can be loaded only from the directory named by this
variable. If the value is empty, the behavior that is used before 5.0.67
applies: The UDF object files must be located in a directory that is
searched by your system's dynamic linker. (Bug#37428)
Important Change: Incompatible Change:
The FEDERATED storage engine is now disabled by default in the .cnf files
shipped with MySQL distributions (my-huge.cnf, my-medium.cnf, and so
forth). This affects server behavior only if you install one of these
files. (Bug#37069)
Cluster API: Important Change:
Because NDB_LE_MemoryUsage.page_size_kb shows memory page sizes in bytes
rather than kilobytes, it has been renamed to page_size_bytes. The name
page_size_kb is now deprecated and thus subject to removal in a future
release, although it currently remains supported for reasons of backward
compatibility. See The Ndb_logevent_type Type, for more information about
NDB_LE_MemoryUsage. (Bug#30271)
Important Change:
Some changes were made to CHECK TABLE ... FOR UPGRADE and REPAIR TABLE
with respect to detection and handling of tables with incompatible .frm
files (files created with a different version of the MySQL server). These
changes also affect mysqlcheck because that program uses CHECK TABLE and
REPAIR table, and thus also mysql_upgrade because that program invokes
mysqlcheck.
Diffstat (limited to 'databases/mysql5-server/patches/patch-ad')
-rw-r--r-- | databases/mysql5-server/patches/patch-ad | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/databases/mysql5-server/patches/patch-ad b/databases/mysql5-server/patches/patch-ad index 597f554facb..be6b60f53fb 100644 --- a/databases/mysql5-server/patches/patch-ad +++ b/databases/mysql5-server/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.3 2008/07/01 09:22:59 tron Exp $ +$NetBSD: patch-ad,v 1.4 2008/09/18 11:51:37 taca Exp $ ---- sql/mysqld.cc.orig 2007-11-15 14:06:16.000000000 +0000 -+++ sql/mysqld.cc 2008-06-30 15:54:35.000000000 +0100 -@@ -174,7 +174,7 @@ +--- sql/mysqld.cc.orig 2008-08-04 15:20:07.000000000 +0300 ++++ sql/mysqld.cc 2008-09-16 13:46:29.000000000 +0300 +@@ -181,7 +181,7 @@ int initgroups(const char *,unsigned int); #endif @@ -11,15 +11,7 @@ $NetBSD: patch-ad,v 1.3 2008/07/01 09:22:59 tron Exp $ #include <ieeefp.h> #ifdef HAVE_FP_EXCEPT // Fix type conflict typedef fp_except fp_except_t; -@@ -323,6 +323,7 @@ - static char *default_collation_name; - static char compiled_default_collation_name[]= MYSQL_DEFAULT_COLLATION_NAME; - static char mysql_data_home_buff[2]; -+char mysql_unpacked_real_data_home[FN_REFLEN]; - static I_List<THD> thread_cache; - - #ifndef EMBEDDED_LIBRARY -@@ -3543,7 +3544,7 @@ +@@ -3705,7 +3705,7 @@ init_ssl(); #ifdef HAVE_LIBWRAP @@ -28,13 +20,3 @@ $NetBSD: patch-ad,v 1.3 2008/07/01 09:22:59 tron Exp $ openlog(libwrapName, LOG_PID, LOG_AUTH); #endif -@@ -7565,6 +7566,9 @@ - pos[1]= 0; - } - convert_dirname(mysql_real_data_home,mysql_real_data_home,NullS); -+ (void) fn_format(buff, mysql_real_data_home, "", "", -+ (MY_RETURN_REAL_PATH|MY_RESOLVE_SYMLINKS)); -+ (void) unpack_dirname(mysql_unpacked_real_data_home, buff); - convert_dirname(language,language,NullS); - (void) my_load_path(mysql_home,mysql_home,""); // Resolve current dir - (void) my_load_path(mysql_real_data_home,mysql_real_data_home,mysql_home); |