Merge lp:~tplavcic/percona-server/bug1174779-5.6 into lp:percona-server/5.6

Proposed by Tomislav Plavcic
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 574
Proposed branch: lp:~tplavcic/percona-server/bug1174779-5.6
Merge into: lp:percona-server/5.6
Diff against target: 76 lines (+7/-9)
4 files modified
Makefile-ps (+2/-2)
UDF/configure.ac (+1/-1)
build-ps/build-binary.sh (+1/-3)
build-ps/percona-server.spec (+3/-3)
To merge this branch: bzr merge lp:~tplavcic/percona-server/bug1174779-5.6
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+213232@code.launchpad.net

This proposal supersedes a proposal from 2014-03-12.

Description of the change

Replaced MaatKit with Percona Toolkit
Fixed build flags

Discussed this with Laurynas over mail and it seems like I've forgot to resubmit MP.
Param build for 5.6 was:
https://code.launchpad.net/~tplavcic/percona-server/bug1174779-5.6/+merge/210708

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Posted in a previous version of this proposal

Needs rebasing on the current trunk to resolve the conflicts.

(the lower versions have conflicts too, you can try rebasing those branches as well, as GCA revision has advanced yesterday, but the conflicts there might be unavoidable for a GCA rev and will have to be resolved during the merge to trunk).

review: Needs Fixing
Revision history for this message
Tomislav Plavcic (tplavcic) wrote : Posted in a previous version of this proposal

Made another proposal, just not sure I did it right so please check my workflow.

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-ps'
--- Makefile-ps 2014-03-24 15:57:34 +0000
+++ Makefile-ps 2014-03-28 10:50:28 +0000
@@ -20,7 +20,7 @@
20REVS = $(shell bzr log | grep rev | head -1 )20REVS = $(shell bzr log | grep rev | head -1 )
21REV = $(word 2, $(REVS) )21REV = $(word 2, $(REVS) )
2222
23all: maatkit-udf23all: pt-udf
24 @echo ""24 @echo ""
25 @echo "Percona Server source code is ready"25 @echo "Percona Server source code is ready"
26 @echo "Now change directory to $(PERCONA_SERVER) define variables as show below"26 @echo "Now change directory to $(PERCONA_SERVER) define variables as show below"
@@ -32,7 +32,7 @@
32 @echo "and run cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF && make all install"32 @echo "and run cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF && make all install"
33 @echo ""33 @echo ""
3434
35maatkit-udf:35pt-udf:
36 cd UDF && autoreconf --install36 cd UDF && autoreconf --install
3737
38configure: all38configure: all
3939
=== modified file 'UDF/configure.ac'
--- UDF/configure.ac 2013-12-20 03:15:04 +0000
+++ UDF/configure.ac 2014-03-28 10:50:28 +0000
@@ -1,4 +1,4 @@
1AC_INIT([maatkit-udf], [0.1], [http://code.google.com/p/maatkit/issues/list])1AC_INIT([pt-udf], [0.1], [https://bugs.launchpad.net/percona-toolkit])
2AM_INIT_AUTOMAKE([foreign -Wall -Wno-extra-portability foreign])2AM_INIT_AUTOMAKE([foreign -Wall -Wno-extra-portability foreign])
3AC_CONFIG_MACRO_DIR([m4])3AC_CONFIG_MACRO_DIR([m4])
4LT INIT4LT INIT
55
=== modified file 'build-ps/build-binary.sh'
--- build-ps/build-binary.sh 2014-02-19 12:26:30 +0000
+++ build-ps/build-binary.sh 2014-03-28 10:50:28 +0000
@@ -158,11 +158,9 @@
158#158#
159if [ -n "$(which rpm)" ]; then159if [ -n "$(which rpm)" ]; then
160 export COMMON_FLAGS=$(rpm --eval %optflags | sed -e "s|march=i386|march=i686|g")160 export COMMON_FLAGS=$(rpm --eval %optflags | sed -e "s|march=i386|march=i686|g")
161else
162 export COMMON_FLAGS="-O2 -g"
163fi161fi
164#162#
165export CFLAGS="${COMMON_FLAGS} -static-libgcc -DPERCONA_INNODB_VERSION=$PERCONA_SERVER_VERSION"163export CFLAGS="${COMMON_FLAGS} -DPERCONA_INNODB_VERSION=$PERCONA_SERVER_VERSION"
166export CXXFLAGS="${COMMON_FLAGS} -DPERCONA_INNODB_VERSION=$PERCONA_SERVER_VERSION"164export CXXFLAGS="${COMMON_FLAGS} -DPERCONA_INNODB_VERSION=$PERCONA_SERVER_VERSION"
167#165#
168export MAKE_JFLAG="${MAKE_JFLAG:--j$PROCESSORS}"166export MAKE_JFLAG="${MAKE_JFLAG:--j$PROCESSORS}"
169167
=== modified file 'build-ps/percona-server.spec'
--- build-ps/percona-server.spec 2014-03-24 10:52:19 +0000
+++ build-ps/percona-server.spec 2014-03-28 10:50:28 +0000
@@ -811,12 +811,12 @@
811 fi811 fi
812fi812fi
813813
814echo "Percona Server is distributed with several useful UDF (User Defined Function) from Maatkit."814echo "Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit."
815echo "Run the following commands to create these functions:"815echo "Run the following commands to create these functions:"
816echo "mysql -e \"CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'\""816echo "mysql -e \"CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'\""
817echo "mysql -e \"CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'\""817echo "mysql -e \"CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'\""
818echo "mysql -e \"CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'\""818echo "mysql -e \"CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'\""
819echo "See http://code.google.com/p/maatkit/source/browse/trunk/udf for more details"819echo "See http://www.percona.com/doc/percona-server/5.6/management/udf_percona_toolkit.html for more details"
820820
821# Collect an upgrade history ...821# Collect an upgrade history ...
822echo "Upgrade/install finished at `date`" >> $STATUS_FILE822echo "Upgrade/install finished at `date`" >> $STATUS_FILE
@@ -1066,7 +1066,7 @@
1066%{_libdir}/mysql/libmysqlservices.a1066%{_libdir}/mysql/libmysqlservices.a
1067%{_libdir}/*.so1067%{_libdir}/*.so
10681068
1069# Maatkit UDF libs1069# Percona Toolkit UDF libs
1070%{_libdir}/mysql/plugin/libfnv1a_udf.a1070%{_libdir}/mysql/plugin/libfnv1a_udf.a
1071%{_libdir}/mysql/plugin/libfnv1a_udf.la1071%{_libdir}/mysql/plugin/libfnv1a_udf.la
1072%{_libdir}/mysql/plugin/libfnv_udf.a1072%{_libdir}/mysql/plugin/libfnv_udf.a

Subscribers

People subscribed via source and target branches