Merge lp:~stewart/percona-server/5.5-psclient into lp:percona-server/5.5
- 5.5-psclient
- Merge into 5.5
Status: | Superseded |
---|---|
Proposed branch: | lp:~stewart/percona-server/5.5-psclient |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
744 lines (+111/-81) (has conflicts) 35 files modified
Percona-Server/.bzrignore (+6/-6) Percona-Server/client/CMakeLists.txt (+11/-11) Percona-Server/libmysql/CMakeLists.txt (+14/-10) Percona-Server/libmysql/libmysql.map (+3/-3) Percona-Server/libmysql/libmysql.ver.in (+1/-1) Percona-Server/man/mysql_config.1 (+8/-1) 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 (+18/-3) build/debian/libmysqlclient18-dev.install (+2/-2) build/debian/libmysqlclient18-dev.links (+2/-2) build/debian/libmysqlclient18.install (+4/-0) 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) doc/source/upgrading_guide_51_55.rst (+1/-1) Text conflict in Percona-Server/libmysql/CMakeLists.txt Text conflict in Percona-Server/man/mysql_config.1 Text conflict in build/debian/control Text conflict in build/debian/libmysqlclient18.install |
To merge this branch: | bzr merge lp:~stewart/percona-server/5.5-psclient |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Needs Fixing | ||
Alexey Bychko | Pending | ||
Percona core | Pending | ||
Review via email: mp+199746@code.launchpad.net |
This proposal supersedes a proposal from 2013-10-08.
This proposal has been superseded by a proposal from 2013-12-23.
Commit message
Description of the change
This changes our client library in Percona Server to be built as libperconaserve
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.
All of this is included in https:/
Laurynas Biveinis (laurynas-biveinis) : Posted in a previous version of this proposal | # |
Laurynas Biveinis (laurynas-biveinis) wrote : | # |
Preview Diff
1 | === modified file 'Percona-Server/.bzrignore' |
2 | --- Percona-Server/.bzrignore 2013-01-15 08:56:36 +0000 |
3 | +++ Percona-Server/.bzrignore 2013-12-23 00:18:44 +0000 |
4 | @@ -782,9 +782,9 @@ |
5 | libmysql/.deps/viossl.Plo |
6 | libmysql/.deps/viosslfactories.Plo |
7 | libmysql/.deps/xml.Plo |
8 | -libmysql/.libs/libmysqlclient.lai |
9 | -libmysql/.libs/libmysqlclient.so.15 |
10 | -libmysql/.libs/libmysqlclient.so.15.0.0 |
11 | +libmysql/.libs/libperconaserverclient.lai |
12 | +libmysql/.libs/libperconaserverclient.so.15 |
13 | +libmysql/.libs/libperconaserverclient.so.15.0.0 |
14 | libmysql/conf_to_src |
15 | libmysql/debug/libmysql.exp |
16 | libmysql/libmysql.ver |
17 | @@ -918,9 +918,9 @@ |
18 | libmysql_r/.deps/viossl.Plo |
19 | libmysql_r/.deps/viosslfactories.Plo |
20 | libmysql_r/.deps/xml.Plo |
21 | -libmysql_r/.libs/libmysqlclient_r.lai |
22 | -libmysql_r/.libs/libmysqlclient_r.so.15 |
23 | -libmysql_r/.libs/libmysqlclient_r.so.15.0.0 |
24 | +libmysql_r/.libs/libperconaserverclient_r.lai |
25 | +libmysql_r/.libs/libperconaserverclient_r.so.15 |
26 | +libmysql_r/.libs/libperconaserverclient_r.so.15.0.0 |
27 | libmysql_r/acconfig.h |
28 | libmysql_r/client_settings.h |
29 | libmysql_r/conf_to_src |
30 | |
31 | === modified file 'Percona-Server/client/CMakeLists.txt' |
32 | --- Percona-Server/client/CMakeLists.txt 2012-10-10 20:32:32 +0000 |
33 | +++ Percona-Server/client/CMakeLists.txt 2013-12-23 00:18:44 +0000 |
34 | @@ -28,44 +28,44 @@ |
35 | ADD_DEFINITIONS(${READLINE_DEFINES}) |
36 | ADD_DEFINITIONS(${SSL_DEFINES}) |
37 | MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc) |
38 | -TARGET_LINK_LIBRARIES(mysql mysqlclient) |
39 | +TARGET_LINK_LIBRARIES(mysql perconaserverclient) |
40 | IF(UNIX) |
41 | TARGET_LINK_LIBRARIES(mysql ${READLINE_LIBRARY}) |
42 | ENDIF(UNIX) |
43 | |
44 | MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test) |
45 | SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") |
46 | -TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex) |
47 | +TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex) |
48 | |
49 | |
50 | MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c) |
51 | -TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient) |
52 | +TARGET_LINK_LIBRARIES(mysqlcheck perconaserverclient) |
53 | |
54 | MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c) |
55 | -TARGET_LINK_LIBRARIES(mysqldump mysqlclient) |
56 | +TARGET_LINK_LIBRARIES(mysqldump perconaserverclient) |
57 | |
58 | MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c) |
59 | -TARGET_LINK_LIBRARIES(mysqlimport mysqlclient) |
60 | +TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient) |
61 | |
62 | MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c) |
63 | -TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient) |
64 | +TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient) |
65 | ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs) |
66 | |
67 | MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c) |
68 | -TARGET_LINK_LIBRARIES(mysqlshow mysqlclient) |
69 | +TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient) |
70 | |
71 | MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c) |
72 | -TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient) |
73 | +TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient) |
74 | |
75 | MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc) |
76 | -TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient) |
77 | +TARGET_LINK_LIBRARIES(mysqlbinlog perconaserverclient) |
78 | |
79 | MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc) |
80 | -TARGET_LINK_LIBRARIES(mysqladmin mysqlclient) |
81 | +TARGET_LINK_LIBRARIES(mysqladmin perconaserverclient) |
82 | |
83 | MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c) |
84 | SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS") |
85 | -TARGET_LINK_LIBRARIES(mysqlslap mysqlclient) |
86 | +TARGET_LINK_LIBRARIES(mysqlslap perconaserverclient) |
87 | |
88 | # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/". |
89 | IF(WIN32) |
90 | |
91 | === modified file 'Percona-Server/libmysql/CMakeLists.txt' |
92 | --- Percona-Server/libmysql/CMakeLists.txt 2013-12-05 08:07:26 +0000 |
93 | +++ Percona-Server/libmysql/CMakeLists.txt 2013-12-23 00:18:44 +0000 |
94 | @@ -163,15 +163,19 @@ |
95 | LIST(APPEND LIBS auth_win_client) |
96 | ENDIF() |
97 | |
98 | -# Merge several convenience libraries into one big mysqlclient |
99 | +# Merge several convenience libraries into one big perconaserverclient |
100 | # and link them together into shared library. |
101 | -MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development) |
102 | +MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development) |
103 | |
104 | # Visual Studio users need debug static library for debug projects |
105 | INSTALL_DEBUG_SYMBOLS(clientlib) |
106 | IF(MSVC) |
107 | +<<<<<<< TREE |
108 | INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug) |
109 | INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug) |
110 | +======= |
111 | + INSTALL_DEBUG_TARGET(perconaserverclient DESTINATION ${INSTALL_LIBDIR}/debug) |
112 | +>>>>>>> MERGE-SOURCE |
113 | ENDIF() |
114 | |
115 | IF(UNIX) |
116 | @@ -186,7 +190,7 @@ |
117 | SET(${OUTNAME} ${LIBNAME}${EXTENSION}${DOT_VERSION}) |
118 | ENDIF() |
119 | ENDMACRO() |
120 | - INSTALL_SYMLINK(${CMAKE_STATIC_LIBRARY_PREFIX}mysqlclient_r.a mysqlclient ${INSTALL_LIBDIR} Development) |
121 | + INSTALL_SYMLINK(${CMAKE_STATIC_LIBRARY_PREFIX}perconaserverclient_r.a perconaserverclient ${INSTALL_LIBDIR} Development) |
122 | ENDIF() |
123 | |
124 | IF(NOT DISABLE_SHARED) |
125 | @@ -200,9 +204,9 @@ |
126 | ELSE() |
127 | SET(OS_SHARED_LIB_VERSION "${SHARED_LIB_MAJOR_VERSION}.0.0") |
128 | ENDIF() |
129 | - # Name of shared library is mysqlclient on Unix |
130 | + # Name of shared library is perconaserverclient on Unix |
131 | SET_TARGET_PROPERTIES(libmysql PROPERTIES |
132 | - OUTPUT_NAME mysqlclient |
133 | + OUTPUT_NAME perconaserverclient |
134 | VERSION "${OS_SHARED_LIB_VERSION}" |
135 | SOVERSION "${SHARED_LIB_MAJOR_VERSION}") |
136 | IF(LINK_FLAG_NO_UNDEFINED) |
137 | @@ -217,13 +221,13 @@ |
138 | ENDIF(INSTALL_LAYOUT STREQUAL "RPM") |
139 | ENDIF() |
140 | # clean direct output needs to be set several targets have the same name |
141 | - #(mysqlclient in this case) |
142 | - SET_TARGET_PROPERTIES(mysqlclient PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
143 | + #(perconaserverclient in this case) |
144 | + SET_TARGET_PROPERTIES(perconaserverclient PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
145 | SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
146 | |
147 | - # Install links to libmysqlclient.so (client_r) |
148 | + # Install links to libperconaserverclient.so (client_r) |
149 | GET_VERSIONED_LIBNAME( |
150 | - "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r" |
151 | + "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r" |
152 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
153 | "" |
154 | linkname) |
155 | @@ -232,7 +236,7 @@ |
156 | LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS) |
157 | FOREACH(ver ${OS_SHARED_LIB_SYMLINKS}) |
158 | GET_VERSIONED_LIBNAME( |
159 | - "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r" |
160 | + "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r" |
161 | "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
162 | "${ver}" |
163 | linkname) |
164 | |
165 | === modified file 'Percona-Server/libmysql/libmysql.map' |
166 | --- Percona-Server/libmysql/libmysql.map 2013-02-04 17:07:22 +0000 |
167 | +++ Percona-Server/libmysql/libmysql.map 2013-12-23 00:18:44 +0000 |
168 | @@ -1,5 +1,5 @@ |
169 | # symbols exported from mysql 5.1 |
170 | -libmysqlclient_16 { |
171 | +libperconaserverclient_16 { |
172 | global: |
173 | _fini; |
174 | _init; |
175 | @@ -121,7 +121,7 @@ |
176 | *; |
177 | }; |
178 | # symbols added in mysql 5.5 |
179 | -libmysqlclient_18 { |
180 | +libperconaserverclient_18 { |
181 | global: |
182 | mysql_client_find_plugin; |
183 | mysql_client_register_plugin; |
184 | @@ -133,7 +133,7 @@ |
185 | # Ideally the following symbols wouldn't be exported, but various applications |
186 | # require them. We limit the namespace damage by prefixing mysql_ |
187 | # (see mysql-dubious-exports.patch), which means the symbols are not present |
188 | -# in libmysqlclient_16. |
189 | +# in libperconaserverclient_16. |
190 | # |
191 | # mysql-connector-odbc requires these |
192 | mysql_default_charset_info; |
193 | |
194 | === modified file 'Percona-Server/libmysql/libmysql.ver.in' |
195 | --- Percona-Server/libmysql/libmysql.ver.in 2006-01-17 14:51:08 +0000 |
196 | +++ Percona-Server/libmysql/libmysql.ver.in 2013-12-23 00:18:44 +0000 |
197 | @@ -1,1 +1,1 @@ |
198 | -libmysqlclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; }; |
199 | +libperconaserverclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; }; |
200 | |
201 | === modified file 'Percona-Server/man/mysql_config.1' |
202 | --- Percona-Server/man/mysql_config.1 2013-12-05 08:07:26 +0000 |
203 | +++ Percona-Server/man/mysql_config.1 2013-12-23 00:18:44 +0000 |
204 | @@ -54,7 +54,7 @@ |
205 | \fB\-\-cflags\fR |
206 | .sp |
207 | Compiler flags to find include files and critical compiler flags and defines used when compiling the |
208 | -libmysqlclient |
209 | +libperconaserverclient |
210 | library\&. 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 |
211 | \fB\-\-include\fR |
212 | for more portable options that contain only include paths\&. |
213 | @@ -198,10 +198,17 @@ |
214 | Options: |
215 | \-\-cflags [\-I/usr/local/mysql/include/mysql \-mcpu=pentiumpro] |
216 | \-\-include [\-I/usr/local/mysql/include/mysql] |
217 | +<<<<<<< TREE |
218 | \-\-libs [\-L/usr/local/mysql/lib/mysql \-lmysqlclient |
219 | \-lpthread \-lm \-lrt \-lssl \-lcrypto \-ldl] |
220 | \-\-libs_r [\-L/usr/local/mysql/lib/mysql \-lmysqlclient_r |
221 | \-lpthread \-lm \-lrt \-lssl \-lcrypto \-ldl] |
222 | +======= |
223 | + \-\-libs [\-L/usr/local/mysql/lib/mysql \-lperconaserverclient \-lz |
224 | + \-lcrypt \-lnsl \-lm \-L/usr/lib \-lssl \-lcrypto] |
225 | + \-\-libs_r [\-L/usr/local/mysql/lib/mysql \-lperconaserverclient_r |
226 | + \-lpthread \-lz \-lcrypt \-lnsl \-lm \-lpthread] |
227 | +>>>>>>> MERGE-SOURCE |
228 | \-\-socket [/tmp/mysql\&.sock] |
229 | \-\-port [3306] |
230 | \-\-version [5\&.5\&.31] |
231 | |
232 | === modified file 'Percona-Server/packaging/rpm-uln/mysql.spec.sh' |
233 | --- Percona-Server/packaging/rpm-uln/mysql.spec.sh 2013-11-05 07:03:43 +0000 |
234 | +++ Percona-Server/packaging/rpm-uln/mysql.spec.sh 2013-12-23 00:18:44 +0000 |
235 | @@ -520,7 +520,7 @@ |
236 | cd release |
237 | mkdir libmysqld/work |
238 | cd libmysqld/work |
239 | -# "libmysqld" provides the same ABI as "libmysqlclient", but it implements the server: |
240 | +# "libmysqld" provides the same ABI as "libperconaserverclient", but it implements the server: |
241 | # The shared object is identified by the full version, |
242 | # for linkage selection the first two levels are sufficient so that upgrades are possible |
243 | # (see "man ld", option "-soname"). |
244 | @@ -644,7 +644,7 @@ |
245 | rm -f ${RPM_BUILD_ROOT}%{_bindir}/make_win_src_distribution |
246 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_bin_dist.1* |
247 | rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/make_win_src_distribution.1* |
248 | -rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libmysqlclient*.la |
249 | +rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/libperconaserverclient*.la |
250 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/*.a |
251 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.la |
252 | rm -f ${RPM_BUILD_ROOT}%{_libdir}/mysql/plugin/*.a |
253 | @@ -737,7 +737,7 @@ |
254 | rpm -qa | grep -i '^mysql-' |
255 | |
256 | You may choose to use 'rpm --nodeps -ev <package-name>' to remove |
257 | - the package which contains the mysqlclient shared library. The |
258 | + the package which contains the perconaserverclient shared library. The |
259 | library will be reinstalled by the MySQL-shared-compat package. |
260 | - Install the new MySQL packages supplied by $myvendor |
261 | - Ensure that the MySQL server is started |
262 | @@ -826,7 +826,7 @@ |
263 | # libs package because it can be used for client settings too. |
264 | %config(noreplace) /etc/my.cnf |
265 | %dir %{_libdir}/mysql |
266 | -%{_libdir}/mysql/libmysqlclient*.so.* |
267 | +%{_libdir}/mysql/libperconaserverclient*.so.* |
268 | /etc/ld.so.conf.d/* |
269 | |
270 | %dir %{_datadir}/mysql |
271 | @@ -959,7 +959,7 @@ |
272 | %defattr(-,root,root) |
273 | /usr/include/mysql |
274 | /usr/share/aclocal/mysql.m4 |
275 | -%{_libdir}/mysql/libmysqlclient*.so |
276 | +%{_libdir}/mysql/libperconaserverclient*.so |
277 | |
278 | %files -n mysql-embedded%{product_suffix} |
279 | %defattr(-,root,root) |
280 | |
281 | === modified file 'Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt' |
282 | --- Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt 2013-08-21 07:39:21 +0000 |
283 | +++ Percona-Server/plugin/percona-pam-for-mysql/CMakeLists.txt 2013-12-23 00:18:44 +0000 |
284 | @@ -31,6 +31,6 @@ |
285 | SET(AUTH_PAM_COMPAT_SOURCES ${AUTH_PAM_COMMON_SOURCES} src/auth_pam_compat.c) |
286 | MYSQL_ADD_PLUGIN(auth_pam ${AUTH_PAM_SOURCES} LINK_LIBRARIES pam MODULE_ONLY) |
287 | MYSQL_ADD_PLUGIN(auth_pam_compat ${AUTH_PAM_COMPAT_SOURCES} LINK_LIBRARIES pam MODULE_ONLY) |
288 | - MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES mysqlclient MODULE_ONLY) |
289 | + MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES perconaserverclient MODULE_ONLY) |
290 | ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R) |
291 | ENDIF(WITH_PAM) |
292 | |
293 | === modified file 'Percona-Server/scripts/CMakeLists.txt' |
294 | --- Percona-Server/scripts/CMakeLists.txt 2013-10-09 11:38:45 +0000 |
295 | +++ Percona-Server/scripts/CMakeLists.txt 2013-12-23 00:18:44 +0000 |
296 | @@ -236,7 +236,7 @@ |
297 | ENDIF() |
298 | |
299 | # Use cmake variables to inspect dependencies for |
300 | -# mysqlclient library (add -l stuff) |
301 | +# perconaserverclient library (add -l stuff) |
302 | SET(CLIENT_LIBS "") |
303 | SET(LIBS "") |
304 | |
305 | @@ -276,7 +276,7 @@ |
306 | ENDIF() |
307 | ENDMACRO() |
308 | |
309 | -EXTRACT_LINK_LIBRARIES(mysqlclient CLIENT_LIBS) |
310 | +EXTRACT_LINK_LIBRARIES(perconaserverclient CLIENT_LIBS) |
311 | EXTRACT_LINK_LIBRARIES(mysqlserver LIBS) |
312 | |
313 | # mysql_config evaluates ${LIBDL}, we want to avoid it |
314 | |
315 | === modified file 'Percona-Server/scripts/mysql_config.pl.in' |
316 | --- Percona-Server/scripts/mysql_config.pl.in 2011-06-30 15:46:53 +0000 |
317 | +++ Percona-Server/scripts/mysql_config.pl.in 2013-12-23 00:18:44 +0000 |
318 | @@ -183,15 +183,15 @@ |
319 | my $linkpath = "$pkglibdir"; |
320 | # user32 is only needed for debug or embedded |
321 | my @winlibs = ("wsock32.lib","advapi32.lib","user32.lib"); |
322 | - @lib_opts = ("$linkpath/mysqlclient.lib",@winlibs); |
323 | + @lib_opts = ("$linkpath/perconaserverclient.lib",@winlibs); |
324 | @lib_r_opts = @lib_opts; |
325 | @lib_e_opts = ("$linkpath/mysqlserver.lib",@winlibs); |
326 | } |
327 | else |
328 | { |
329 | my $linkpath = "-L$pkglibdir"; |
330 | - @lib_opts = ($linkpath,"-lmysqlclient"); |
331 | - @lib_r_opts = ($linkpath,"-lmysqlclient_r"); |
332 | + @lib_opts = ($linkpath,"-lperconaserverclient"); |
333 | + @lib_r_opts = ($linkpath,"-lperconaserverclient_r"); |
334 | @lib_e_opts = ($linkpath,"-lmysqld"); |
335 | } |
336 | |
337 | |
338 | === modified file 'Percona-Server/scripts/mysql_config.sh' |
339 | --- Percona-Server/scripts/mysql_config.sh 2011-06-30 15:46:53 +0000 |
340 | +++ Percona-Server/scripts/mysql_config.sh 2013-12-23 00:18:44 +0000 |
341 | @@ -110,9 +110,9 @@ |
342 | |
343 | # Create options |
344 | # We intentionally add a space to the beginning and end of lib strings, simplifies replace later |
345 | -libs=" $ldflags -L$pkglibdir -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@" |
346 | +libs=" $ldflags -L$pkglibdir -lperconaserverclient @ZLIB_DEPS@ @NON_THREADED_LIBS@" |
347 | libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ " |
348 | -libs_r=" $ldflags -L$pkglibdir -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ " |
349 | +libs_r=" $ldflags -L$pkglibdir -lperconaserverclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ " |
350 | embedded_libs=" $ldflags -L$pkglibdir -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ " |
351 | |
352 | if [ -r "$pkglibdir/libmygcc.a" ]; then |
353 | |
354 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile' |
355 | --- Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2007-05-29 21:39:57 +0000 |
356 | +++ Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2013-12-23 00:18:44 +0000 |
357 | @@ -15,7 +15,7 @@ |
358 | SYS_LIB = |
359 | |
360 | $(TARGET): $(OBJS) |
361 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
362 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
363 | |
364 | $(OBJS): $(SRCS) |
365 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
366 | |
367 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile' |
368 | --- Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2007-05-29 21:39:57 +0000 |
369 | +++ Percona-Server/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2013-12-23 00:18:44 +0000 |
370 | @@ -15,7 +15,7 @@ |
371 | SYS_LIB = |
372 | |
373 | $(TARGET): $(OBJS) |
374 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
375 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
376 | |
377 | $(OBJS): $(SRCS) |
378 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
379 | |
380 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile' |
381 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2006-09-01 13:14:50 +0000 |
382 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2013-12-23 00:18:44 +0000 |
383 | @@ -15,7 +15,7 @@ |
384 | SYS_LIB = |
385 | |
386 | $(TARGET): $(OBJS) |
387 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
388 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
389 | |
390 | $(TARGET).o: $(SRCS) |
391 | $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
392 | |
393 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile' |
394 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2006-09-01 13:14:50 +0000 |
395 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2013-12-23 00:18:44 +0000 |
396 | @@ -14,7 +14,7 @@ |
397 | SYS_LIB = |
398 | |
399 | $(TARGET): $(OBJS) |
400 | - $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
401 | + $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
402 | |
403 | $(TARGET).o: $(SRCS) |
404 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
405 | |
406 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile' |
407 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2006-09-01 13:14:50 +0000 |
408 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2013-12-23 00:18:44 +0000 |
409 | @@ -15,7 +15,7 @@ |
410 | SYS_LIB = |
411 | |
412 | $(TARGET): $(OBJS) |
413 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
414 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
415 | |
416 | $(TARGET).o: $(SRCS) Makefile |
417 | $(CXX) $(CFLAGS) $(DEBUG) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi -I$(TOP_SRCDIR)/include $(SRCS) |
418 | |
419 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile' |
420 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2006-09-01 13:14:50 +0000 |
421 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2013-12-23 00:18:44 +0000 |
422 | @@ -14,7 +14,7 @@ |
423 | SYS_LIB = |
424 | |
425 | $(TARGET): $(OBJS) |
426 | - $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
427 | + $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
428 | |
429 | $(TARGET).o: $(SRCS) |
430 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
431 | |
432 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile' |
433 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2006-09-01 13:14:50 +0000 |
434 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2013-12-23 00:18:44 +0000 |
435 | @@ -15,7 +15,7 @@ |
436 | SYS_LIB = |
437 | |
438 | $(TARGET): $(OBJS) |
439 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
440 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
441 | |
442 | $(TARGET).o: $(SRCS) |
443 | $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/extra -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
444 | |
445 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile' |
446 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2006-09-01 13:14:50 +0000 |
447 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2013-12-23 00:18:44 +0000 |
448 | @@ -15,7 +15,7 @@ |
449 | SYS_LIB = |
450 | |
451 | $(TARGET): $(OBJS) |
452 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
453 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
454 | |
455 | $(TARGET).o: $(SRCS) |
456 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
457 | |
458 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile' |
459 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2007-05-29 21:39:57 +0000 |
460 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2013-12-23 00:18:44 +0000 |
461 | @@ -15,7 +15,7 @@ |
462 | SYS_LIB = |
463 | |
464 | $(TARGET): $(OBJS) |
465 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
466 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
467 | |
468 | $(OBJS): $(SRCS) |
469 | $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
470 | |
471 | === modified file 'Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile' |
472 | --- Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2007-05-29 21:39:57 +0000 |
473 | +++ Percona-Server/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2013-12-23 00:18:44 +0000 |
474 | @@ -15,7 +15,7 @@ |
475 | SYS_LIB = |
476 | |
477 | $(TARGET): $(OBJS) |
478 | - $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
479 | + $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r -lmysys -lmystrings -lz $(SYS_LIB) -o $(TARGET) |
480 | |
481 | $(OBJS): $(SRCS) |
482 | $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
483 | |
484 | === modified file 'Percona-Server/storage/ndb/test/ndbapi/Makefile.am' |
485 | --- Percona-Server/storage/ndb/test/ndbapi/Makefile.am 2013-02-26 05:35:17 +0000 |
486 | +++ Percona-Server/storage/ndb/test/ndbapi/Makefile.am 2013-12-23 00:18:44 +0000 |
487 | @@ -101,7 +101,7 @@ |
488 | testLcp_SOURCES = testLcp.cpp |
489 | testPartitioning_SOURCES = testPartitioning.cpp |
490 | testNDBT_SOURCES = testNDBT.cpp |
491 | -testNDBT_LDADD = $(LDADD) $(top_srcdir)/libmysql_r/libmysqlclient_r.la |
492 | +testNDBT_LDADD = $(LDADD) $(top_srcdir)/libmysql_r/libperconaserverclient_r.la |
493 | testBitfield_SOURCES = testBitfield.cpp |
494 | NdbRepStress_SOURCES = acrt/NdbRepStress.cpp |
495 | DbCreate_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 |
496 | @@ -123,7 +123,7 @@ |
497 | NdbRepStress_INCLUDES = $(INCLUDES) -I$(top_srcdir)/ndb/test/include -I$(top_srcdir)/include |
498 | testBackup_LDADD = $(LDADD) bank/libbank.a |
499 | testSRBank_LDADD = bank/libbank.a $(LDADD) |
500 | -NdbRepStress_LDADD = $(LDADD) $(top_builddir)/libmysql_r/libmysqlclient_r.la |
501 | +NdbRepStress_LDADD = $(LDADD) $(top_builddir)/libmysql_r/libperconaserverclient_r.la |
502 | |
503 | windoze-dsp: flexBench.dsp testBasic.dsp testBlobs.dsp \ |
504 | testScan.dsp |
505 | |
506 | === modified file 'Percona-Server/support-files/MySQL-shared-compat.spec.sh' |
507 | --- Percona-Server/support-files/MySQL-shared-compat.spec.sh 2013-04-18 10:52:59 +0000 |
508 | +++ Percona-Server/support-files/MySQL-shared-compat.spec.sh 2013-12-23 00:18:44 +0000 |
509 | @@ -82,7 +82,7 @@ |
510 | |
511 | %files |
512 | %defattr(-, root, root) |
513 | -%{_libdir}/libmysqlclient* |
514 | +%{_libdir}/libperconaserverclient* |
515 | |
516 | # The spec file changelog only includes changes made to the spec file |
517 | # itself - note that they must be ordered by date (important when |
518 | |
519 | === modified file 'Percona-Server/support-files/mysql.spec.sh' |
520 | --- Percona-Server/support-files/mysql.spec.sh 2013-10-30 03:12:24 +0000 |
521 | +++ Percona-Server/support-files/mysql.spec.sh 2013-12-23 00:18:44 +0000 |
522 | @@ -702,7 +702,7 @@ |
523 | rpm -qa | grep -i '^mysql-' |
524 | |
525 | You may choose to use 'rpm --nodeps -ev <package-name>' to remove |
526 | - the package which contains the mysqlclient shared library. The |
527 | + the package which contains the perconaserverclient shared library. The |
528 | library will be reinstalled by the MySQL-shared-compat package. |
529 | - Install the new MySQL packages supplied by $myvendor |
530 | - Ensure that the MySQL server is started |
531 | @@ -1175,8 +1175,8 @@ |
532 | %dir %attr(755, root, root) %{_libdir}/mysql |
533 | %{_includedir}/mysql/* |
534 | %{_datadir}/aclocal/mysql.m4 |
535 | -%{_libdir}/mysql/libmysqlclient.a |
536 | -%{_libdir}/mysql/libmysqlclient_r.a |
537 | +%{_libdir}/mysql/libperconaserverclient.a |
538 | +%{_libdir}/mysql/libperconaserverclient_r.a |
539 | %{_libdir}/mysql/libmysqlservices.a |
540 | |
541 | # ---------------------------------------------------------------------------- |
542 | |
543 | === modified file 'Percona-Server/tests/CMakeLists.txt' |
544 | --- Percona-Server/tests/CMakeLists.txt 2013-02-26 05:35:17 +0000 |
545 | +++ Percona-Server/tests/CMakeLists.txt 2013-12-23 00:18:44 +0000 |
546 | @@ -18,12 +18,12 @@ |
547 | INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) |
548 | |
549 | ADD_EXECUTABLE(mysql_client_test mysql_client_test.c) |
550 | -TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient) |
551 | +TARGET_LINK_LIBRARIES(mysql_client_test perconaserverclient) |
552 | SET_TARGET_PROPERTIES(mysql_client_test PROPERTIES LINKER_LANGUAGE CXX) |
553 | |
554 | IF(WITH_UNIT_TESTS) |
555 | ADD_EXECUTABLE(bug25714 bug25714.c) |
556 | - TARGET_LINK_LIBRARIES(bug25714 mysqlclient) |
557 | + TARGET_LINK_LIBRARIES(bug25714 perconaserverclient) |
558 | SET_TARGET_PROPERTIES(bug25714 PROPERTIES LINKER_LANGUAGE CXX) |
559 | ENDIF() |
560 | |
561 | |
562 | === modified file 'build/debian/control' |
563 | --- build/debian/control 2013-10-08 21:55:32 +0000 |
564 | +++ build/debian/control 2013-12-23 00:18:44 +0000 |
565 | @@ -8,7 +8,7 @@ |
566 | Homepage: http://www.percona.com/software/percona-server/ |
567 | Vcs-Bzr: lp:percona-server/5.5 |
568 | |
569 | -Package: libmysqlclient18 |
570 | +Package: libperconaserverclient18 |
571 | Section: libs |
572 | Architecture: any |
573 | Replaces: libpercona-server-client18 |
574 | @@ -21,13 +21,28 @@ |
575 | . |
576 | This package includes the client library. |
577 | |
578 | -Package: libmysqlclient18-dev |
579 | +Package: libperconaserverclient18-dev |
580 | Architecture: any |
581 | Section: libdevel |
582 | +<<<<<<< TREE |
583 | Depends: libmysqlclient18 (= ${binary:Version}), zlib1g-dev, ${misc:Depends} |
584 | Conflicts: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev |
585 | Replaces: libmysqlclient14-dev, libmysqlclient12-dev, libmysqlclient10-dev, libmysqlclient15-dev, libmysqlclient16-dev, libpercona-xtradb-client-dev |
586 | Provides: libmysqlclient-dev |
587 | +======= |
588 | +Depends: libperconaserverclient-dev (= ${binary:Version}), ${misc:Depends} |
589 | +Description: Percona Server database development files - empty transitional |
590 | + package. This is an empty package that depends on libperconaserverclient-dev |
591 | + to ease the transition for packages with versioned build-deps on |
592 | + libperconaserverclient18-dev. |
593 | + |
594 | +Package: libperconaserverclient-dev |
595 | +Architecture: any |
596 | +Section: libdevel |
597 | +Depends: libperconaserverclient18 (= ${binary:Version}), zlib1g-dev, ${misc:Depends} |
598 | +Conflicts: libperconaserverclient14-dev, libperconaserverclient12-dev, libperconaserverclient10-dev, libperconaserverclient15-dev, libperconaserverclient16-dev, libmysqlclient-dev |
599 | +Replaces: libperconaserverclient14-dev, libperconaserverclient12-dev, libperconaserverclient10-dev, libperconaserverclient15-dev, libperconaserverclient16-dev, libpercona-xtradb-client-dev |
600 | +>>>>>>> MERGE-SOURCE |
601 | Description: Percona Server database development files |
602 | Percona Server is a fast, stable and true multi-user, multi-threaded SQL |
603 | database server. SQL (Structured Query Language) is the most popular |
604 | @@ -54,7 +69,7 @@ |
605 | |
606 | Package: percona-server-client-5.5 |
607 | Architecture: any |
608 | -Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.5 (>= ${source:Version}), libmysqlclient18 (>= ${source:Version}), ${shlib:Depends}, ${misc:Depends} |
609 | +Depends: debianutils (>=1.6), libdbi-perl, percona-server-common-5.5 (>= ${source:Version}), libperconaserverclient18 (>= ${source:Version}), ${shlib:Depends}, ${misc:Depends} |
610 | Provides: mysql-client, mysql-client-core, mysql-client-5.5, mysql-client-core-5.5, virtual-mysql-client |
611 | Conflicts: 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 |
612 | Replaces: 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 |
613 | |
614 | === modified file 'build/debian/libmysqlclient18-dev.install' |
615 | --- build/debian/libmysqlclient18-dev.install 2013-10-04 15:43:34 +0000 |
616 | +++ build/debian/libmysqlclient18-dev.install 2013-12-23 00:18:44 +0000 |
617 | @@ -1,7 +1,7 @@ |
618 | usr/bin/mysql_config |
619 | usr/include |
620 | -usr/lib/libmysqlclient.a |
621 | -usr/lib/libmysqlclient_r.a |
622 | +usr/lib/libperconaserverclient.a |
623 | +usr/lib/libperconaserverclient_r.a |
624 | usr/lib/libmysqlservices.a |
625 | usr/lib/libhsclient.a |
626 | usr/share/man/man1/mysql_config.1 |
627 | |
628 | === modified file 'build/debian/libmysqlclient18-dev.links' |
629 | --- build/debian/libmysqlclient18-dev.links 2013-10-04 15:43:34 +0000 |
630 | +++ build/debian/libmysqlclient18-dev.links 2013-12-23 00:18:44 +0000 |
631 | @@ -1,2 +1,2 @@ |
632 | -usr/lib/libmysqlclient.so.18 usr/lib/libmysqlclient.so |
633 | -usr/lib/libmysqlclient_r.so.18 usr/lib/libmysqlclient_r.so |
634 | +usr/lib/libperconaserverclient.so.18 usr/lib/libperconaserverclient.so |
635 | +usr/lib/libperconaserverclient_r.so.18 usr/lib/libperconaserverclient_r.so |
636 | |
637 | === modified file 'build/debian/libmysqlclient18.install' |
638 | --- build/debian/libmysqlclient18.install 2013-10-02 18:40:21 +0000 |
639 | +++ build/debian/libmysqlclient18.install 2013-12-23 00:18:44 +0000 |
640 | @@ -1,1 +1,5 @@ |
641 | +<<<<<<< TREE |
642 | usr/lib/libmysqlclient*.so.18.* |
643 | +======= |
644 | +usr/lib/libperconaserverclient*.so.* |
645 | +>>>>>>> MERGE-SOURCE |
646 | |
647 | === modified file 'build/percona-server.spec' |
648 | --- build/percona-server.spec 2013-10-23 08:23:08 +0000 |
649 | +++ build/percona-server.spec 2013-12-23 00:18:44 +0000 |
650 | @@ -648,7 +648,7 @@ |
651 | rpm -qa | grep -i '^mysql-' |
652 | |
653 | You may choose to use 'rpm --nodeps -ev <package-name>' to remove |
654 | - the package which contains the mysqlclient shared library. The |
655 | + the package which contains the perconaserverclient shared library. The |
656 | library will be reinstalled by the MySQL-shared-compat package. |
657 | - Install the new MySQL packages supplied by $myvendor |
658 | - Ensure that the MySQL server is started |
659 | @@ -1168,8 +1168,8 @@ |
660 | %{_includedir}/mysql/* |
661 | %{_includedir}/handlersocket |
662 | %{_datadir}/aclocal/mysql.m4 |
663 | -%{_libdir}/mysql/libmysqlclient.a |
664 | -%{_libdir}/mysql/libmysqlclient_r.a |
665 | +%{_libdir}/mysql/libperconaserverclient.a |
666 | +%{_libdir}/mysql/libperconaserverclient_r.a |
667 | %{_libdir}/mysql/libmysqlservices.a |
668 | %{_libdir}/mysql/libhsclient.a |
669 | %{_libdir}/libhsclient.la |
670 | |
671 | === modified file 'build/percona-shared-compat.spec' |
672 | --- build/percona-shared-compat.spec 2013-10-23 08:23:08 +0000 |
673 | +++ build/percona-shared-compat.spec 2013-12-23 00:18:44 +0000 |
674 | @@ -85,7 +85,7 @@ |
675 | #rpm2cpio %{SOURCE1} | cpio -iv --make-directories |
676 | #rpm2cpio %{SOURCE2} | cpio -iv --make-directories |
677 | #rpm2cpio %{SOURCE3} | cpio -iv --make-directories |
678 | -rpm2cpio %{SOURCE1} | cpio -ivu '*/usr/lib64/libmysqlclient*so.16*' |
679 | +rpm2cpio %{SOURCE1} | cpio -ivu '*/usr/lib64/libperconaserverclient*so.16*' |
680 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} |
681 | |
682 | %clean |
683 | @@ -93,5 +93,5 @@ |
684 | |
685 | %files |
686 | %defattr(-, root, root) |
687 | -%{_libdir}/libmysqlclient* |
688 | +%{_libdir}/libperconaserverclient* |
689 | |
690 | |
691 | === modified file 'build/rpm/mysql-dubious-exports.patch' |
692 | --- build/rpm/mysql-dubious-exports.patch 2013-02-04 17:07:22 +0000 |
693 | +++ build/rpm/mysql-dubious-exports.patch 2013-12-23 00:18:44 +0000 |
694 | @@ -1,6 +1,6 @@ |
695 | Prefix mysql_ to the real names of several symbols that have to be exported |
696 | -from libmysqlclient because mysql-connector-odbc and/or PHP depend on them. |
697 | -This limits the intrusion on application namespace. |
698 | +from libperconaserverclient because mysql-connector-odbc and/or PHP depend on |
699 | +them. This limits the intrusion on application namespace. |
700 | |
701 | Also, remove all traces of make_scrambled_password and |
702 | make_scrambled_password_323, so that references to these functions draw |
703 | |
704 | === modified file 'doc/source/installation.rst' |
705 | --- doc/source/installation.rst 2013-05-27 13:46:13 +0000 |
706 | +++ doc/source/installation.rst 2013-12-23 00:18:44 +0000 |
707 | @@ -131,10 +131,10 @@ |
708 | |
709 | The ``percona-server-dfsg`` package contains.... |
710 | |
711 | -The ``libmysqlclient-dev`` package contains header files needed to |
712 | +The ``libperconaserverclient-dev`` package contains header files needed to |
713 | compile software to use the client library. |
714 | |
715 | -The ``libmysqlclient18`` package contains the client shared |
716 | +The ``libperconaserverclient18`` package contains the client shared |
717 | library. The ``18`` is a reference to the version of the shared |
718 | library. The version is incremented when there is a ABI change that |
719 | requires software using the client library to be recompiled or their |
720 | |
721 | === modified file 'doc/source/management/pam_plugin.rst' |
722 | --- doc/source/management/pam_plugin.rst 2013-07-02 11:56:23 +0000 |
723 | +++ doc/source/management/pam_plugin.rst 2013-12-23 00:18:44 +0000 |
724 | @@ -6,7 +6,7 @@ |
725 | |
726 | Percona 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. |
727 | |
728 | - PAM plugin uses dialog as its client side plugin. Dialog plugin can be loaded to any client application that uses :file:`libmysqlclient` library. |
729 | + PAM plugin uses dialog as its client side plugin. Dialog plugin can be loaded to any client application that uses :file:`libperconaserverclient`/:file:`libperconaserverclient` library. |
730 | |
731 | Here are some of the benefits that Percona dialog plugin offers over the default one: |
732 | |
733 | |
734 | === modified file 'doc/source/upgrading_guide_51_55.rst' |
735 | --- doc/source/upgrading_guide_51_55.rst 2013-12-19 12:22:20 +0000 |
736 | +++ doc/source/upgrading_guide_51_55.rst 2013-12-23 00:18:44 +0000 |
737 | @@ -385,7 +385,7 @@ |
738 | |
739 | * ``percona-server-common-5.5`` |
740 | |
741 | - * ``libmysqlclient16`` |
742 | + * ``libperconaserverclient16`` |
743 | |
744 | At the moment of writing this guide, for *Ubuntu* Maverick on ``i686``, a way of doing this is: :: |
745 |
- Some remaining references to mysqlclient:
libmysql/ merge_archives_ mysqlclient. cmake management/ pam_plugin. rst
- upgrading_guide.rst
- not sure if actually relevant: .bzrignore entry
- plugin/