Merge lp:~tplavcic/percona-server/bld-133-5.6 into lp:percona-server/5.6

Proposed by Tomislav Plavcic
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: 570
Merged at revision: 575
Proposed branch: lp:~tplavcic/percona-server/bld-133-5.6
Merge into: lp:percona-server/5.6
Diff against target: 60 lines (+16/-7)
2 files modified
build-ps/debian/control (+12/-0)
build-ps/debian/rules (+4/-7)
To merge this branch: bzr merge lp:~tplavcic/percona-server/bld-133-5.6
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+213244@code.launchpad.net

Description of the change

Package with the debug symbols was missing in the latest releases and is now added
Memcached plugin was missing in the latest releases and is now added

Param build is:
http://jenkins.percona.com/view/PS%205.6/job/percona-server-5.6-param/568/

Packages with debug symbols were tested by locally making package builds and they were created.

Memcached was tested by enabling memcached plugin:
mysql> source usr/share/mysql/innodb_memcached_config.sql
Query OK, 1 row affected (0.01 sec)

mysql> install plugin daemon_memcached soname "libmemcached.so";
Query OK, 0 rows affected (0.01 sec)

mysql> show plugins;
+-----------------------------+----------+--------------------+-----------------+---------+
| Name | Status | Type | Library | License |
+-----------------------------+----------+--------------------+-----------------+---------+
| binlog | ACTIVE | STORAGE ENGINE | NULL | GPL |
...
| partition | ACTIVE | STORAGE ENGINE | NULL | GPL |
| daemon_memcached | ACTIVE | DAEMON | libmemcached.so | GPL |
+-----------------------------+----------+--------------------+-----------------+---------+

plavi@zoidberg:~/vagrant/vfiles/ubuntu13.10-64/ps-5.6-memcached-test$ dpkg -c percona-server-server-5.6_5.6.16-rel64.2-.saucy_amd64.deb|egrep -i "innodb_engine|memcache"
-rwxr-xr-x root/root 3963 2014-03-28 10:15 ./usr/share/mysql/innodb_memcached_config.sql
-rw-r--r-- root/root 114040 2014-03-28 10:28 ./usr/lib/mysql/plugin/innodb_engine.so
-rw-r--r-- root/root 185168 2014-03-28 10:28 ./usr/lib/mysql/plugin/libmemcached.so

vagrant@ubuntu1310:~$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
set a11 10 0 9
123456789
STORED
get a11
VALUE a11 10 9
123456789
END
quit
Connection closed by foreign host.

mysql> select * from test.demo_test;
+-----+--------------+------+------+------+
| c1 | c2 | c3 | c4 | c5 |
+-----+--------------+------+------+------+
| a11 | 123456789 | 10 | 1 | 0 |
| AA | HELLO, HELLO | 8 | 0 | 0 |
+-----+--------------+------+------+------+
2 rows in set (0.00 sec)

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
1=== modified file 'build-ps/debian/control'
2--- build-ps/debian/control 2014-03-20 09:24:28 +0000
3+++ build-ps/debian/control 2014-03-28 12:26:01 +0000
4@@ -234,3 +234,15 @@
5 Description: Percona Server 5.6 source
6 This package includes the source code to Percona Server as configured before
7 building.
8+
9+Package: percona-server-5.6-dbg
10+Architecture: any
11+Section: debug
12+Depends: percona-server-server-5.6 (= ${binary:Version}), ${misc:Depends}
13+Description: Debugging package for Percona Server
14+ Percona Server is a fast, stable and true multi-user, multi-threaded SQL
15+ database server. SQL (Structured Query Language) is the most popular database
16+ query language in the world. The main goals of Percona Server are speed,
17+ robustness and ease of use.
18+ .
19+ This package contains the debugging symbols for the Percona Server binaries.
20
21=== modified file 'build-ps/debian/rules'
22--- build-ps/debian/rules 2014-03-20 16:46:50 +0000
23+++ build-ps/debian/rules 2014-03-28 12:26:01 +0000
24@@ -63,9 +63,9 @@
25 ( test -d $(builddir) || mkdir $(builddir) ) && cd $(builddir) && \
26 sh -c 'PATH=$${MYSQL_BUILD_PATH:-"/bin:/usr/bin"} \
27 CC=$${MYSQL_BUILD_CC:-gcc} \
28- CFLAGS=$${MYSQL_BUILD_CFLAGS:-"-O2 -fno-strict-aliasing"} \
29+ CFLAGS=$${MYSQL_BUILD_CFLAGS:-"-O2 -g -fno-strict-aliasing"} \
30 CXX=$${MYSQL_BUILD_CXX:-g++} \
31- CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O3 -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing"} \
32+ CXXFLAGS=$${MYSQL_BUILD_CXXFLAGS:-"-O3 -g -felide-constructors -fno-exceptions -fno-rtti -fno-strict-aliasing"} \
33 cmake -DCMAKE_INSTALL_PREFIX=/usr \
34 \
35 -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
36@@ -80,6 +80,7 @@
37 -DINSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
38 -DINSTALL_PLUGINDIR=lib/mysql/plugin \
39 -DWITH_EMBEDDED_SERVER=OFF \
40+ -DWITH_INNODB_MEMCACHED=ON \
41 -DWITH_ARCHIVE_STORAGE_ENGINE=ON \
42 -DWITH_BLACKHOLE_STORAGE_ENGINE=ON \
43 -DWITH_FEDERATED_STORAGE_ENGINE=ON \
44@@ -257,7 +258,7 @@
45 dh_installinfo -a
46 dh_installlogcheck -a
47 dh_installchangelogs -a
48- dh_strip -a
49+ dh_strip -a --dbg-package=percona-server-5.6-dbg
50 dh_lintian
51 dh_link -a # .so muss nach .so.1.2.3 installier werden!
52 dh_compress -a
53@@ -280,7 +281,3 @@
54
55 override_dh_installinit:
56 dh_installinit --name=mysql --error-handler=:
57-
58-override_dh_strip:
59- dh_strip --dbg-package=percona-server-5.6-dbg
60-

Subscribers

People subscribed via source and target branches