Merge lp:~percona-core/percona-server/release-5.6.21-69.0 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: 676
Proposed branch: lp:~percona-core/percona-server/release-5.6.21-69.0
Merge into: lp:percona-server/5.6
Diff against target: 881 lines (+596/-48)
7 files modified
build-ps/debian/control (+2/-0)
build-ps/debian/control.tokudb (+2/-0)
build-ps/percona-server.spec (+74/-47)
build-ps/rpm/my.cnf (+30/-0)
build-ps/rpm/mysql-5.6-sharedlib-rename.patch (+486/-0)
build-ps/rpm/mysql.conf (+1/-0)
storage/innobase/include/univ.i (+1/-1)
To merge this branch: bzr merge lp:~percona-core/percona-server/release-5.6.21-69.0
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+237452@code.launchpad.net

Description of the change

Release branch for PS version 5.6.21-69.0

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-ps/debian/control'
--- build-ps/debian/control 2014-09-26 04:43:24 +0000
+++ build-ps/debian/control 2014-10-07 16:28:28 +0000
@@ -158,6 +158,7 @@
158 mysql-server-5.5,158 mysql-server-5.5,
159 mysql-server-5.6,159 mysql-server-5.6,
160 mysql-server-core-5.1,160 mysql-server-core-5.1,
161 mysql-server-core-5.5,
161 percona-xtradb-server-5.0,162 percona-xtradb-server-5.0,
162 percona-server-server-5.1,163 percona-server-server-5.1,
163 percona-server-server-5.5,164 percona-server-server-5.5,
@@ -171,6 +172,7 @@
171 mysql-server-5.5,172 mysql-server-5.5,
172 mysql-server-5.6,173 mysql-server-5.6,
173 mysql-server-core-5.1,174 mysql-server-core-5.1,
175 mysql-server-core-5.5,
174 percona-xtradb-server-5.0,176 percona-xtradb-server-5.0,
175 percona-server-server-5.1,177 percona-server-server-5.1,
176 percona-server-server-5.5,178 percona-server-server-5.5,
177179
=== modified file 'build-ps/debian/control.tokudb'
--- build-ps/debian/control.tokudb 2014-05-23 00:24:00 +0000
+++ build-ps/debian/control.tokudb 2014-10-07 16:28:28 +0000
@@ -172,6 +172,7 @@
172 mysql-server-5.5,172 mysql-server-5.5,
173 mysql-server-5.6,173 mysql-server-5.6,
174 mysql-server-core-5.1,174 mysql-server-core-5.1,
175 mysql-server-core-5.5,
175 percona-xtradb-server-5.0,176 percona-xtradb-server-5.0,
176 percona-server-server-5.1,177 percona-server-server-5.1,
177 percona-server-server-5.5,178 percona-server-server-5.5,
@@ -185,6 +186,7 @@
185 mysql-server-5.5,186 mysql-server-5.5,
186 mysql-server-5.6,187 mysql-server-5.6,
187 mysql-server-core-5.1,188 mysql-server-core-5.1,
189 mysql-server-core-5.5,
188 percona-xtradb-server-5.0,190 percona-xtradb-server-5.0,
189 percona-server-server-5.1,191 percona-server-server-5.1,
190 percona-server-server-5.5,192 percona-server-server-5.5,
191193
=== modified file 'build-ps/percona-server.spec'
--- build-ps/percona-server.spec 2014-09-26 13:47:55 +0000
+++ build-ps/percona-server.spec 2014-10-07 16:28:28 +0000
@@ -61,6 +61,14 @@
6161
62%define release rel%{percona_server_version}%{?dist}62%define release rel%{percona_server_version}%{?dist}
6363
64%if "%rhel" > "6"
65%define shared_lib_pri_name libmysqlclient
66%define shared_lib_sec_name libperconaserverclient
67%else
68%define shared_lib_pri_name libperconaserverclient
69%define shared_lib_sec_name libmysqlclient
70%endif
71
64#72#
65# Macros we use which are not available in all supported versions of RPM73# Macros we use which are not available in all supported versions of RPM
66#74#
@@ -263,6 +271,7 @@
263%if 0%{?systemd}271%if 0%{?systemd}
264BuildRequires: systemd272BuildRequires: systemd
265%endif273%endif
274Patch0: mysql-5.6-sharedlib-rename.patch
266275
267# Think about what you use here since the first step is to276# Think about what you use here since the first step is to
268# run a rm -rf277# run a rm -rf
@@ -396,11 +405,19 @@
396%package -n Percona-Server-shared%{product_suffix}405%package -n Percona-Server-shared%{product_suffix}
397Summary: Percona Server - Shared libraries406Summary: Percona Server - Shared libraries
398Group: Applications/Databases407Group: Applications/Databases
408%if "%rhel" > "6"
409Provides: mysql-shared mysql-libs
410Obsoletes: mariadb-libs
411Conflicts: Percona-Server-shared-55
412%else
399%ifarch x86_64413%ifarch x86_64
400Provides: libmysqlclient.so.18()(64bit)414Provides: libmysqlclient.so.18()(64bit)
415Provides: libmysqlclient.so.18(libmysqlclient_18)(64bit)
401%endif416%endif
402%ifarch i386 i686417%ifarch i386 i686
403Provides: libmysqlclient.so.18()(32bit)418Provides: libmysqlclient.so.18()(32bit)
419Provides: libmysqlclient.so.18(libmysqlclient_18)(32bit)
420%endif
404%endif421%endif
405422
406%description -n Percona-Server-shared%{product_suffix}423%description -n Percona-Server-shared%{product_suffix}
@@ -413,6 +430,11 @@
413%if %{with tokudb}430%if %{with tokudb}
414%setup -n %{src_dir} -T -D -b 1431%setup -n %{src_dir} -T -D -b 1
415%endif432%endif
433
434%if "%rhel" > "6"
435%patch0 -p1
436%endif
437
416##############################################################################438##############################################################################
417%build439%build
418440
@@ -580,11 +602,16 @@
580install -m 644 $MBD/release/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql602install -m 644 $MBD/release/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql
581%if 0%{?systemd}603%if 0%{?systemd}
582install -D -m 0755 $MBD/build-ps/rpm/mysql-systemd $RBR%{_bindir}/mysql-systemd604install -D -m 0755 $MBD/build-ps/rpm/mysql-systemd $RBR%{_bindir}/mysql-systemd
583install -D -m 0644 $MBD/build-ps/rpm/mysql.service $RBR%{_unitdir}/mysql.service605install -D -m 0644 $MBD/build-ps/rpm/mysqld.service $RBR%{_unitdir}/mysqld.service
606install -D -m 0644 $MBD/build-ps/rpm/mysql.conf $RBR%{_tmpfilesdir}/mysql.conf
584%else607%else
585install -m 755 $MBD/release/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql608install -m 755 $MBD/release/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql
586%endif609%endif
587610
611%if "%rhel" > "6"
612install -D -m 0644 $MBD/build-ps/rpm/my.cnf $RBR%{_sysconfdir}/my.cnf
613%endif
614
588#615#
589%{__rm} -f $RBR/%{_prefix}/README*616%{__rm} -f $RBR/%{_prefix}/README*
590#617#
@@ -598,7 +625,7 @@
598625
599# Touch the place where the my.cnf config file might be located626# Touch the place where the my.cnf config file might be located
600# Just to make sure it's in the file list and marked as a config file627# Just to make sure it's in the file list and marked as a config file
601touch $RBR%{_sysconfdir}/my.cnf628# touch $RBR%{_sysconfdir}/my.cnf
602629
603# Install SELinux files in datadir630# Install SELinux files in datadir
604install -m 600 $MBD/support-files/RHEL4-SElinux/mysql.{fc,te} \631install -m 600 $MBD/support-files/RHEL4-SElinux/mysql.{fc,te} \
@@ -625,15 +652,6 @@
625652
626%pre -n Percona-Server-server%{product_suffix}653%pre -n Percona-Server-server%{product_suffix}
627654
628# On rhel7 change default MariaDB options if they exists (only on initial installation)
629%if "%rhel" > "6"
630if [ $1 -eq 1 -a -f /etc/my.cnf ]; then
631 sed -i 's/log-error=\/var\/log\/mariadb\/mariadb.log/log-error=\/var\/log\/mysqld.log/g' /etc/my.cnf;
632 sed -i 's/pid-file=\/var\/run\/mariadb\/mariadb.pid/pid-file=\/var\/run\/mysqld\/mysqld.pid/g' /etc/my.cnf;
633 sed -i 's/\!includedir \/etc\/my.cnf.d/\#\!includedir \/etc\/my.cnf.d/g' /etc/my.cnf;
634fi
635%endif
636
637# ATTENTION: Parts of this are duplicated in the "triggerpostun" !655# ATTENTION: Parts of this are duplicated in the "triggerpostun" !
638656
639# There are users who deviate from the default file system layout.657# There are users who deviate from the default file system layout.
@@ -789,20 +807,11 @@
789# Note we *could* make that depend on $SERVER_TO_START, but we rather don't,807# Note we *could* make that depend on $SERVER_TO_START, but we rather don't,
790# so a "stop" is attempted even if there is no PID file.808# so a "stop" is attempted even if there is no PID file.
791# (Maybe the "stop" doesn't work then, but we might fix that in itself.)809# (Maybe the "stop" doesn't work then, but we might fix that in itself.)
792%if 0%{?systemd}
793SYSD_ACTIVE=$(systemctl is-active mysql)
794if [ $SYSD_ACTIVE == "active" ] ; then
795 %{_bindir}/systemctl stop mysql >/dev/null 2>&1
796 echo "Giving mysqld 5 seconds to exit nicely"
797 sleep 5
798fi
799%else
800if [ -x %{_sysconfdir}/init.d/mysql ] ; then810if [ -x %{_sysconfdir}/init.d/mysql ] ; then
801 %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1811 %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1
802 echo "Giving mysqld 5 seconds to exit nicely"812 echo "Giving mysqld 5 seconds to exit nicely"
803 sleep 5813 sleep 5
804fi814fi
805%endif
806815
807# SElinux816# SElinux
808%post -n Percona-Server-selinux%{product_suffix}817%post -n Percona-Server-selinux%{product_suffix}
@@ -817,6 +826,10 @@
817826
818%post -n Percona-Server-server%{product_suffix}827%post -n Percona-Server-server%{product_suffix}
819828
829%if 0%{?systemd}
830 %systemd_post mysqld
831%endif
832
820# ATTENTION: Parts of this are duplicated in the "triggerpostun" !833# ATTENTION: Parts of this are duplicated in the "triggerpostun" !
821834
822# There are users who deviate from the default file system layout.835# There are users who deviate from the default file system layout.
@@ -852,7 +865,7 @@
852# use chkconfig on Enterprise Linux and newer SuSE releases865# use chkconfig on Enterprise Linux and newer SuSE releases
853%if 0%{?systemd}866%if 0%{?systemd}
854if [ -x %{_bindir}/systemctl ] ; then867if [ -x %{_bindir}/systemctl ] ; then
855 %{_bindir}/systemctl enable mysql >/dev/null 2>&1868 %{_bindir}/systemctl enable mysqld >/dev/null 2>&1
856fi869fi
857%else870%else
858if [ -x /sbin/chkconfig ] ; then871if [ -x /sbin/chkconfig ] ; then
@@ -893,6 +906,10 @@
893 --datadir=$mysql_datadir906 --datadir=$mysql_datadir
894 fi907 fi
895908
909%if 0%{?systemd}
910 %tmpfiles_create mysql.conf
911%endif
912
896# ----------------------------------------------------------------------913# ----------------------------------------------------------------------
897# Upgrade databases if needed would go here - but it cannot be automated yet914# Upgrade databases if needed would go here - but it cannot be automated yet
898# ----------------------------------------------------------------------915# ----------------------------------------------------------------------
@@ -919,21 +936,18 @@
919 sbin/restorecon -R var/lib/mysql936 sbin/restorecon -R var/lib/mysql
920fi937fi
921938
939# For systemd check postun
940%if 0%{?systemd} == 0
922# Was the server running before the upgrade? If so, restart the new one.941# Was the server running before the upgrade? If so, restart the new one.
923if [ "$SERVER_TO_START" = "true" ] ; then942if [ "$SERVER_TO_START" = "true" ] ; then
924%if 0%{?systemd}
925if [ -x %{_bindir}/systemctl ] ; then
926 %{_bindir}/systemctl start mysql
927fi
928%else
929 # Restart in the same way that mysqld will be started normally.943 # Restart in the same way that mysqld will be started normally.
930 if [ -x %{_sysconfdir}/init.d/mysql ] ; then944 if [ -x %{_sysconfdir}/init.d/mysql ] ; then
931 %{_sysconfdir}/init.d/mysql start945 %{_sysconfdir}/init.d/mysql start
946 echo "Giving mysqld 5 seconds to start"
947 sleep 5
932 fi948 fi
949fi
933%endif950%endif
934 echo "Giving mysqld 5 seconds to start"
935 sleep 5
936fi
937951
938echo "Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit."952echo "Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit."
939echo "Run the following commands to create these functions:"953echo "Run the following commands to create these functions:"
@@ -970,12 +984,9 @@
970984
971if [ $1 = 0 ] ; then985if [ $1 = 0 ] ; then
972%if 0%{?systemd}986%if 0%{?systemd}
973 if [ -x %{_bindir}/systemctl ] ; then987 %systemd_preun mysqld
974 %{_bindir}/systemctl stop mysql > /dev/null
975 %{_bindir}/systemctl disable mysql > /dev/null
976 fi
977%else988%else
978 # Stop MySQL before uninstalling it989 # Stop MySQL before uninstalling it
979 if [ -x %{_sysconfdir}/init.d/mysql ] ; then990 if [ -x %{_sysconfdir}/init.d/mysql ] ; then
980 %{_sysconfdir}/init.d/mysql stop > /dev/null991 %{_sysconfdir}/init.d/mysql stop > /dev/null
981 # Remove autostart of MySQL992 # Remove autostart of MySQL
@@ -1032,7 +1043,7 @@
10321043
1033%if 0%{?systemd}1044%if 0%{?systemd}
1034if [ -x %{_bindir}/systemctl ] ; then1045if [ -x %{_bindir}/systemctl ] ; then
1035 %{_bindir}/systemctl enable mysql >/dev/null 2>&11046 %{_bindir}/systemctl enable mysqld >/dev/null 2>&1
1036fi1047fi
1037%else1048%else
1038if [ -x /sbin/chkconfig ] ; then1049if [ -x /sbin/chkconfig ] ; then
@@ -1048,7 +1059,7 @@
1048# Restart in the same way that mysqld will be started normally.1059# Restart in the same way that mysqld will be started normally.
1049%if 0%{?systemd}1060%if 0%{?systemd}
1050 if [ -x %{_bindir}/systemctl ] ; then 1061 if [ -x %{_bindir}/systemctl ] ; then
1051 %{_bindir}/systemctl start mysql1062 %{_bindir}/systemctl start mysqld
1052 echo "Giving mysqld 5 seconds to start"1063 echo "Giving mysqld 5 seconds to start"
1053 sleep 51064 sleep 5
1054 fi1065 fi
@@ -1086,9 +1097,13 @@
1086 echo "* See http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_intro.html for more details"1097 echo "* See http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_intro.html for more details"
1087 echo ""1098 echo ""
1088fi1099fi
1089%endif
1090# ----------------------------------------------------------------------------1100# ----------------------------------------------------------------------------
1101%endif
10911102
1103%postun -n Percona-Server-server%{product_suffix}
1104%if 0%{?systemd}
1105%systemd_postun_with_restart mysqld
1106%endif
10921107
1093# ----------------------------------------------------------------------1108# ----------------------------------------------------------------------
1094# Clean up the BuildRoot after build is done1109# Clean up the BuildRoot after build is done
@@ -1146,8 +1161,6 @@
1146%doc %attr(644, root, man) %{_mandir}/man1/mysql_plugin.1*1161%doc %attr(644, root, man) %{_mandir}/man1/mysql_plugin.1*
1147%doc %attr(644, root, man) %{_mandir}/man8/mysqld.8*1162%doc %attr(644, root, man) %{_mandir}/man8/mysqld.8*
11481163
1149%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf
1150
1151%attr(755, root, root) %{_bindir}/innochecksum1164%attr(755, root, root) %{_bindir}/innochecksum
1152%attr(755, root, root) %{_bindir}/my_print_defaults1165%attr(755, root, root) %{_bindir}/my_print_defaults
1153%attr(755, root, root) %{_bindir}/myisam_ftdump1166%attr(755, root, root) %{_bindir}/myisam_ftdump
@@ -1241,7 +1254,9 @@
12411254
1242%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql1255%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
1243%if 0%{?systemd}1256%if 0%{?systemd}
1244%attr(644, root, root) %{_unitdir}/mysql.service1257%attr(755, root, root) %{_bindir}/mysql-systemd
1258%attr(644, root, root) %{_unitdir}/mysqld.service
1259%attr(644, root, root) %{_tmpfilesdir}/mysql.conf
1245%else1260%else
1246%attr(755, root, root) %{_sysconfdir}/init.d/mysql1261%attr(755, root, root) %{_sysconfdir}/init.d/mysql
1247%endif1262%endif
@@ -1332,8 +1347,8 @@
1332%dir %attr(755, root, root) %{_libdir}/mysql1347%dir %attr(755, root, root) %{_libdir}/mysql
1333%{_includedir}/mysql/*1348%{_includedir}/mysql/*
1334%{_datadir}/aclocal/mysql.m41349%{_datadir}/aclocal/mysql.m4
1335%{_libdir}/mysql/libperconaserverclient.a1350%{_libdir}/mysql/%{shared_lib_pri_name}.a
1336%{_libdir}/mysql/libperconaserverclient_r.a1351%{_libdir}/mysql/%{shared_lib_pri_name}_r.a
1337%{_libdir}/mysql/libmysqlservices.a1352%{_libdir}/mysql/libmysqlservices.a
1338%{_libdir}/*.so1353%{_libdir}/*.so
13391354
@@ -1350,18 +1365,30 @@
1350%files -n Percona-Server-shared%{product_suffix}1365%files -n Percona-Server-shared%{product_suffix}
1351%defattr(-, root, root, 0755)1366%defattr(-, root, root, 0755)
1352# Shared libraries (omit for architectures that don't support them)1367# Shared libraries (omit for architectures that don't support them)
1353%{_libdir}/libperconaserver*.so.*1368%{_libdir}/%{shared_lib_pri_name}*.so.*
1369
1370%if "%rhel" > "6"
1371%attr(644, root, root) %config(noreplace) %{_sysconfdir}/my.cnf
1372%endif
13541373
1355%post -n Percona-Server-shared%{product_suffix}1374%post -n Percona-Server-shared%{product_suffix}
1375%if "%rhel" > "6"
1356# Added for compatibility1376# Added for compatibility
1357for lib in libmysqlclient{.so.18.0.0,.so.18,_r.so.18.0.0,_r.so.18}; do1377for lib in %{shared_lib_pri_name}{.so.18,_r.so.18}; do
1378 if [ ! -f %{_libdir}/$lib ]; then
1379 ln -s %{shared_lib_pri_name}.so.18.1.0 %{_libdir}/$lib
1380 fi
1381done
1382%endif
1383# For compatibility between different names of library
1384for lib in %{shared_lib_sec_name}{.so.18.0.0,.so.18,_r.so.18.0.0,_r.so.18}; do
1358if [ ! -f %{_libdir}/$lib ]; then1385if [ ! -f %{_libdir}/$lib ]; then
1359 ln -s libperconaserverclient.so.18 %{_libdir}/$lib;1386 ln -s %{shared_lib_pri_name}.so.18 %{_libdir}/$lib;
1360fi1387fi
1361done1388done
1362for lib in libmysqlclient{.so.18.1.0,_r.so.18.1.0}; do1389for lib in %{shared_lib_sec_name}{.so.18.1.0,_r.so.18.1.0}; do
1363if [ ! -f %{_libdir}/$lib ]; then1390if [ ! -f %{_libdir}/$lib ]; then
1364 ln -s libperconaserverclient.so.18.1.0 %{_libdir}/$lib;1391 ln -s %{shared_lib_pri_name}.so.18.1.0 %{_libdir}/$lib;
1365fi1392fi
1366done1393done
13671394
13681395
=== added file 'build-ps/rpm/my.cnf'
--- build-ps/rpm/my.cnf 1970-01-01 00:00:00 +0000
+++ build-ps/rpm/my.cnf 2014-10-07 16:28:28 +0000
@@ -0,0 +1,30 @@
1# Percona Server template configuration
2
3[mysqld]
4#
5# Remove leading # and set to the amount of RAM for the most important data
6# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
7# innodb_buffer_pool_size = 128M
8#
9# Remove leading # to turn on a very important data integrity option: logging
10# changes to the binary log between backups.
11# log_bin
12#
13# Remove leading # to set options mainly useful for reporting servers.
14# The server defaults are faster for transactions and fast SELECTs.
15# Adjust sizes as needed, experiment to find the optimal values.
16# join_buffer_size = 128M
17# sort_buffer_size = 2M
18# read_rnd_buffer_size = 2M
19datadir=/var/lib/mysql
20socket=/var/lib/mysql/mysql.sock
21
22# Disabling symbolic-links is recommended to prevent assorted security risks
23symbolic-links=0
24
25# Recommended in standard MySQL setup
26sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
27
28[mysqld_safe]
29log-error=/var/log/mysqld.log
30pid-file=/var/run/mysqld/mysqld.pid
031
=== added file 'build-ps/rpm/mysql-5.6-sharedlib-rename.patch'
--- build-ps/rpm/mysql-5.6-sharedlib-rename.patch 1970-01-01 00:00:00 +0000
+++ build-ps/rpm/mysql-5.6-sharedlib-rename.patch 2014-10-07 16:28:28 +0000
@@ -0,0 +1,486 @@
1diff -rup old/client/CMakeLists.txt new/client/CMakeLists.txt
2--- old/client/CMakeLists.txt 2014-09-11 15:57:31.002299863 +0200
3+++ new/client/CMakeLists.txt 2014-09-17 00:46:43.968870528 +0200
4@@ -32,48 +32,48 @@ COPY_OPENSSL_DLLS(copy_openssl_client)
5
6 ADD_DEFINITIONS(${SSL_DEFINES})
7 MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc)
8-TARGET_LINK_LIBRARIES(mysql perconaserverclient)
9+TARGET_LINK_LIBRARIES(mysql mysqlclient)
10 IF(UNIX)
11 TARGET_LINK_LIBRARIES(mysql ${EDITLINE_LIBRARY})
12 ENDIF(UNIX)
13
14 MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
15 SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
16-TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex)
17+TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)
18
19
20 MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)
21-TARGET_LINK_LIBRARIES(mysqlcheck perconaserverclient)
22+TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient)
23
24 MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c)
25-TARGET_LINK_LIBRARIES(mysqldump perconaserverclient)
26+TARGET_LINK_LIBRARIES(mysqldump mysqlclient)
27
28 MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c)
29-TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient)
30+TARGET_LINK_LIBRARIES(mysqlimport mysqlclient)
31
32 MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c)
33-TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient)
34+TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient)
35 ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs)
36
37 MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
38-TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient)
39+TARGET_LINK_LIBRARIES(mysqlshow mysqlclient)
40
41 MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)
42-TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient)
43+TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient)
44
45 MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc
46 ../sql/rpl_filter.cc ../sql/sql_list.cc)
47-TARGET_LINK_LIBRARIES(mysqlbinlog perconaserverclient)
48+TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient)
49
50 MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc)
51-TARGET_LINK_LIBRARIES(mysqladmin perconaserverclient)
52+TARGET_LINK_LIBRARIES(mysqladmin mysqlclient)
53
54 MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c)
55 SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS")
56-TARGET_LINK_LIBRARIES(mysqlslap perconaserverclient)
57+TARGET_LINK_LIBRARIES(mysqlslap mysqlclient)
58
59 MYSQL_ADD_EXECUTABLE(mysql_config_editor mysql_config_editor.cc)
60-TARGET_LINK_LIBRARIES(mysql_config_editor perconaserverclient)
61+TARGET_LINK_LIBRARIES(mysql_config_editor mysqlclient)
62
63 # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".
64 IF(WIN32)
65diff -rup old/libmysql/CMakeLists.txt new/libmysql/CMakeLists.txt
66--- old/libmysql/CMakeLists.txt 2014-09-11 15:57:34.030299912 +0200
67+++ new/libmysql/CMakeLists.txt 2014-09-16 23:57:09.240822303 +0200
68@@ -179,12 +179,12 @@ IF(WIN32)
69 LIST(APPEND LIBS auth_win_client)
70 ENDIF()
71
72-# Merge several convenience libraries into one big perconaserverclient
73-MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development)
74+# Merge several convenience libraries into one big mysqlclient
75+MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development)
76
77 # Visual Studio users need debug static library for debug projects
78 IF(MSVC)
79- INSTALL_DEBUG_TARGET(perconaserverclient DESTINATION ${INSTALL_LIBDIR}/debug)
80+ INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug)
81 INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug)
82 ENDIF()
83
84@@ -209,14 +209,14 @@ IF(UNIX)
85 ENDIF()
86
87 IF(UNIX)
88- GET_TARGET_NAME(perconaserverclient lib_name)
89- INSTALL_SYMLINK(perconaserverclient
90- ${lib_name} ${CMAKE_STATIC_LIBRARY_PREFIX}perconaserverclient_r.a
91+ GET_TARGET_NAME(mysqlclient lib_name)
92+ INSTALL_SYMLINK(mysqlclient
93+ ${lib_name} ${CMAKE_STATIC_LIBRARY_PREFIX}mysqlclient_r.a
94 ${INSTALL_LIBDIR} Development)
95 ENDIF()
96
97 IF(NOT DISABLE_SHARED)
98- # Merge several convenience libraries into one big perconaserverclient
99+ # Merge several convenience libraries into one big mysqlclient
100 # and link them together into shared library.
101 MERGE_LIBRARIES(libmysql SHARED ${LIBS}
102 EXPORTS ${CLIENT_API_FUNCTIONS}
103@@ -229,9 +229,9 @@ IF(NOT DISABLE_SHARED)
104 SET(OS_SHARED_LIB_VERSION
105 "${SHARED_LIB_MAJOR_VERSION}.${SHARED_LIB_MINOR_VERSION}.0")
106 ENDIF()
107- # Name of shared library is perconaserverclient on Unix
108+ # Name of shared library is mysqlclient on Unix
109 SET_TARGET_PROPERTIES(libmysql PROPERTIES
110- OUTPUT_NAME perconaserverclient
111+ OUTPUT_NAME mysqlclient
112 VERSION "${OS_SHARED_LIB_VERSION}"
113 SOVERSION "${SHARED_LIB_MAJOR_VERSION}")
114 CONFIGURE_FILE(libmysql.ver.in ${CMAKE_CURRENT_BINARY_DIR}/libmysql.ver)
115@@ -248,13 +248,13 @@ IF(NOT DISABLE_SHARED)
116 PROPERTIES LINK_FLAGS "${libmysql_link_flags}")
117 ENDIF()
118 # clean direct output needs to be set several targets have the same name
119- #(perconaserverclient in this case)
120- SET_TARGET_PROPERTIES(perconaserverclient PROPERTIES CLEAN_DIRECT_OUTPUT 1)
121+ #(mysqlclient in this case)
122+ SET_TARGET_PROPERTIES(mysqlclient PROPERTIES CLEAN_DIRECT_OUTPUT 1)
123 SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1)
124
125- # Install links to libperconaserverclient.so (client_r)
126+ # Install links to libmysqlclient.so (client_r)
127 GET_VERSIONED_LIBNAME(
128- "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r"
129+ "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r"
130 "${CMAKE_SHARED_LIBRARY_SUFFIX}"
131 ""
132 linkname)
133@@ -268,7 +268,7 @@ IF(NOT DISABLE_SHARED)
134 LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS)
135 FOREACH(ver ${OS_SHARED_LIB_SYMLINKS})
136 GET_VERSIONED_LIBNAME(
137- "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r"
138+ "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r"
139 "${CMAKE_SHARED_LIBRARY_SUFFIX}"
140 "${ver}"
141 linkname)
142diff -rup old/libmysql/libmysql.map new/libmysql/libmysql.map
143--- old/libmysql/libmysql.map 2014-09-11 15:57:34.030299912 +0200
144+++ new/libmysql/libmysql.map 2014-09-11 16:04:17.866306459 +0200
145@@ -1,5 +1,5 @@
146 # symbols exported from mysql 5.1
147-libperconaserverclient_16 {
148+libmysqlclient_16 {
149 global:
150 _fini;
151 _init;
152@@ -124,7 +124,7 @@ libperconaserverclient_16 {
153 *;
154 };
155 # symbols added in mysql 5.5
156-libperconaserverclient_18 {
157+libmysqlclient_18 {
158 global:
159 mysql_client_find_plugin;
160 mysql_client_register_plugin;
161@@ -136,7 +136,7 @@ libperconaserverclient_18 {
162 # Ideally the following symbols wouldn't be exported, but various applications
163 # require them. We limit the namespace damage by prefixing mysql_
164 # (see mysql-dubious-exports.patch), which means the symbols are not present
165-# in libperconaserverclient_16.
166+# in libmysqlclient_16.
167 #
168 # mysql-connector-odbc requires these
169 mysql_default_charset_info;
170@@ -149,7 +149,7 @@ libperconaserverclient_18 {
171 my_net_read;
172 };
173 # symbols added in mysql 5.6
174-libperconaserverclient_18_1 {
175+libmysqlclient_18_1 {
176 global:
177 get_tty_password;
178 };
179diff -rup old/libmysql/libmysql.ver.in new/libmysql/libmysql.ver.in
180--- old/libmysql/libmysql.ver.in 2014-09-11 15:57:34.030299912 +0200
181+++ new/libmysql/libmysql.ver.in 2014-09-11 16:02:40.254304877 +0200
182@@ -1 +1 @@
183-libperconaserverclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; };
184+libmysqlclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; };
185diff -rup old/plugin/percona-pam-for-mysql/CMakeLists.txt new/plugin/percona-pam-for-mysql/CMakeLists.txt
186--- old/plugin/percona-pam-for-mysql/CMakeLists.txt 2014-09-11 15:57:34.094299913 +0200
187+++ new/plugin/percona-pam-for-mysql/CMakeLists.txt 2014-09-17 01:06:48.308890052 +0200
188@@ -31,6 +31,6 @@ IF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE
189 SET(AUTH_PAM_COMPAT_SOURCES ${AUTH_PAM_COMMON_SOURCES} src/auth_pam_compat.c)
190 MYSQL_ADD_PLUGIN(auth_pam ${AUTH_PAM_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)
191 MYSQL_ADD_PLUGIN(auth_pam_compat ${AUTH_PAM_COMPAT_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)
192- MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES perconaserverclient MODULE_ONLY)
193+ MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES mysqlclient MODULE_ONLY)
194 ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R)
195 ENDIF(WITH_PAM)
196diff -rup old/scripts/CMakeLists.txt new/scripts/CMakeLists.txt
197--- old/scripts/CMakeLists.txt 2014-09-11 15:57:33.210299899 +0200
198+++ new/scripts/CMakeLists.txt 2014-09-17 00:48:25.428872172 +0200
199@@ -253,7 +253,7 @@ ELSE()
200 ENDIF()
201
202 # Use cmake variables to inspect dependencies for
203-# perconaserverclient library (add -l stuff)
204+# mysqlclient library (add -l stuff)
205 SET(CLIENT_LIBS "")
206 SET(LIBS "")
207
208@@ -293,7 +293,7 @@ MACRO(EXTRACT_LINK_LIBRARIES target var)
209 ENDIF()
210 ENDMACRO()
211
212-EXTRACT_LINK_LIBRARIES(perconaserverclient CLIENT_LIBS)
213+EXTRACT_LINK_LIBRARIES(mysqlclient CLIENT_LIBS)
214 EXTRACT_LINK_LIBRARIES(mysqlserver LIBS)
215
216 # mysql_config evaluates ${LIBDL}, we want to avoid it
217diff -rup old/scripts/mysql_config.pl.in new/scripts/mysql_config.pl.in
218--- old/scripts/mysql_config.pl.in 2014-09-11 15:57:33.210299899 +0200
219+++ new/scripts/mysql_config.pl.in 2014-09-17 00:50:09.804873864 +0200
220@@ -182,15 +182,15 @@ if ( $^O eq "MSWin32" )
221 my $linkpath = "$pkglibdir";
222 # user32 is only needed for debug or embedded
223 my @winlibs = ("wsock32.lib","advapi32.lib","user32.lib");
224- @lib_opts = ("$linkpath/perconaserverclient.lib",@winlibs);
225+ @lib_opts = ("$linkpath/mysqlclient.lib",@winlibs);
226 @lib_r_opts = @lib_opts;
227 @lib_e_opts = ("$linkpath/mysqlserver.lib",@winlibs);
228 }
229 else
230 {
231 my $linkpath = "-L$pkglibdir @RPATH_OPTION@";
232- @lib_opts = ($linkpath,"-lperconaserverclient");
233- @lib_r_opts = ($linkpath,"-lperconaserverclient_r");
234+ @lib_opts = ($linkpath,"-lmysqlclient");
235+ @lib_r_opts = ($linkpath,"-lmysqlclient_r");
236 @lib_e_opts = ($linkpath,"-lmysqld");
237 }
238
239diff -rup old/scripts/mysql_config.sh new/scripts/mysql_config.sh
240--- old/scripts/mysql_config.sh 2014-09-11 15:57:33.218299899 +0200
241+++ new/scripts/mysql_config.sh 2014-09-17 00:51:04.160874746 +0200
242@@ -111,9 +111,9 @@ fi
243
244 # Create options
245 # We intentionally add a space to the beginning and end of lib strings, simplifies replace later
246-libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lperconaserverclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
247+libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
248 libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
249-libs_r=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lperconaserverclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
250+libs_r=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
251 embedded_libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
252 embedded_libs="$embedded_libs @QUOTED_CMAKE_CXX_LINK_FLAGS@"
253
254diff -rup old/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile new/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile
255--- old/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2014-09-11 15:57:33.850299909 +0200
256+++ new/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2014-09-17 00:56:44.060880256 +0200
257@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
258 SYS_LIB =
259
260 $(TARGET): $(OBJS)
261- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
262+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
263
264 $(OBJS): $(SRCS)
265 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)
266diff -rup old/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile new/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile
267--- old/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2014-09-11 15:57:33.854299909 +0200
268+++ new/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2014-09-17 00:58:30.524881982 +0200
269@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
270 SYS_LIB =
271
272 $(TARGET): $(OBJS)
273- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
274+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
275
276 $(OBJS): $(SRCS)
277 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)
278diff -rup old/storage/ndb/ndbapi-examples/ndbapi_async/Makefile new/storage/ndb/ndbapi-examples/ndbapi_async/Makefile
279--- old/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2014-09-11 15:57:33.854299909 +0200
280+++ new/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2014-09-17 01:00:02.560883474 +0200
281@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
282 SYS_LIB =
283
284 $(TARGET): $(OBJS)
285- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
286+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
287
288 $(TARGET).o: $(SRCS)
289 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
290diff -rup old/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile new/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile
291--- old/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2014-09-11 15:57:33.854299909 +0200
292+++ new/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2014-09-17 01:00:57.516884365 +0200
293@@ -28,7 +28,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
294 SYS_LIB =
295
296 $(TARGET): $(OBJS)
297- $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
298+ $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
299
300 $(TARGET).o: $(SRCS)
301 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
302diff -rup old/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile new/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile
303--- old/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile 2014-09-11 15:57:33.854299909 +0200
304+++ new/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile 2014-09-17 01:01:33.404884947 +0200
305@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
306 SYS_LIB =
307
308 $(TARGET): $(OBJS)
309- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
310+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
311
312 $(TARGET).o: $(SRCS)
313 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
314diff -rup old/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile new/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile
315--- old/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile 2014-09-11 15:57:33.854299909 +0200
316+++ new/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile 2014-09-17 01:01:50.888885230 +0200
317@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
318 SYS_LIB =
319
320 $(TARGET): $(OBJS)
321- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
322+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
323
324 $(OBJS): $(SRCS)
325 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
326diff -rup old/storage/ndb/ndbapi-examples/ndbapi_event/Makefile new/storage/ndb/ndbapi-examples/ndbapi_event/Makefile
327--- old/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2014-09-11 15:57:33.854299909 +0200
328+++ new/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2014-09-17 00:58:49.500882290 +0200
329@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
330 SYS_LIB =
331
332 $(TARGET): $(OBJS)
333- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
334+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
335
336 $(TARGET).o: $(SRCS) Makefile
337 $(CXX) $(CFLAGS) $(DEBUG) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi -I$(TOP_SRCDIR)/include $(SRCS)
338diff -rup old/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile new/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile
339--- old/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile 2014-09-11 15:57:33.850299909 +0200
340+++ new/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile 2014-09-17 00:57:27.564880961 +0200
341@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
342 SYS_LIB =
343
344 $(TARGET): $(OBJS)
345- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
346+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
347
348 $(OBJS): $(SRCS)
349 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
350diff -rup old/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile new/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile
351--- old/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2014-09-11 15:57:33.850299909 +0200
352+++ new/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2014-09-17 00:57:55.916881421 +0200
353@@ -28,7 +28,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
354 SYS_LIB =
355
356 $(TARGET): $(OBJS)
357- $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
358+ $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
359
360 $(TARGET).o: $(SRCS)
361 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
362diff -rup old/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile new/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile
363--- old/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2014-09-11 15:57:33.850299909 +0200
364+++ new/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2014-09-17 00:56:07.200879658 +0200
365@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
366 SYS_LIB =
367
368 $(TARGET): $(OBJS)
369- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
370+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
371
372 $(TARGET).o: $(SRCS)
373 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
374diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile
375--- old/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2014-09-11 15:57:33.850299909 +0200
376+++ new/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2014-09-17 00:56:24.332879936 +0200
377@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
378 SYS_LIB =
379
380 $(TARGET): $(OBJS)
381- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
382+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
383
384 $(TARGET).o: $(SRCS)
385 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
386diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile
387--- old/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2014-09-11 15:57:33.850299909 +0200
388+++ new/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2014-09-17 00:57:08.236880648 +0200
389@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
390 SYS_LIB =
391
392 $(TARGET): $(OBJS)
393- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
394+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
395
396 $(OBJS): $(SRCS)
397 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
398diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile
399--- old/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2014-09-11 15:57:33.854299909 +0200
400+++ new/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2014-09-17 00:59:43.080883158 +0200
401@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
402 SYS_LIB =
403
404 $(TARGET): $(OBJS)
405- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
406+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
407
408 $(OBJS): $(SRCS)
409 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
410diff -rup old/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile new/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile
411--- old/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile 2014-09-11 15:57:33.854299909 +0200
412+++ new/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile 2014-09-17 01:01:15.132884650 +0200
413@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr
414 SYS_LIB =
415
416 $(TARGET): $(OBJS)
417- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET)
418+ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET)
419
420 $(OBJS): $(SRCS)
421 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
422diff -rup old/storage/ndb/test/run-test/CMakeLists.txt new/storage/ndb/test/run-test/CMakeLists.txt
423--- old/storage/ndb/test/run-test/CMakeLists.txt 2014-09-11 15:57:33.390299902 +0200
424+++ new/storage/ndb/test/run-test/CMakeLists.txt 2014-09-17 00:53:34.700877186 +0200
425@@ -32,7 +32,7 @@ IF(NOT WIN32)
426 ADD_DEFINITIONS(-DDEFAULT_PREFIX=\"${CMAKE_INSTALL_PREFIX}\")
427 ENDIF()
428 ADD_EXECUTABLE(atrt main.cpp setup.cpp files.cpp db.cpp command.cpp)
429-TARGET_LINK_LIBRARIES(atrt ndbNDBT ndbclient dbug mysys strings perconaserverclient)
430+TARGET_LINK_LIBRARIES(atrt ndbNDBT ndbclient dbug mysys strings mysqlclient)
431
432 INSTALL(TARGETS atrt DESTINATION mysql-test/ndb)
433 INSTALL(FILES atrt-testBackup atrt-mysql-test-run DESTINATION bin)
434diff -rup old/support-files/MySQL-shared-compat.spec.sh new/support-files/MySQL-shared-compat.spec.sh
435--- old/support-files/MySQL-shared-compat.spec.sh 2014-09-11 15:57:34.062299913 +0200
436+++ new/support-files/MySQL-shared-compat.spec.sh 2014-09-17 01:05:59.832889266 +0200
437@@ -82,7 +82,7 @@ rpm2cpio %{SOURCE3} | cpio -iv --make-di
438
439 %files
440 %defattr(-, root, root)
441-%{_libdir}/libperconaserverclient*
442+%{_libdir}/libmysqlclient*
443
444 # The spec file changelog only includes changes made to the spec file
445 # itself - note that they must be ordered by date (important when
446diff -rup old/support-files/mysql.spec.sh new/support-files/mysql.spec.sh
447--- old/support-files/mysql.spec.sh 2014-09-11 15:57:34.062299913 +0200
448+++ new/support-files/mysql.spec.sh 2014-09-17 01:04:32.416887849 +0200
449@@ -690,7 +690,7 @@ A manual upgrade is required.
450 rpm -qa | grep -i '^mysql-'
451
452 You may choose to use 'rpm --nodeps -ev <package-name>' to remove
453- the package which contains the perconaserverclient shared library. The
454+ the package which contains the mysqlclient shared library. The
455 library will be reinstalled by the MySQL-shared-compat package.
456 - Install the new MySQL packages supplied by $myvendor
457 - Ensure that the MySQL server is started
458@@ -1173,8 +1173,8 @@ echo "====="
459 %dir %attr(755, root, root) %{_libdir}/mysql
460 %{_includedir}/mysql/*
461 %{_datadir}/aclocal/mysql.m4
462-%{_libdir}/mysql/libperconaserverclient.a
463-%{_libdir}/mysql/libperconaserverclient_r.a
464+%{_libdir}/mysql/libmysqlclient.a
465+%{_libdir}/mysql/libmysqlclient_r.a
466 %{_libdir}/mysql/libmysqlservices.a
467
468 # ----------------------------------------------------------------------------
469diff -rup old/tests/CMakeLists.txt new/tests/CMakeLists.txt
470--- old/tests/CMakeLists.txt 2014-09-11 15:57:34.050299913 +0200
471+++ new/tests/CMakeLists.txt 2014-09-17 01:02:46.088886125 +0200
472@@ -18,12 +18,12 @@ ADD_DEFINITIONS("-DMYSQL_CLIENT")
473 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
474
475 ADD_EXECUTABLE(mysql_client_test mysql_client_test.c)
476-TARGET_LINK_LIBRARIES(mysql_client_test perconaserverclient)
477+TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient)
478 SET_TARGET_PROPERTIES(mysql_client_test PROPERTIES LINKER_LANGUAGE CXX)
479
480 IF(WITH_UNIT_TESTS)
481 ADD_EXECUTABLE(bug25714 bug25714.c)
482- TARGET_LINK_LIBRARIES(bug25714 perconaserverclient)
483+ TARGET_LINK_LIBRARIES(bug25714 mysqlclient)
484 SET_TARGET_PROPERTIES(bug25714 PROPERTIES LINKER_LANGUAGE CXX)
485 ENDIF()
486
0487
=== added file 'build-ps/rpm/mysql.conf'
--- build-ps/rpm/mysql.conf 1970-01-01 00:00:00 +0000
+++ build-ps/rpm/mysql.conf 2014-10-07 16:28:28 +0000
@@ -0,0 +1,1 @@
1d /var/run/mysqld 0755 mysql mysql -
02
=== renamed file 'build-ps/rpm/mysql.service' => 'build-ps/rpm/mysqld.service'
=== modified file 'storage/innobase/include/univ.i'
--- storage/innobase/include/univ.i 2014-09-26 04:43:24 +0000
+++ storage/innobase/include/univ.i 2014-10-07 16:28:28 +0000
@@ -47,7 +47,7 @@
47#define INNODB_VERSION_BUGFIX MYSQL_VERSION_PATCH47#define INNODB_VERSION_BUGFIX MYSQL_VERSION_PATCH
4848
49#ifndef PERCONA_INNODB_VERSION49#ifndef PERCONA_INNODB_VERSION
50#define PERCONA_INNODB_VERSION 68.050#define PERCONA_INNODB_VERSION 69.0
51#endif51#endif
5252
53/* Enable UNIV_LOG_ARCHIVE in XtraDB */53/* Enable UNIV_LOG_ARCHIVE in XtraDB */

Subscribers

People subscribed via source and target branches

to all changes: