[packages/mysql] - rel 1; c++ patch looks wrong anyway - dropped; info patch dropped since upstream dropped docs; see

arekm arekm at pld-linux.org
Sun Sep 9 00:15:20 CEST 2012


commit 63a6ce7cd0b02ded18c87a2eaa6a09eb4fc9bb6f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Sep 9 00:15:17 2012 +0200

    - rel 1; c++ patch looks wrong anyway - dropped; info patch dropped since upstream dropped docs; seems mysqldump works with 4.0 server

 mysql-bug-34192.patch | 58 ---------------------------------------------------
 mysql-c++.patch       | 12 -----------
 mysql-info.patch      | 15 -------------
 mysql.spec            | 14 +++++--------
 4 files changed, 5 insertions(+), 94 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index fe8db92..bd81d76 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -38,7 +38,7 @@ Summary(zh_CN.UTF-8):	MySQL数据库服务器
 Name:		mysql
 %define	percona_rel	28.1
 Version:	5.5.27
-Release:	0.1
+Release:	1
 License:	GPL + MySQL FLOSS Exception
 Group:		Applications/Databases
 # Source0Download: http://dev.mysql.com/downloads/mysql/5.5.html#downloads
@@ -62,13 +62,12 @@ Source13:	%{name}-client.conf
 Source14:	my.cnf
 # from fedora
 Source15:	lib%{name}.version
-Patch2:		%{name}-c++.patch
-Patch3:		%{name}-info.patch
+
 Patch4:		bug-62472.patch
 # from fedora
 Patch5:		%{name}-versioning.patch
 Patch6:		%{name}-system-users.patch
-Patch7:		%{name}-bug-34192.patch
+
 Patch8:		%{name}-client-config.patch
 Patch9:		%{name}-build.patch
 Patch11:	%{name}-upgrade.patch
@@ -496,14 +495,11 @@ Ten pakiet zawiera standardowego demona MySQL NDB CPC.
 mv sphinx-*/mysqlse storage/sphinx
 %patch18 -p1
 %endif
-#%patch2 -p1 # NEEDS CHECK, which exact program needs -lc++
-# obsolete, no more docs?
-#%patch3 -p1
+
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-# make sure mysqldump still works with 4.0
-#%patch7 -p1
+
 %patch8 -p1
 %patch9 -p1
 %patch11 -p1
diff --git a/mysql-bug-34192.patch b/mysql-bug-34192.patch
deleted file mode 100644
index d6491d4..0000000
--- a/mysql-bug-34192.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From: Chad MILLERDate: February 1 2008 5:53pm
-Subject: bk commit into 5.0 tree (cmiller:1.2572) BUG#34192
-
-Below is the list of changes that have just been committed into a local
-5.0 repository of cmiller.  When cmiller does a push these changes
-will be propagated to the main repository and, within 24 hours after the
-push, to the public repository.
-For information on how to access the public repository
-see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
-
-ChangeSet at stripped, 2008-02-01 11:53:48-05:00, cmiller at stripped +1 -0
-  Bug#34192: mysqldump from mysql 5.0.51 silently fails on dumping \
-  	databases from 4.0 server
-  
-  Contribution from Arkadiusz Miskiewicz.  No CLA required for this size.
-  
-  mysqldump treated a failure to set the results charset as a severe
-  error.  
-  
-  Now, don't try to set the charset for the SHOW CREATE TABLE statement,
-  if the dumper doesn't want SET NAMES or the remote server doesn't 
-  support changing charsets.
-  
-  (The original patch tried to set the charset to binary and back in 
-  any case, and only exited-with-failure if the dumper wanted it and
-  the remote server supported it.)
-
-  client/mysqldump.c at stripped, 2008-02-01 11:53:46-05:00, cmiller at stripped +13 -3
-    Don't set the charset for receiving results if it's not wanted or if
-    the server doesn't support it.
-
-diff -Nrup a/client/mysqldump.c b/client/mysqldump.c
---- a/client/mysqldump.c	2007-12-04 22:07:00 -05:00
-+++ b/client/mysqldump.c	2008-02-01 11:53:46 -05:00
-@@ -1705,10 +1705,20 @@ static uint get_table_structure(char *ta
- 
-       my_snprintf(buff, sizeof(buff), "show create table %s", result_table);
- 
--      if (switch_character_set_results(mysql, "binary") ||
--          mysql_query_with_error_report(mysql, &result, buff) ||
--          switch_character_set_results(mysql, default_charset))
-+      if (opt_set_charset)  /* Was forced to false if server is too old. */
-+      {
-+        if (switch_character_set_results(mysql, "binary") != 0)
-+          DBUG_RETURN(0);
-+      }
-+
-+      if (mysql_query_with_error_report(mysql, &result, buff) != 0)
-         DBUG_RETURN(0);
-+
-+      if (opt_set_charset)  /* Was forced to false if server is too old. */
-+      {
-+        if (switch_character_set_results(mysql, default_charset) != 0)
-+          DBUG_RETURN(0);
-+      }
- 
-       if (path)
-       {
diff --git a/mysql-c++.patch b/mysql-c++.patch
deleted file mode 100644
index 2abe3d5..0000000
--- a/mysql-c++.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur mysql-4.1.7.org/myisam/Makefile.am mysql-4.1.7/myisam/Makefile.am
---- mysql-4.1.7.org/myisam/Makefile.am	2004-10-27 01:35:55.000000000 +0200
-+++ mysql-4.1.7/myisam/Makefile.am	2004-10-27 01:41:47.764533080 +0200
-@@ -21,7 +21,7 @@
- LDADD =			@CLIENT_EXTRA_LDFLAGS@ libmyisam.a \
- 			$(top_builddir)/mysys/libmysys.a \
- 			$(top_builddir)/dbug/libdbug.a \
--			$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@
-+			$(top_builddir)/strings/libmystrings.a @ZLIB_LIBS@ $(libdir)/libsupc++.la
- pkglib_LIBRARIES =	libmyisam.a
- bin_PROGRAMS =		myisamchk myisamlog myisampack myisam_ftdump
- myisamchk_DEPENDENCIES=	$(LIBRARIES)
diff --git a/mysql-info.patch b/mysql-info.patch
deleted file mode 100644
index 179f823..0000000
--- a/mysql-info.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- mysql-4.1.12/Docs/mysql.info~	2005-05-16 08:05:46.000000000 +0300
-+++ mysql-4.1.12/Docs/mysql.info	2005-05-16 08:06:36.000000000 +0300
-@@ -1,8 +1,9 @@
- This is mysql.info, produced by makeinfo version 4.7 from manual.texi.
- 
--START-INFO-DIR-ENTRY
--* mysql: (mysql).               MySQL documentation.
--END-INFO-DIR-ENTRY
-+ at dircategory Data bases:
-+ at direntry
-+* mysql: (mysql).			MySQL documentation
-+ at end direntry
- 
- 
- File: mysql.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/63a6ce7cd0b02ded18c87a2eaa6a09eb4fc9bb6f



More information about the pld-cvs-commit mailing list