Merge lp:~ignacio-nin/percona-server/5.5-bug1174426 into lp:percona-server/5.5

Proposed by Ignacio Nin
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 512
Proposed branch: lp:~ignacio-nin/percona-server/5.5-bug1174426
Merge into: lp:percona-server/5.5
Diff against target: 47 lines (+16/-14)
1 file modified
build/percona-server.spec (+16/-14)
To merge this branch: bzr merge lp:~ignacio-nin/percona-server/5.5-bug1174426
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+163907@code.launchpad.net

Description of the change

Fixes for bugs lp:1170024 and lp:1174426.

This is a merge for 5.5 branch only (see comment at https://code.launchpad.net/~abychko/percona-server/bug1170024-5.5/+merge/159454/comments/361415).

The disadvantages for rebasing would be that it would be needed to rebase on revno 472 (460 is the GCA), but also that releases have been made particularly with the fix for lp:1170024.

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 'build/percona-server.spec'
--- build/percona-server.spec 2013-04-23 06:02:56 +0000
+++ build/percona-server.spec 2013-05-15 12:50:56 +0000
@@ -744,20 +744,6 @@
744if [ ! -d $mysql_datadir/test ]; then 744if [ ! -d $mysql_datadir/test ]; then
745 mkdir $mysql_datadir/test; 745 mkdir $mysql_datadir/test;
746fi746fi
747%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
748fi
749# ----------------------------------------------------------------------
750# Make MySQL start/shutdown automatically when the machine does it.
751# ----------------------------------------------------------------------
752# NOTE: This still needs to be debated. Should we check whether these links
753# for the other run levels exist(ed) before the upgrade?
754# use chkconfig on Enterprise Linux and newer SuSE releases
755if [ -x /sbin/chkconfig ] ; then
756 /sbin/chkconfig --add mysql
757# use insserv for older SuSE Linux versions
758elif [ -x /sbin/insserv ] ; then
759 /sbin/insserv %{_sysconfdir}/init.d/mysql
760fi
761747
762# ----------------------------------------------------------------------748# ----------------------------------------------------------------------
763# Create a MySQL user and group. Do not report any problems if it already749# Create a MySQL user and group. Do not report any problems if it already
@@ -773,6 +759,22 @@
773# ----------------------------------------------------------------------759# ----------------------------------------------------------------------
774# Initiate databases if needed760# Initiate databases if needed
775# ----------------------------------------------------------------------761# ----------------------------------------------------------------------
762%{_bindir}/mysql_install_db --rpm --user=%{mysqld_user}
763fi
764
765# ----------------------------------------------------------------------
766# Make MySQL start/shutdown automatically when the machine does it.
767# ----------------------------------------------------------------------
768# NOTE: This still needs to be debated. Should we check whether these links
769# for the other run levels exist(ed) before the upgrade?
770# use chkconfig on Enterprise Linux and newer SuSE releases
771if [ -x /sbin/chkconfig ] ; then
772 /sbin/chkconfig --add mysql
773# use insserv for older SuSE Linux versions
774elif [ -x /sbin/insserv ] ; then
775 /sbin/insserv %{_sysconfdir}/init.d/mysql
776fi
777
776# ----------------------------------------------------------------------778# ----------------------------------------------------------------------
777# Upgrade databases if needed would go here - but it cannot be automated yet779# Upgrade databases if needed would go here - but it cannot be automated yet
778# ----------------------------------------------------------------------780# ----------------------------------------------------------------------

Subscribers

People subscribed via source and target branches