Merge lp:~percona-core/percona-server/release-5.6.10-60.2 into lp:percona-server/5.6

Proposed by Ignacio Nin
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 335
Proposed branch: lp:~percona-core/percona-server/release-5.6.10-60.2
Merge into: lp:percona-server/5.6
Diff against target: 189 lines (+18/-43)
9 files modified
Makefile (+1/-1)
build/debian/control (+1/-1)
build/debian/docs (+0/-2)
build/debian/libmysqlclient18.docs (+2/-0)
build/debian/patches/30_scripts__mysqld_safe.sh__signals.dpatch (+7/-12)
build/debian/percona-server-server-5.6.install (+0/-1)
build/debian/percona-server-server-5.6.postinst (+4/-22)
build/debian/rules (+1/-1)
build/percona-server.spec (+2/-3)
To merge this branch: bzr merge lp:~percona-core/percona-server/release-5.6.10-60.2
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+157484@code.launchpad.net

Description of the change

Changes for release-5.6.10-60.2

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Makefile'
--- Makefile 2012-12-04 08:24:59 +0000
+++ Makefile 2013-04-05 21:08:23 +0000
@@ -1,4 +1,4 @@
1MYSQL_VERSION=5.6.81MYSQL_VERSION=5.6.10
2PERCONA_SERVER_VERSION=alpha60.22PERCONA_SERVER_VERSION=alpha60.2
3PERCONA_SERVER ?=Percona-Server-$(MYSQL_VERSION)-$(PERCONA_SERVER_VERSION)3PERCONA_SERVER ?=Percona-Server-$(MYSQL_VERSION)-$(PERCONA_SERVER_VERSION)
4PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION)4PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION)
55
=== modified file 'build/debian/control'
--- build/debian/control 2012-08-10 20:27:09 +0000
+++ build/debian/control 2013-04-05 21:08:23 +0000
@@ -76,7 +76,7 @@
7676
77Package: percona-server-client-5.677Package: percona-server-client-5.6
78Architecture: any78Architecture: any
79Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.6 (>= ${source:Version}), libmysqlclient18 (>= ${source:Version}), ${shlib:Depends}, ${misc:Depends}79Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.6 (>= ${source:Version}), libmysqlclient18, ${shlib:Depends}, ${misc:Depends}
80Provides: mysql-client, virtual-mysql-client80Provides: mysql-client, virtual-mysql-client
81Conflicts: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, percona-xtradb-client-5.0, percona-server-client-5.1, percona-server-client-5.581Conflicts: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, percona-xtradb-client-5.0, percona-server-client-5.1, percona-server-client-5.5
82Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, percona-xtradb-client-5.0, percona-server-client-5.1, percona-server-client-5.582Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, percona-xtradb-client-5.0, percona-server-client-5.1, percona-server-client-5.5
8383
=== removed file 'build/debian/docs'
--- build/debian/docs 2013-03-05 12:46:43 +0000
+++ build/debian/docs 1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
1CMakeLists.txt
2README
30
=== modified file 'build/debian/libmysqlclient18.docs'
--- build/debian/libmysqlclient18.docs 2013-03-05 12:46:43 +0000
+++ build/debian/libmysqlclient18.docs 2013-04-05 21:08:23 +0000
@@ -0,0 +1,2 @@
1CMakeLists.txt
2README
03
=== renamed file 'build/debian/info' => 'build/debian/libmysqlclient18.info'
=== modified file 'build/debian/patches/30_scripts__mysqld_safe.sh__signals.dpatch'
--- build/debian/patches/30_scripts__mysqld_safe.sh__signals.dpatch 2013-03-05 12:46:43 +0000
+++ build/debian/patches/30_scripts__mysqld_safe.sh__signals.dpatch 2013-04-05 21:08:23 +0000
@@ -4,14 +4,9 @@
4## DP: 30_scripts__mysqld_safe.sh__signals.patch by <ch@debian.org>4## DP: 30_scripts__mysqld_safe.sh__signals.patch by <ch@debian.org>
55
6@DPATCH@6@DPATCH@
77diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' Percona-Server~/scripts/mysqld_safe.sh Percona-Server/scripts/mysqld_safe.sh
830_scripts__mysqld_safe.sh__signals.patch by <ch@debian.org>8--- Percona-Server~/scripts/mysqld_safe.sh 2013-03-04 08:26:59.000000000 -0500
99+++ Percona-Server/scripts/mysqld_safe.sh 2013-03-04 08:27:48.000000000 -0500
10Executes /etc/init.d/mysql on signals
11Reported as http://bugs.mysql.com/bug.php?id=31361
12
13--- a/scripts/mysqld_safe.sh
14+++ b/scripts/mysqld_safe.sh
15@@ -29,9 +29,6 @@10@@ -29,9 +29,6 @@
16 syslog_tag_mysqld=mysqld11 syslog_tag_mysqld=mysqld
17 syslog_tag_mysqld_safe=mysqld_safe12 syslog_tag_mysqld_safe=mysqld_safe
@@ -19,10 +14,10 @@
19-trap '' 1 2 3 15 # we shouldn't let anyone kill us14-trap '' 1 2 3 15 # we shouldn't let anyone kill us
20-trap '' 13 # not even SIGPIPE15-trap '' 13 # not even SIGPIPE
21-16-
22 umask 00717 # MySQL-specific environment variable. First off, it's not really a umask,
23 18 # it's the desired mode. Second, it follows umask(2), not umask(3) in that
24 defaults=19 # octal needs to be explicit. Our shell might be a proper sh without printf,
25@@ -712,6 +709,12 @@20@@ -739,6 +736,12 @@
26 fi21 fi
27 fi22 fi
28 23
2924
=== modified file 'build/debian/percona-server-server-5.6.install'
--- build/debian/percona-server-server-5.6.install 2013-03-05 12:46:43 +0000
+++ build/debian/percona-server-server-5.6.install 2013-04-05 21:08:23 +0000
@@ -22,7 +22,6 @@
22usr/bin/replace22usr/bin/replace
23usr/bin/resolve_stack_dump23usr/bin/resolve_stack_dump
24usr/bin/resolveip24usr/bin/resolveip
25usr/bin/innodb_memcached_config.sql
26usr/sbin/mysqld25usr/sbin/mysqld
27usr/share/man/man1/msql2mysql.126usr/share/man/man1/msql2mysql.1
28usr/share/man/man1/myisamchk.127usr/share/man/man1/myisamchk.1
2928
=== modified file 'build/debian/percona-server-server-5.6.postinst'
--- build/debian/percona-server-server-5.6.postinst 2013-03-05 12:46:43 +0000
+++ build/debian/percona-server-server-5.6.postinst 2013-04-05 21:08:23 +0000
@@ -139,7 +139,7 @@
139 # Debian: beware of the bashisms... 139 # Debian: beware of the bashisms...
140 # Debian: can safely run on upgrades with existing databases 140 # Debian: can safely run on upgrades with existing databases
141 set +e141 set +e
142 /bin/bash ${PERCONA_PREFIX}/bin/mysql_install_db --user=mysql --rpm 2>&1 |142 ${PERCONA_PREFIX}/bin/mysql_install_db --user=mysql --rpm 2>&1 |
143 $ERR_LOGGER143 $ERR_LOGGER
144 if [ "$?" != "0" ]; then144 if [ "$?" != "0" ]; then
145 echo "ATTENTION: An error has occured. More info is in the syslog!"145 echo "ATTENTION: An error has occured. More info is in the syslog!"
@@ -193,7 +193,7 @@
193 "USE mysql\n" \193 "USE mysql\n" \
194 "ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;194 "ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;
195 replace_query=`/bin/echo -e \195 replace_query=`/bin/echo -e \
196 "USE mysql\n" \196 "USE mysql;\n" \
197 "REPLACE INTO user SET " \197 "REPLACE INTO user SET " \
198 " host='localhost', user='debian-sys-maint', password=password('$pass'), " \198 " host='localhost', user='debian-sys-maint', password=password('$pass'), " \
199 " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \199 " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
@@ -203,7 +203,8 @@
203 " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\203 " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\
204 " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\204 " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\
205 " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\205 " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\
206 " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y' "`;206 " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y', "\
207 " ssl_cipher='', x509_issuer='', x509_subject=''; "`
207 fix_privs=`/bin/echo -e \208 fix_privs=`/bin/echo -e \
208 "USE mysql;\n" \209 "USE mysql;\n" \
209 "ALTER TABLE user ADD column Create_view_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \210 "ALTER TABLE user ADD column Create_view_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \
@@ -213,32 +214,13 @@
213 "ALTER TABLE user ADD column Create_user_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \214 "ALTER TABLE user ADD column Create_user_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \
214 "ALTER TABLE user ADD column Event_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \215 "ALTER TABLE user ADD column Event_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " \
215 "ALTER TABLE user ADD column Trigger_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " `216 "ALTER TABLE user ADD column Trigger_priv enum('N','Y') CHARACTER SET utf8 NOT NULL DEFAULT 'N'; " `
216 # Engines supported by etch should be installed per default. The query sequence is supposed
217 # to be aborted if the CREATE TABLE fails due to an already existent table in which case the
218 # admin might already have chosen to remove one or more plugins. Newlines are necessary.
219 install_plugins=`/bin/echo -e \
220 "USE mysql;\n" \
221 "CREATE TABLE plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
222 " dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
223 " PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';\n" \
224 "INSERT INTO plugin VALUES ('innodb', 'ha_innodb.so');\n" \
225 "INSERT INTO plugin VALUES ('federated', 'ha_federated.so');\n" \
226 "INSERT INTO plugin VALUES ('blackhole', 'ha_blackhole.so');\n" \
227 "INSERT INTO plugin VALUES ('archive', 'ha_archive.so');" `
228
229 # Upgrade password column format before the root password gets set.
230 echo "$password_column_fix_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
231217
232 db_get percona-server-server/root_password && rootpw="$RET"218 db_get percona-server-server/root_password && rootpw="$RET"
233 if ! set_mysql_rootpw; then219 if ! set_mysql_rootpw; then
234 password_error="yes"220 password_error="yes"
235 fi221 fi
236222
237 echo "$fix_privs" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
238 echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER223 echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
239 set +e
240 echo "$install_plugins" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
241 set -e
242 ;;224 ;;
243225
244 abort-upgrade|abort-remove|abort-configure)226 abort-upgrade|abort-remove|abort-configure)
245227
=== modified file 'build/debian/rules'
--- build/debian/rules 2012-08-23 18:32:26 +0000
+++ build/debian/rules 2013-04-05 21:08:23 +0000
@@ -8,7 +8,7 @@
8TMP=$(CURDIR)/debian/tmp/8TMP=$(CURDIR)/debian/tmp/
99
10feature_set="community"10feature_set="community"
11compilation_comment_release="Percona Server (GPL), Release 60.1"11compilation_comment_release="Percona Server (GPL), Release 60.2"
12server_suffix="-56"12server_suffix="-56"
13prefix="/usr"13prefix="/usr"
1414
1515
=== modified file 'build/percona-server.spec'
--- build/percona-server.spec 2012-08-28 19:20:25 +0000
+++ build/percona-server.spec 2013-04-05 21:08:23 +0000
@@ -25,10 +25,10 @@
25%define mysql_vendor Oracle and/or its affiliates25%define mysql_vendor Oracle and/or its affiliates
26%define percona_server_vendor Percona, Inc26%define percona_server_vendor Percona, Inc
2727
28%define mysql_version 5.6.628%define mysql_version 5.6.10
29%define redhatversion %(lsb_release -rs | awk -F. '{ print $1}')29%define redhatversion %(lsb_release -rs | awk -F. '{ print $1}')
30%define majorversion 6030%define majorversion 60
31%define minorversion 131%define minorversion 2
32%define distribution rhel%{redhatversion}32%define distribution rhel%{redhatversion}
33%define percona_server_version alpha%{majorversion}.%{minorversion}33%define percona_server_version alpha%{majorversion}.%{minorversion}
3434
@@ -998,7 +998,6 @@
998%attr(755, root, root) %{_sbindir}/mysqld998%attr(755, root, root) %{_sbindir}/mysqld
999%attr(755, root, root) %{_sbindir}/mysqld-debug999%attr(755, root, root) %{_sbindir}/mysqld-debug
1000%attr(755, root, root) %{_sbindir}/rcmysql1000%attr(755, root, root) %{_sbindir}/rcmysql
1001%attr(755, root, root) %{_bindir}/innodb_memcached_config.sql
1002%attr(755, root, root) %{_libdir}/mysql/plugin/daemon_example.ini1001%attr(755, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
1003%attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so1002%attr(755, root, root) %{_libdir}/mysql/plugin/adt_null.so
1004%attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so1003%attr(755, root, root) %{_libdir}/mysql/plugin/libdaemon_example.so

Subscribers

People subscribed via source and target branches

to all changes: