Merge lp:~stewart/percona-server/5.5-psclient into lp:percona-server/5.5

Proposed by Stewart Smith
Status: Superseded
Proposed branch: lp:~stewart/percona-server/5.5-psclient
Merge into: lp:percona-server/5.5
Diff against target: 717 lines (+92/-91)
34 files modified
Percona-Server/.bzrignore (+6/-6)
Percona-Server/client/CMakeLists.txt (+11/-11)
Percona-Server/libmysql/CMakeLists.txt (+11/-11)
Percona-Server/libmysql/libmysql.map (+3/-3)
Percona-Server/libmysql/libmysql.ver.in (+1/-1)
Percona-Server/man/mysql_config.1 (+3/-3)
Percona-Server/packaging/rpm-uln/mysql.spec.sh (+5/-5)
Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt (+1/-1)
Percona-Server/scripts/CMakeLists.txt (+2/-2)
Percona-Server/scripts/mysql_config.pl.in (+3/-3)
Percona-Server/scripts/mysql_config.sh (+2/-2)
Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile (+1/-1)
Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile (+1/-1)
Percona-Server/storage/ndb/test/ndbapi/Makefile.am (+2/-2)
Percona-Server/support-files/MySQL-shared-compat.spec.sh (+1/-1)
Percona-Server/support-files/mysql.spec.sh (+3/-3)
Percona-Server/tests/CMakeLists.txt (+2/-2)
build/debian/control (+11/-10)
build/debian/libmysqlclient-dev.install (+2/-2)
build/debian/libmysqlclient-dev.links (+2/-2)
build/debian/libmysqlclient18.install (+1/-1)
build/percona-server.spec (+3/-3)
build/percona-shared-compat.spec (+2/-2)
build/rpm/mysql-dubious-exports.patch (+2/-2)
doc/source/installation.rst (+2/-2)
doc/source/management/pam_plugin.rst (+1/-1)
To merge this branch: bzr merge lp:~stewart/percona-server/5.5-psclient
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Needs Fixing
Alexey Bychko Pending
Ignacio Nin Pending
Review via email: mp+189759@code.launchpad.net

This proposal has been superseded by a proposal from 2013-12-20.

Description of the change

This changes our client library in Percona Server to be built as libperconaserverclient rather than libmysqlclient. This avoids a whole bunch of problems both in binary compatibility and conflicting packages.

If we are to be included in Linux distributions as an alternative MySQL, this is one thing we need to do - play nice with others.

I've updated build files and packaging for the difference.

