summaryrefslogtreecommitdiff
path: root/databases/mysql5-server/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-07-15 19:22:06 +0000
committertron <tron@pkgsrc.org>2007-07-15 19:22:06 +0000
commit114020c045f5077a0db9cd11c154a4ae7cd9477f (patch)
treec0b0d7d20f1eaba83e362f4c6dc89f577e7fc6e7 /databases/mysql5-server/patches
parentafbbb248662af86db6328fd67d090bb6f76228ed (diff)
downloadpkgsrc-114020c045f5077a0db9cd11c154a4ae7cd9477f.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-server/patches')
-rw-r--r--databases/mysql5-server/patches/patch-aa12
-rw-r--r--databases/mysql5-server/patches/patch-ac22
-rw-r--r--databases/mysql5-server/patches/patch-ah10
-rw-r--r--databases/mysql5-server/patches/patch-ao14
4 files changed, 11 insertions, 47 deletions
diff --git a/databases/mysql5-server/patches/patch-aa b/databases/mysql5-server/patches/patch-aa
index 05504a2dc51..211e3eb9d95 100644
--- a/databases/mysql5-server/patches/patch-aa
+++ b/databases/mysql5-server/patches/patch-aa
@@ -1,15 +1,15 @@
-$NetBSD: patch-aa,v 1.4 2007/03/11 18:42:49 adam Exp $
+$NetBSD: patch-aa,v 1.5 2007/07/15 19:22:07 tron Exp $
---- Makefile.in.orig 2007-03-05 20:23:25.000000000 +0100
-+++ Makefile.in
-@@ -372,12 +372,8 @@ AUTOMAKE_OPTIONS = foreign
+--- Makefile.in.orig 2007-07-04 14:10:07.000000000 +0100
++++ Makefile.in 2007-07-15 18:10:44.000000000 +0100
+@@ -374,12 +374,8 @@
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 @thread_dirs@ pstack @sql_server_dirs@ tests \
diff --git a/databases/mysql5-server/patches/patch-ac b/databases/mysql5-server/patches/patch-ac
deleted file mode 100644
index 3c59c59b352..00000000000
--- a/databases/mysql5-server/patches/patch-ac
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2007/05/21 04:40:00 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-server/patches/patch-ah b/databases/mysql5-server/patches/patch-ah
index cf638d28c8b..80192091ae4 100644
--- a/databases/mysql5-server/patches/patch-ah
+++ b/databases/mysql5-server/patches/patch-ah
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.5 2007/05/21 04:40:01 xtraeme Exp $
+$NetBSD: patch-ah,v 1.6 2007/07/15 19:22:07 tron Exp $
---- include/Makefile.in.orig 2007-05-21 06:03:49.000000000 +0200
-+++ include/Makefile.in 2007-05-21 06:04:11.000000000 +0200
-@@ -362,13 +362,7 @@
+--- include/Makefile.in.orig 2007-07-04 14:09:35.000000000 +0100
++++ include/Makefile.in 2007-07-15 18:12:08.000000000 +0100
+@@ -364,13 +364,7 @@
HEADERS_ABI = mysql.h mysql_com.h mysql_time.h \
my_list.h my_alloc.h typelib.h
@@ -12,7 +12,7 @@ $NetBSD: patch-ah,v 1.5 2007/05/21 04:40:01 xtraeme 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 $(HEADERS_GEN)
+- m_ctype.h my_attribute.h $(HEADERS_GEN)
+pkginclude_HEADERS =
noinst_HEADERS = config-win.h config-os2.h config-netware.h \
diff --git a/databases/mysql5-server/patches/patch-ao b/databases/mysql5-server/patches/patch-ao
deleted file mode 100644
index 0779dcec2e2..00000000000
--- a/databases/mysql5-server/patches/patch-ao
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ao,v 1.2 2007/03/11 18:42:50 adam Exp $
-
---- sql/sql_lex.cc.orig 2007-03-05 20:21:11.000000000 +0100
-+++ sql/sql_lex.cc
-@@ -931,6 +931,9 @@ int MYSQLlex(void *arg, void *yythd)
- while (lex->ptr != lex->end_of_query &&
- ((c=yyGet()) != '*' || yyPeek() != '/'))
- {
-+ if (c == '\0')
-+ return(ABORT_SYM); // NULLs illegal even in comments
-+
- if (c == '\n')
- lex->yylineno++;
- }