I'm currently wanting review on this especially for compatibility with our existing packages and if there's any problems with this approach that we can reasonably fix.

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

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Percona-Server/.bzrignore'
--- Percona-Server/.bzrignore 2013-01-15 08:56:36 +0000
+++ Percona-Server/.bzrignore 2013-10-08 06:04:22 +0000
@@ -782,9 +782,9 @@
782libmysql/.deps/viossl.Plo782libmysql/.deps/viossl.Plo
783libmysql/.deps/viosslfactories.Plo783libmysql/.deps/viosslfactories.Plo
784libmysql/.deps/xml.Plo784libmysql/.deps/xml.Plo
785libmysql/.libs/libmysqlclient.lai785libmysql/.libs/libperconaserverclient.lai
786libmysql/.libs/libmysqlclient.so.15786libmysql/.libs/libperconaserverclient.so.15
787libmysql/.libs/libmysqlclient.so.15.0.0787libmysql/.libs/libperconaserverclient.so.15.0.0
788libmysql/conf_to_src788libmysql/conf_to_src
789libmysql/debug/libmysql.exp789libmysql/debug/libmysql.exp
790libmysql/libmysql.ver790libmysql/libmysql.ver
@@ -918,9 +918,9 @@
918libmysql_r/.deps/viossl.Plo918libmysql_r/.deps/viossl.Plo
919libmysql_r/.deps/viosslfactories.Plo919libmysql_r/.deps/viosslfactories.Plo
920libmysql_r/.deps/xml.Plo920libmysql_r/.deps/xml.Plo
921libmysql_r/.libs/libmysqlclient_r.lai921libmysql_r/.libs/libperconaserverclient_r.lai
922libmysql_r/.libs/libmysqlclient_r.so.15922libmysql_r/.libs/libperconaserverclient_r.so.15
923libmysql_r/.libs/libmysqlclient_r.so.15.0.0923libmysql_r/.libs/libperconaserverclient_r.so.15.0.0
924libmysql_r/acconfig.h924libmysql_r/acconfig.h
925libmysql_r/client_settings.h925libmysql_r/client_settings.h
926libmysql_r/conf_to_src926libmysql_r/conf_to_src
927927
=== modified file 'Percona-Server/client/CMakeLists.txt'
--- Percona-Server/client/CMakeLists.txt 2012-10-10 20:32:32 +0000
+++ Percona-Server/client/CMakeLists.txt 2013-10-08 06:04:22 +0000
@@ -28,44 +28,44 @@
28ADD_DEFINITIONS(${READLINE_DEFINES})28ADD_DEFINITIONS(${READLINE_DEFINES})
29ADD_DEFINITIONS(${SSL_DEFINES})29ADD_DEFINITIONS(${SSL_DEFINES})
30MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc)30MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc)
31TARGET_LINK_LIBRARIES(mysql mysqlclient)31TARGET_LINK_LIBRARIES(mysql perconaserverclient)
32IF(UNIX)32IF(UNIX)
33 TARGET_LINK_LIBRARIES(mysql ${READLINE_LIBRARY})33 TARGET_LINK_LIBRARIES(mysql ${READLINE_LIBRARY})
34ENDIF(UNIX)34ENDIF(UNIX)
3535
36MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)36MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test)
37SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")37SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS")
38TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex)38TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex)
3939
4040
41MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)41MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c)
42TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient)42TARGET_LINK_LIBRARIES(mysqlcheck perconaserverclient)
4343
44MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c)44MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c)
45TARGET_LINK_LIBRARIES(mysqldump mysqlclient)45TARGET_LINK_LIBRARIES(mysqldump perconaserverclient)
4646
47MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c)47MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c)
48TARGET_LINK_LIBRARIES(mysqlimport mysqlclient)48TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient)
4949
50MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c)50MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c)
51TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient)51TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient)
52ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs)52ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs)
5353
54MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)54MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c)
55TARGET_LINK_LIBRARIES(mysqlshow mysqlclient)55TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient)
5656
57MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)57MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c)
58TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient)58TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient)
5959
60MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc)60MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc)
61TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient)61TARGET_LINK_LIBRARIES(mysqlbinlog perconaserverclient)
6262
63MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc)63MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc)
64TARGET_LINK_LIBRARIES(mysqladmin mysqlclient)64TARGET_LINK_LIBRARIES(mysqladmin perconaserverclient)
6565
66MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c)66MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c)
67SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS")67SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS")
68TARGET_LINK_LIBRARIES(mysqlslap mysqlclient)68TARGET_LINK_LIBRARIES(mysqlslap perconaserverclient)
6969
70# "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".70# "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/".
71IF(WIN32)71IF(WIN32)
7272
=== modified file 'Percona-Server/libmysql/CMakeLists.txt'
--- Percona-Server/libmysql/CMakeLists.txt 2013-02-04 17:07:22 +0000
+++ Percona-Server/libmysql/CMakeLists.txt 2013-10-08 06:04:22 +0000
@@ -163,13 +163,13 @@
163 LIST(APPEND LIBS auth_win_client)163 LIST(APPEND LIBS auth_win_client)
164ENDIF()164ENDIF()
165165
166# Merge several convenience libraries into one big mysqlclient166# Merge several convenience libraries into one big perconaserverclient
167# and link them together into shared library.167# and link them together into shared library.
168MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development)168MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development)
169169
170# Visual Studio users need debug static library for debug projects170# Visual Studio users need debug static library for debug projects
171IF(MSVC)171IF(MSVC)
172 INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug)172 INSTALL_DEBUG_TARGET(perconaserverclient DESTINATION ${INSTALL_LIBDIR}/debug)
173ENDIF()173ENDIF()
174174
175IF(UNIX)175IF(UNIX)
@@ -184,7 +184,7 @@
184 SET(${OUTNAME} ${LIBNAME}${EXTENSION}${DOT_VERSION})184 SET(${OUTNAME} ${LIBNAME}${EXTENSION}${DOT_VERSION})
185 ENDIF() 185 ENDIF()
186 ENDMACRO()186 ENDMACRO()
187 INSTALL_SYMLINK(${CMAKE_STATIC_LIBRARY_PREFIX}mysqlclient_r.a mysqlclient ${INSTALL_LIBDIR} Development)187 INSTALL_SYMLINK(${CMAKE_STATIC_LIBRARY_PREFIX}perconaserverclient_r.a perconaserverclient ${INSTALL_LIBDIR} Development)
188ENDIF()188ENDIF()
189189
190IF(NOT DISABLE_SHARED)190IF(NOT DISABLE_SHARED)
@@ -198,9 +198,9 @@
198 ELSE()198 ELSE()
199 SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}.0.0")199 SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}.0.0")
200 ENDIF()200 ENDIF()
201 # Name of shared library is mysqlclient on Unix201 # Name of shared library is perconaserverclient on Unix
202 SET_TARGET_PROPERTIES(libmysql PROPERTIES 202 SET_TARGET_PROPERTIES(libmysql PROPERTIES
203 OUTPUT_NAME mysqlclient 203 OUTPUT_NAME perconaserverclient
204 VERSION "${OS_SHARED_LIB_VERSION}" 204 VERSION "${OS_SHARED_LIB_VERSION}"
205 SOVERSION "${SHARED_LIB_MAJOR_VERSION}")205 SOVERSION "${SHARED_LIB_MAJOR_VERSION}")
206 IF(LINK_FLAG_NO_UNDEFINED)206 IF(LINK_FLAG_NO_UNDEFINED)
@@ -215,13 +215,13 @@
215 ENDIF(INSTALL_LAYOUT STREQUAL "RPM")215 ENDIF(INSTALL_LAYOUT STREQUAL "RPM")
216 ENDIF() 216 ENDIF()
217 # clean direct output needs to be set several targets have the same name217 # clean direct output needs to be set several targets have the same name
218 #(mysqlclient in this case)218 #(perconaserverclient in this case)
219 SET_TARGET_PROPERTIES(mysqlclient PROPERTIES CLEAN_DIRECT_OUTPUT 1)219 SET_TARGET_PROPERTIES(perconaserverclient PROPERTIES CLEAN_DIRECT_OUTPUT 1)
220 SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1)220 SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1)
221221
222 # Install links to libmysqlclient.so (client_r)222 # Install links to libperconaserverclient.so (client_r)
223 GET_VERSIONED_LIBNAME(223 GET_VERSIONED_LIBNAME(
224 "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r"224 "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r"
225 "${CMAKE_SHARED_LIBRARY_SUFFIX}"225 "${CMAKE_SHARED_LIBRARY_SUFFIX}"
226 ""226 ""
227 linkname)227 linkname)
@@ -230,7 +230,7 @@
230 LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS)230 LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS)
231 FOREACH(ver ${OS_SHARED_LIB_SYMLINKS})231 FOREACH(ver ${OS_SHARED_LIB_SYMLINKS})
232 GET_VERSIONED_LIBNAME(232 GET_VERSIONED_LIBNAME(
233 "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r"233 "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r"
234 "${CMAKE_SHARED_LIBRARY_SUFFIX}"234 "${CMAKE_SHARED_LIBRARY_SUFFIX}"
235 "${ver}"235 "${ver}"
236 linkname)236 linkname)
237237
=== modified file 'Percona-Server/libmysql/libmysql.map'
--- Percona-Server/libmysql/libmysql.map 2013-02-04 17:07:22 +0000
+++ Percona-Server/libmysql/libmysql.map 2013-10-08 06:04:22 +0000
@@ -1,5 +1,5 @@
1# symbols exported from mysql 5.11# symbols exported from mysql 5.1
2libmysqlclient_16 {2libperconaserverclient_16 {
3 global:3 global:
4 _fini;4 _fini;
5 _init;5 _init;
@@ -121,7 +121,7 @@
121 *;121 *;
122};122};
123# symbols added in mysql 5.5123# symbols added in mysql 5.5
124libmysqlclient_18 {124libperconaserverclient_18 {
125 global:125 global:
126 mysql_client_find_plugin;126 mysql_client_find_plugin;
127 mysql_client_register_plugin;127 mysql_client_register_plugin;
@@ -133,7 +133,7 @@
133# Ideally the following symbols wouldn't be exported, but various applications133# Ideally the following symbols wouldn't be exported, but various applications
134# require them. We limit the namespace damage by prefixing mysql_134# require them. We limit the namespace damage by prefixing mysql_
135# (see mysql-dubious-exports.patch), which means the symbols are not present135# (see mysql-dubious-exports.patch), which means the symbols are not present
136# in libmysqlclient_16.136# in libperconaserverclient_16.
137#137#
138# mysql-connector-odbc requires these138# mysql-connector-odbc requires these
139 mysql_default_charset_info;139 mysql_default_charset_info;
140140
=== modified file 'Percona-Server/libmysql/libmysql.ver.in'
--- Percona-Server/libmysql/libmysql.ver.in 2006-01-17 14:51:08 +0000
+++ Percona-Server/libmysql/libmysql.ver.in 2013-10-08 06:04:22 +0000
@@ -1,1 +1,1 @@
1libmysqlclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; };1libperconaserverclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; };
22
=== modified file 'Percona-Server/man/mysql_config.1'
--- Percona-Server/man/mysql_config.1 2012-04-24 20:49:06 +0000
+++ Percona-Server/man/mysql_config.1 2013-10-08 06:04:22 +0000
@@ -45,7 +45,7 @@
45\fB\-\-cflags\fR45\fB\-\-cflags\fR
46.sp46.sp
47Compiler flags to find include files and critical compiler flags and defines used when compiling the47Compiler flags to find include files and critical compiler flags and defines used when compiling the
48libmysqlclient48libperconaserverclient
49library\&. The options returned are tied to the specific compiler that was used when the library was created and might clash with the settings for your own compiler\&. Use49library\&. The options returned are tied to the specific compiler that was used when the library was created and might clash with the settings for your own compiler\&. Use
50\fB\-\-include\fR50\fB\-\-include\fR
51for more portable options that contain only include paths\&.51for more portable options that contain only include paths\&.
@@ -187,9 +187,9 @@
187Options:187Options:
188 \-\-cflags [\-I/usr/local/mysql/include/mysql \-mcpu=pentiumpro]188 \-\-cflags [\-I/usr/local/mysql/include/mysql \-mcpu=pentiumpro]
189 \-\-include [\-I/usr/local/mysql/include/mysql]189 \-\-include [\-I/usr/local/mysql/include/mysql]
190 \-\-libs [\-L/usr/local/mysql/lib/mysql \-lmysqlclient \-lz190 \-\-libs [\-L/usr/local/mysql/lib/mysql \-lperconaserverclient \-lz
191 \-lcrypt \-lnsl \-lm \-L/usr/lib \-lssl \-lcrypto]191 \-lcrypt \-lnsl \-lm \-L/usr/lib \-lssl \-lcrypto]
192 \-\-libs_r [\-L/usr/local/mysql/lib/mysql \-lmysqlclient_r192 \-\-libs_r [\-L/usr/local/mysql/lib/mysql \-lperconaserverclient_r
193 \-lpthread \-lz \-lcrypt \-lnsl \-lm \-lpthread]193 \-lpthread \-lz \-lcrypt \-lnsl \-lm \-lpthread]
194 \-\-socket [/tmp/mysql\&.sock]194 \-\-socket [/tmp/mysql\&.sock]
195 \-\-port [3306]195 \-\-port [3306]
196196
=== modified file 'Percona-Server/packaging/rpm-uln/mysql.spec.sh'
--- Percona-Server/packaging/rpm-uln/mysql.spec.sh 2013-07-09 18:35:26 +0000
+++ Percona-Server/packaging/rpm-uln/mysql.spec.sh 2013-10-08 06:04:22 +0000
@@ -520,7 +520,7 @@
520cd release520cd release
521mkdir libmysqld/work521mkdir libmysqld/work
522cd libmysqld/work522cd libmysqld/work
523# "libmysqld" provides the same ABI as "libmysqlclient", but it implements the server:523# "libmysqld" provides the same ABI as "libperconaserverclient", but it implements the server:
524# The shared object is identified by the full version,524# The shared object is identified by the full version,
525# for linkage selection the first two levels are sufficient so that upgrades are possible525# for linkage selection the first two levels are sufficient so that upgrades are possible
526# (see "man ld", option "-soname").526# (see "man ld", option "-soname").
@@ -644,7 +644,7 @@
644rm -f ${RPM_BUILD_ROOT}%{_bindir}/make_win_src_distribution644rm -f ${RPM_BUILD_ROOT}%{_bindir}/make_win_src_distribution
645rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_bin_dist.1*645rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_bin_dist.1*
646rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_src_distribution.1*646rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_src_distribution.1*
647rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la647rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libperconaserverclient*.la
648rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a648rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a
649rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.la649rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.la
650rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.a650rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.a
@@ -737,7 +737,7 @@
737 rpm -qa | grep -i '^mysql-'737 rpm -qa | grep -i '^mysql-'
738738
739 You may choose to use 'rpm --nodeps -ev <package-name>' to remove739 You may choose to use 'rpm --nodeps -ev <package-name>' to remove
740 the package which contains the mysqlclient shared library. The740 the package which contains the perconaserverclient shared library. The
741 library will be reinstalled by the MySQL-shared-compat package.741 library will be reinstalled by the MySQL-shared-compat package.
742- Install the new MySQL packages supplied by $myvendor742- Install the new MySQL packages supplied by $myvendor
743- Ensure that the MySQL server is started743- Ensure that the MySQL server is started
@@ -826,7 +826,7 @@
826# libs package because it can be used for client settings too.826# libs package because it can be used for client settings too.
827%config(noreplace) /etc/my.cnf827%config(noreplace) /etc/my.cnf
828%dir %{_libdir}/mysql828%dir %{_libdir}/mysql
829%{_libdir}/mysql/libmysqlclient*.so.*829%{_libdir}/mysql/libperconaserverclient*.so.*
830/etc/ld.so.conf.d/*830/etc/ld.so.conf.d/*
831831
832%dir %{_datadir}/mysql832%dir %{_datadir}/mysql
@@ -957,7 +957,7 @@
957%defattr(-,root,root)957%defattr(-,root,root)
958/usr/include/mysql958/usr/include/mysql
959/usr/share/aclocal/mysql.m4959/usr/share/aclocal/mysql.m4
960%{_libdir}/mysql/libmysqlclient*.so960%{_libdir}/mysql/libperconaserverclient*.so
961961
962%files -n mysql-embedded%{product_suffix}962%files -n mysql-embedded%{product_suffix}
963%defattr(-,root,root)963%defattr(-,root,root)
964964
=== modified file 'Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt'
--- Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt 2013-08-21 07:39:21 +0000
+++ Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt 2013-10-08 06:04:22 +0000
@@ -31,6 +31,6 @@
31 SET(AUTH_PAM_COMPAT_SOURCES ${AUTH_PAM_COMMON_SOURCES} src/auth_pam_compat.c)31 SET(AUTH_PAM_COMPAT_SOURCES ${AUTH_PAM_COMMON_SOURCES} src/auth_pam_compat.c)
32 MYSQL_ADD_PLUGIN(auth_pam ${AUTH_PAM_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)32 MYSQL_ADD_PLUGIN(auth_pam ${AUTH_PAM_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)
33 MYSQL_ADD_PLUGIN(auth_pam_compat ${AUTH_PAM_COMPAT_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)33 MYSQL_ADD_PLUGIN(auth_pam_compat ${AUTH_PAM_COMPAT_SOURCES} LINK_LIBRARIES pam MODULE_ONLY)
34 MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES mysqlclient MODULE_ONLY)34 MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES perconaserverclient MODULE_ONLY)
35ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R)35ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R)
36ENDIF(WITH_PAM)36ENDIF(WITH_PAM)
3737
=== modified file 'Percona-Server/scripts/CMakeLists.txt'
--- Percona-Server/scripts/CMakeLists.txt 2013-02-26 05:35:17 +0000
+++ Percona-Server/scripts/CMakeLists.txt 2013-10-08 06:04:22 +0000
@@ -237,7 +237,7 @@
237ENDIF()237ENDIF()
238238
239# Use cmake variables to inspect dependencies for 239# Use cmake variables to inspect dependencies for
240# mysqlclient library (add -l stuff)240# perconaserverclient library (add -l stuff)
241SET(CLIENT_LIBS "")241SET(CLIENT_LIBS "")
242SET(LIBS "")242SET(LIBS "")
243243
@@ -277,7 +277,7 @@
277 ENDIF()277 ENDIF()
278ENDMACRO()278ENDMACRO()
279279
280EXTRACT_LINK_LIBRARIES(mysqlclient CLIENT_LIBS)280EXTRACT_LINK_LIBRARIES(perconaserverclient CLIENT_LIBS)
281EXTRACT_LINK_LIBRARIES(mysqlserver LIBS)281EXTRACT_LINK_LIBRARIES(mysqlserver LIBS)
282282
283# mysql_config evaluates ${LIBDL}, we want to avoid it283# mysql_config evaluates ${LIBDL}, we want to avoid it
284284
=== modified file 'Percona-Server/scripts/mysql_config.pl.in'
--- Percona-Server/scripts/mysql_config.pl.in 2011-06-30 15:46:53 +0000
+++ Percona-Server/scripts/mysql_config.pl.in 2013-10-08 06:04:22 +0000
@@ -183,15 +183,15 @@
183 my $linkpath = "$pkglibdir";183 my $linkpath = "$pkglibdir";
184 # user32 is only needed for debug or embedded184 # user32 is only needed for debug or embedded
185 my @winlibs = ("wsock32.lib","advapi32.lib","user32.lib");185 my @winlibs = ("wsock32.lib","advapi32.lib","user32.lib");
186 @lib_opts = ("$linkpath/mysqlclient.lib",@winlibs);186 @lib_opts = ("$linkpath/perconaserverclient.lib",@winlibs);
187 @lib_r_opts = @lib_opts;187 @lib_r_opts = @lib_opts;
188 @lib_e_opts = ("$linkpath/mysqlserver.lib",@winlibs);188 @lib_e_opts = ("$linkpath/mysqlserver.lib",@winlibs);
189}189}
190else190else
191{191{
192 my $linkpath = "-L$pkglibdir";192 my $linkpath = "-L$pkglibdir";
193 @lib_opts = ($linkpath,"-lmysqlclient");193 @lib_opts = ($linkpath,"-lperconaserverclient");
194 @lib_r_opts = ($linkpath,"-lmysqlclient_r");194 @lib_r_opts = ($linkpath,"-lperconaserverclient_r");
195 @lib_e_opts = ($linkpath,"-lmysqld");195 @lib_e_opts = ($linkpath,"-lmysqld");
196}196}
197197
198198
=== modified file 'Percona-Server/scripts/mysql_config.sh'
--- Percona-Server/scripts/mysql_config.sh 2011-06-30 15:46:53 +0000
+++ Percona-Server/scripts/mysql_config.sh 2013-10-08 06:04:22 +0000
@@ -110,9 +110,9 @@
110110
111# Create options 111# Create options
112# We intentionally add a space to the beginning and end of lib strings, simplifies replace later112# We intentionally add a space to the beginning and end of lib strings, simplifies replace later
113libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"113libs=" $ldflags -L$pkglibdir -lperconaserverclient @ZLIB_DEPS@ @NON_THREADED_LIBS@"
114libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "114libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ "
115libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "115libs_r=" $ldflags -L$pkglibdir -lperconaserverclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ "
116embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "116embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ "
117117
118if [ -r "$pkglibdir/libmygcc.a" ]; then118if [ -r "$pkglibdir/libmygcc.a" ]; then
119119
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2007-05-29 21:39:57 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(OBJS): $(SRCS)20$(OBJS): $(SRCS)
21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2007-05-29 21:39:57 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(OBJS): $(SRCS)20$(OBJS): $(SRCS)
21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(TARGET).o: $(SRCS)20$(TARGET).o: $(SRCS)
21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2013-10-08 06:04:22 +0000
@@ -14,7 +14,7 @@
14SYS_LIB = 14SYS_LIB =
1515
16$(TARGET): $(OBJS)16$(TARGET): $(OBJS)
17 $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)17 $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1818
19$(TARGET).o: $(SRCS)19$(TARGET).o: $(SRCS)
20 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)20 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2121
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(TARGET).o: $(SRCS) Makefile20$(TARGET).o: $(SRCS) Makefile
21 $(CXX) $(CFLAGS) $(DEBUG) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi -I$(TOP_SRCDIR)/include $(SRCS)21 $(CXX) $(CFLAGS) $(DEBUG) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi -I$(TOP_SRCDIR)/include $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2013-10-08 06:04:22 +0000
@@ -14,7 +14,7 @@
14SYS_LIB = 14SYS_LIB =
1515
16$(TARGET): $(OBJS)16$(TARGET): $(OBJS)
17 $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)17 $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1818
19$(TARGET).o: $(SRCS)19$(TARGET).o: $(SRCS)
20 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)20 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2121
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(TARGET).o: $(SRCS)20$(TARGET).o: $(SRCS)
21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2006-09-01 13:14:50 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(TARGET).o: $(SRCS)20$(TARGET).o: $(SRCS)
21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2007-05-29 21:39:57 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(OBJS): $(SRCS)20$(OBJS): $(SRCS)
21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile'
--- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2007-05-29 21:39:57 +0000
+++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2013-10-08 06:04:22 +0000
@@ -15,7 +15,7 @@
15SYS_LIB = 15SYS_LIB =
1616
17$(TARGET): $(OBJS)17$(TARGET): $(OBJS)
18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)18 $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET)
1919
20$(OBJS): $(SRCS)20$(OBJS): $(SRCS)
21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)21 $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS)
2222
=== modified file 'Percona-Server/storage/ndb/test/ndbapi/Makefile.am'
--- Percona-Server/storage/ndb/test/ndbapi/Makefile.am 2013-02-26 05:35:17 +0000
+++ Percona-Server/storage/ndb/test/ndbapi/Makefile.am 2013-10-08 06:04:22 +0000
@@ -101,7 +101,7 @@
101testLcp_SOURCES = testLcp.cpp101testLcp_SOURCES = testLcp.cpp
102testPartitioning_SOURCES = testPartitioning.cpp102testPartitioning_SOURCES = testPartitioning.cpp
103testNDBT_SOURCES = testNDBT.cpp103testNDBT_SOURCES = testNDBT.cpp
104testNDBT_LDADD = $(LDADD) $(top_srcdir)/libmysql_r/libmysqlclient_r.la104testNDBT_LDADD = $(LDADD) $(top_srcdir)/libmysql_r/libperconaserverclient_r.la
105testBitfield_SOURCES = testBitfield.cpp105testBitfield_SOURCES = testBitfield.cpp
106NdbRepStress_SOURCES = acrt/NdbRepStress.cpp106NdbRepStress_SOURCES = acrt/NdbRepStress.cpp
107DbCreate_SOURCES = bench/mainPopulate.cpp bench/dbPopulate.cpp bench/userInterface.cpp bench/dbPopulate.h bench/userInterface.h bench/testData.h bench/testDefinitions.h bench/ndb_schema.hpp bench/ndb_error.hpp107DbCreate_SOURCES = bench/mainPopulate.cpp bench/dbPopulate.cpp bench/userInterface.cpp bench/dbPopulate.h bench/userInterface.h bench/testData.h bench/testDefinitions.h bench/ndb_schema.hpp bench/ndb_error.hpp
@@ -123,7 +123,7 @@
123NdbRepStress_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/test/include -I$(top_srcdir)/include123NdbRepStress_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/test/include -I$(top_srcdir)/include
124testBackup_LDADD = $(LDADD) bank/libbank.a124testBackup_LDADD = $(LDADD) bank/libbank.a
125testSRBank_LDADD = bank/libbank.a $(LDADD) 125testSRBank_LDADD = bank/libbank.a $(LDADD)
126NdbRepStress_LDADD = $(LDADD) $(top_builddir)/libmysql_r/libmysqlclient_r.la126NdbRepStress_LDADD = $(LDADD) $(top_builddir)/libmysql_r/libperconaserverclient_r.la
127127
128windoze-dsp: flexBench.dsp testBasic.dsp testBlobs.dsp \128windoze-dsp: flexBench.dsp testBasic.dsp testBlobs.dsp \
129 testScan.dsp129 testScan.dsp
130130
=== modified file 'Percona-Server/support-files/MySQL-shared-compat.spec.sh'
--- Percona-Server/support-files/MySQL-shared-compat.spec.sh 2013-04-18 10:52:59 +0000
+++ Percona-Server/support-files/MySQL-shared-compat.spec.sh 2013-10-08 06:04:22 +0000
@@ -82,7 +82,7 @@
8282
83%files83%files
84%defattr(-, root, root)84%defattr(-, root, root)
85%{_libdir}/libmysqlclient*85%{_libdir}/libperconaserverclient*
8686
87# The spec file changelog only includes changes made to the spec file87# The spec file changelog only includes changes made to the spec file
88# itself - note that they must be ordered by date (important when88# itself - note that they must be ordered by date (important when
8989
=== modified file 'Percona-Server/support-files/mysql.spec.sh'
--- Percona-Server/support-files/mysql.spec.sh 2013-07-10 17:14:41 +0000
+++ Percona-Server/support-files/mysql.spec.sh 2013-10-08 06:04:22 +0000
@@ -691,7 +691,7 @@
691 rpm -qa | grep -i '^mysql-'691 rpm -qa | grep -i '^mysql-'
692692
693 You may choose to use 'rpm --nodeps -ev <package-name>' to remove693 You may choose to use 'rpm --nodeps -ev <package-name>' to remove
694 the package which contains the mysqlclient shared library. The694 the package which contains the perconaserverclient shared library. The
695 library will be reinstalled by the MySQL-shared-compat package.695 library will be reinstalled by the MySQL-shared-compat package.
696- Install the new MySQL packages supplied by $myvendor696- Install the new MySQL packages supplied by $myvendor
697- Ensure that the MySQL server is started697- Ensure that the MySQL server is started
@@ -1162,8 +1162,8 @@
1162%dir %attr(755, root, root) %{_libdir}/mysql1162%dir %attr(755, root, root) %{_libdir}/mysql
1163%{_includedir}/mysql/*1163%{_includedir}/mysql/*
1164%{_datadir}/aclocal/mysql.m41164%{_datadir}/aclocal/mysql.m4
1165%{_libdir}/mysql/libmysqlclient.a1165%{_libdir}/mysql/libperconaserverclient.a
1166%{_libdir}/mysql/libmysqlclient_r.a1166%{_libdir}/mysql/libperconaserverclient_r.a
1167%{_libdir}/mysql/libmysqlservices.a1167%{_libdir}/mysql/libmysqlservices.a
11681168
1169# ----------------------------------------------------------------------------1169# ----------------------------------------------------------------------------
11701170
=== modified file 'Percona-Server/tests/CMakeLists.txt'
--- Percona-Server/tests/CMakeLists.txt 2013-02-26 05:35:17 +0000
+++ Percona-Server/tests/CMakeLists.txt 2013-10-08 06:04:22 +0000
@@ -18,12 +18,12 @@
18INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)18INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
1919
20ADD_EXECUTABLE(mysql_client_test mysql_client_test.c)20ADD_EXECUTABLE(mysql_client_test mysql_client_test.c)
21TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient)21TARGET_LINK_LIBRARIES(mysql_client_test perconaserverclient)
22SET_TARGET_PROPERTIES(mysql_client_test PROPERTIES LINKER_LANGUAGE CXX)22SET_TARGET_PROPERTIES(mysql_client_test PROPERTIES LINKER_LANGUAGE CXX)
2323
24IF(WITH_UNIT_TESTS)24IF(WITH_UNIT_TESTS)
25 ADD_EXECUTABLE(bug25714 bug25714.c)25 ADD_EXECUTABLE(bug25714 bug25714.c)
26 TARGET_LINK_LIBRARIES(bug25714 mysqlclient)26 TARGET_LINK_LIBRARIES(bug25714 perconaserverclient)
27 SET_TARGET_PROPERTIES(bug25714 PROPERTIES LINKER_LANGUAGE CXX)27 SET_TARGET_PROPERTIES(bug25714 PROPERTIES LINKER_LANGUAGE CXX)
28ENDIF()28ENDIF()
2929
3030
=== modified file 'build/debian/control'
--- build/debian/control 2013-07-09 20:12:26 +0000
+++ build/debian/control 2013-10-08 06:04:22 +0000
@@ -8,7 +8,7 @@
8Homepage: http://www.percona.com/software/percona-server/8Homepage: http://www.percona.com/software/percona-server/
9Vcs-Bzr: lp:percona-server/5.59Vcs-Bzr: lp:percona-server/5.5
1010
11Package: libmysqlclient1811Package: libperconaserverclient18
12Section: libs12Section: libs
13Architecture: any13Architecture: any
14Replaces: libpercona-server-client1814Replaces: libpercona-server-client18
@@ -21,20 +21,21 @@
21 .21 .
22 This package includes the client library.22 This package includes the client library.
2323
24Package: libmysqlclient18-dev24Package: libperconaserverclient18-dev
25Architecture: any25Architecture: any
26Section: libdevel26Section: libdevel
27Depends: libmysqlclient-dev (= ${binary:Version}), ${misc:Depends}27Depends: libperconaserverclient-dev (= ${binary:Version}), ${misc:Depends}
28Description: Percona Server database development files - empty transitional 28Description: Percona Server database development files - empty transitional
29 package. This is an empty package that depends on libmysqlclient-dev to ease 29 package. This is an empty package that depends on libperconaserverclient-dev
30 the transition for packages with versioned build-deps on libmysqlclient18-dev.30 to ease the transition for packages with versioned build-deps on
31 libperconaserverclient18-dev.
3132
32Package: libmysqlclient-dev33Package: libperconaserverclient-dev
33Architecture: any34Architecture: any
34Section: libdevel35Section: libdevel
35Depends: libmysqlclient18 (= ${binary:Version}), zlib1g-dev, ${misc:Depends}36Depends: libperconaserverclient18 (= ${binary:Version}), zlib1g-dev, ${misc:Depends}
36Conflicts: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev37Conflicts: libperconaserverclient14-dev, libperconaserverclient12-dev, libperconaserverclient10-dev, libperconaserverclient15-dev, libperconaserverclient16-dev, libmysqlclient-dev
37Replaces: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev, libpercona-xtradb-client-dev38Replaces: libperconaserverclient14-dev, libperconaserverclient12-dev, libperconaserverclient10-dev, libperconaserverclient15-dev, libperconaserverclient16-dev, libpercona-xtradb-client-dev
38Description: Percona Server database development files39Description: Percona Server database development files
39 Percona Server is a fast, stable and true multi-user, multi-threaded SQL 40 Percona Server is a fast, stable and true multi-user, multi-threaded SQL
40 database server. SQL (Structured Query Language) is the most popular 41 database server. SQL (Structured Query Language) is the most popular
@@ -61,7 +62,7 @@
6162
62Package: percona-server-client-5.563Package: percona-server-client-5.5
63Architecture: any64Architecture: any
64Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.5 (>= ${source:Version}), libmysqlclient18 (>= ${source:Version}), ${shlib:Depends}, ${misc:Depends}65Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.5 (>= ${source:Version}), libperconaserverclient18 (>= ${source:Version}), ${shlib:Depends}, ${misc:Depends}
65Provides: mysql-client, mysql-client-core, mysql-client-5.5, mysql-client-core-5.5, virtual-mysql-client66Provides: mysql-client, mysql-client-core, mysql-client-5.5, mysql-client-core-5.5, virtual-mysql-client
66Conflicts: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, mysql-client-5.5, mysql-client-core-5.5, percona-xtradb-client-5.0, percona-server-client-5.167Conflicts: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, mysql-client-5.5, mysql-client-core-5.5, percona-xtradb-client-5.0, percona-server-client-5.1
67Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, mysql-client-5.5, mysql-client-core-5.5, percona-xtradb-client-5.0, percona-server-client-5.168Replaces: mysql-client (<< ${source:Version}), mysql-client-5.0, mysql-client-5.1, mysql-client-core-5.1, mysql-client-5.5, mysql-client-core-5.5, percona-xtradb-client-5.0, percona-server-client-5.1
6869
=== modified file 'build/debian/libmysqlclient-dev.install'
--- build/debian/libmysqlclient-dev.install 2012-09-18 04:57:16 +0000
+++ build/debian/libmysqlclient-dev.install 2013-10-08 06:04:22 +0000
@@ -1,7 +1,7 @@
1usr/bin/mysql_config1usr/bin/mysql_config
2usr/include2usr/include
3usr/lib/libmysqlclient.a3usr/lib/libperconaserverclient.a
4usr/lib/libmysqlclient_r.a4usr/lib/libperconaserverclient_r.a
5usr/lib/libmysqlservices.a5usr/lib/libmysqlservices.a
6usr/lib/libhsclient.a6usr/lib/libhsclient.a
7usr/share/man/man1/mysql_config.17usr/share/man/man1/mysql_config.1
88
=== modified file 'build/debian/libmysqlclient-dev.links'
--- build/debian/libmysqlclient-dev.links 2012-09-18 04:57:16 +0000
+++ build/debian/libmysqlclient-dev.links 2013-10-08 06:04:22 +0000
@@ -1,2 +1,2 @@
1usr/lib/libmysqlclient.so.18 usr/lib/libmysqlclient.so1usr/lib/libperconaserverclient.so.18 usr/lib/libperconaserverclient.so
2usr/lib/libmysqlclient_r.so.18 usr/lib/libmysqlclient_r.so2usr/lib/libperconaserverclient_r.so.18 usr/lib/libperconaserverclient_r.so
33
=== modified file 'build/debian/libmysqlclient18.install'
--- build/debian/libmysqlclient18.install 2012-09-18 04:57:16 +0000
+++ build/debian/libmysqlclient18.install 2013-10-08 06:04:22 +0000
@@ -1,1 +1,1 @@
1usr/lib/libmysqlclient*.so.*1usr/lib/libperconaserverclient*.so.*
22
=== modified file 'build/percona-server.spec'
--- build/percona-server.spec 2013-09-30 14:28:41 +0000
+++ build/percona-server.spec 2013-10-08 06:04:22 +0000
@@ -644,7 +644,7 @@
644 rpm -qa | grep -i '^mysql-'644 rpm -qa | grep -i '^mysql-'
645645
646 You may choose to use 'rpm --nodeps -ev <package-name>' to remove646 You may choose to use 'rpm --nodeps -ev <package-name>' to remove
647 the package which contains the mysqlclient shared library. The647 the package which contains the perconaserverclient shared library. The
648 library will be reinstalled by the MySQL-shared-compat package.648 library will be reinstalled by the MySQL-shared-compat package.
649- Install the new MySQL packages supplied by $myvendor649- Install the new MySQL packages supplied by $myvendor
650- Ensure that the MySQL server is started650- Ensure that the MySQL server is started
@@ -1164,8 +1164,8 @@
1164%{_includedir}/mysql/*1164%{_includedir}/mysql/*
1165%{_includedir}/handlersocket1165%{_includedir}/handlersocket
1166%{_datadir}/aclocal/mysql.m41166%{_datadir}/aclocal/mysql.m4
1167%{_libdir}/mysql/libmysqlclient.a1167%{_libdir}/mysql/libperconaserverclient.a
1168%{_libdir}/mysql/libmysqlclient_r.a1168%{_libdir}/mysql/libperconaserverclient_r.a
1169%{_libdir}/mysql/libmysqlservices.a1169%{_libdir}/mysql/libmysqlservices.a
1170%{_libdir}/mysql/libhsclient.a1170%{_libdir}/mysql/libhsclient.a
1171%{_libdir}/libhsclient.la1171%{_libdir}/libhsclient.la
11721172
=== modified file 'build/percona-shared-compat.spec'
--- build/percona-shared-compat.spec 2013-08-27 14:41:58 +0000
+++ build/percona-shared-compat.spec 2013-10-08 06:04:22 +0000
@@ -85,7 +85,7 @@
85#rpm2cpio %{SOURCE1} | cpio -iv --make-directories85#rpm2cpio %{SOURCE1} | cpio -iv --make-directories
86#rpm2cpio %{SOURCE2} | cpio -iv --make-directories86#rpm2cpio %{SOURCE2} | cpio -iv --make-directories
87#rpm2cpio %{SOURCE3} | cpio -iv --make-directories87#rpm2cpio %{SOURCE3} | cpio -iv --make-directories
88rpm2cpio %{SOURCE1} | cpio -ivu '*/usr/lib64/libmysqlclient*so.16*'88rpm2cpio %{SOURCE1} | cpio -ivu '*/usr/lib64/libperconaserverclient*so.16*'
89/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}89/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
9090
91%clean91%clean
@@ -93,5 +93,5 @@
9393
94%files94%files
95%defattr(-, root, root)95%defattr(-, root, root)
96%{_libdir}/libmysqlclient*96%{_libdir}/libperconaserverclient*
9797
9898
=== modified file 'build/rpm/mysql-dubious-exports.patch'
--- build/rpm/mysql-dubious-exports.patch 2013-02-04 17:07:22 +0000
+++ build/rpm/mysql-dubious-exports.patch 2013-10-08 06:04:22 +0000
@@ -1,6 +1,6 @@
1Prefix mysql_ to the real names of several symbols that have to be exported1Prefix mysql_ to the real names of several symbols that have to be exported
2from libmysqlclient because mysql-connector-odbc and/or PHP depend on them.2from libperconaserverclient because mysql-connector-odbc and/or PHP depend on
3This limits the intrusion on application namespace.3them. This limits the intrusion on application namespace.
44
5Also, remove all traces of make_scrambled_password and5Also, remove all traces of make_scrambled_password and
6make_scrambled_password_323, so that references to these functions draw6make_scrambled_password_323, so that references to these functions draw
77
=== modified file 'doc/source/installation.rst'
--- doc/source/installation.rst 2013-05-27 13:46:13 +0000
+++ doc/source/installation.rst 2013-10-08 06:04:22 +0000
@@ -131,10 +131,10 @@
131131
132The ``percona-server-dfsg`` package contains....132The ``percona-server-dfsg`` package contains....
133133
134The ``libmysqlclient-dev`` package contains header files needed to134The ``libperconaserverclient-dev`` package contains header files needed to
135compile software to use the client library.135compile software to use the client library.
136136
137The ``libmysqlclient18`` package contains the client shared137The ``libperconaserverclient18`` package contains the client shared
138library. The ``18`` is a reference to the version of the shared138library. The ``18`` is a reference to the version of the shared
139library. The version is incremented when there is a ABI change that139library. The version is incremented when there is a ABI change that
140requires software using the client library to be recompiled or their140requires software using the client library to be recompiled or their
141141
=== modified file 'doc/source/management/pam_plugin.rst'
--- doc/source/management/pam_plugin.rst 2013-07-02 11:56:23 +0000
+++ doc/source/management/pam_plugin.rst 2013-10-08 06:04:22 +0000
@@ -6,7 +6,7 @@
66
7Percona PAM Authentication Plugin is a free and Open Source implementation of the |MySQL|'s authentication plugin. This plugin acts as a mediator between the |MySQL| server, the |MySQL| client, and the PAM stack. The server plugin requests authentication from the PAM stack, forwards any requests and messages from the PAM stack over the wire to the client (in cleartext) and reads back any replies for the PAM stack.7Percona PAM Authentication Plugin is a free and Open Source implementation of the |MySQL|'s authentication plugin. This plugin acts as a mediator between the |MySQL| server, the |MySQL| client, and the PAM stack. The server plugin requests authentication from the PAM stack, forwards any requests and messages from the PAM stack over the wire to the client (in cleartext) and reads back any replies for the PAM stack.
88
9 PAM plugin uses dialog as its client side plugin. Dialog plugin can be loaded to any client application that uses :file:`libmysqlclient` library.9 PAM plugin uses dialog as its client side plugin. Dialog plugin can be loaded to any client application that uses :file:`libmysqlclient`/:file:`libperconaserverclient` library.
1010
11Here are some of the benefits that Percona dialog plugin offers over the default one:11Here are some of the benefits that Percona dialog plugin offers over the default one:
1212

Subscribers

People subscribed via source and target branches