Merge lp:~percona-core/percona-server/release-5.6.21-69.0 into lp:percona-server/5.6
- release-5.6.21-69.0
- Merge into 5.6
Proposed by
Tomislav Plavcic
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 676 |
Proposed branch: | lp:~percona-core/percona-server/release-5.6.21-69.0 |
Merge into: | lp:percona-server/5.6 |
Diff against target: |
881 lines (+596/-48) 7 files modified
build-ps/debian/control (+2/-0) build-ps/debian/control.tokudb (+2/-0) build-ps/percona-server.spec (+74/-47) build-ps/rpm/my.cnf (+30/-0) build-ps/rpm/mysql-5.6-sharedlib-rename.patch (+486/-0) build-ps/rpm/mysql.conf (+1/-0) storage/innobase/include/univ.i (+1/-1) |
To merge this branch: | bzr merge lp:~percona-core/percona-server/release-5.6.21-69.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+237452@code.launchpad.net |
Commit message
Description of the change
Release branch for PS version 5.6.21-69.0
To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'build-ps/debian/control' |
2 | --- build-ps/debian/control 2014-09-26 04:43:24 +0000 |
3 | +++ build-ps/debian/control 2014-10-07 16:28:28 +0000 |
4 | @@ -158,6 +158,7 @@ |
5 | mysql-server-5.5, |
6 | mysql-server-5.6, |
7 | mysql-server-core-5.1, |
8 | + mysql-server-core-5.5, |
9 | percona-xtradb-server-5.0, |
10 | percona-server-server-5.1, |
11 | percona-server-server-5.5, |
12 | @@ -171,6 +172,7 @@ |
13 | mysql-server-5.5, |
14 | mysql-server-5.6, |
15 | mysql-server-core-5.1, |
16 | + mysql-server-core-5.5, |
17 | percona-xtradb-server-5.0, |
18 | percona-server-server-5.1, |
19 | percona-server-server-5.5, |
20 | |
21 | === modified file 'build-ps/debian/control.tokudb' |
22 | --- build-ps/debian/control.tokudb 2014-05-23 00:24:00 +0000 |
23 | +++ build-ps/debian/control.tokudb 2014-10-07 16:28:28 +0000 |
24 | @@ -172,6 +172,7 @@ |
25 | mysql-server-5.5, |
26 | mysql-server-5.6, |
27 | mysql-server-core-5.1, |
28 | + mysql-server-core-5.5, |
29 | percona-xtradb-server-5.0, |
30 | percona-server-server-5.1, |
31 | percona-server-server-5.5, |
32 | @@ -185,6 +186,7 @@ |
33 | mysql-server-5.5, |
34 | mysql-server-5.6, |
35 | mysql-server-core-5.1, |
36 | + mysql-server-core-5.5, |
37 | percona-xtradb-server-5.0, |
38 | percona-server-server-5.1, |
39 | percona-server-server-5.5, |
40 | |
41 | === modified file 'build-ps/percona-server.spec' |
42 | --- build-ps/percona-server.spec 2014-09-26 13:47:55 +0000 |
43 | +++ build-ps/percona-server.spec 2014-10-07 16:28:28 +0000 |
44 | @@ -61,6 +61,14 @@ |
45 | |
46 | %define release rel%{percona_server_version}%{?dist} |
47 | |
48 | +%if "%rhel" > "6" |
49 | +%define shared_lib_pri_name libmysqlclient |
50 | +%define shared_lib_sec_name libperconaserverclient |
51 | +%else |
52 | +%define shared_lib_pri_name libperconaserverclient |
53 | +%define shared_lib_sec_name libmysqlclient |
54 | +%endif |
55 | + |
56 | # |
57 | # Macros we use which are not available in all supported versions of RPM |
58 | # |
59 | @@ -263,6 +271,7 @@ |
60 | %if 0%{?systemd} |
61 | BuildRequires: systemd |
62 | %endif |
63 | +Patch0: mysql-5.6-sharedlib-rename.patch |
64 | |
65 | # Think about what you use here since the first step is to |
66 | # run a rm -rf |
67 | @@ -396,11 +405,19 @@ |
68 | %package -n Percona-Server-shared%{product_suffix} |
69 | Summary: Percona Server - Shared libraries |
70 | Group: Applications/Databases |
71 | +%if "%rhel" > "6" |
72 | +Provides: mysql-shared mysql-libs |
73 | +Obsoletes: mariadb-libs |
74 | +Conflicts: Percona-Server-shared-55 |
75 | +%else |
76 | %ifarch x86_64 |
77 | Provides: libmysqlclient.so.18()(64bit) |
78 | +Provides: libmysqlclient.so.18(libmysqlclient_18)(64bit) |
79 | %endif |
80 | %ifarch i386 i686 |
81 | Provides: libmysqlclient.so.18()(32bit) |
82 | +Provides: libmysqlclient.so.18(libmysqlclient_18)(32bit) |
83 | +%endif |
84 | %endif |
85 | |
86 | %description -n Percona-Server-shared%{product_suffix} |
87 | @@ -413,6 +430,11 @@ |
88 | %if %{with tokudb} |
89 | %setup -n %{src_dir} -T -D -b 1 |
90 | %endif |
91 | + |
92 | +%if "%rhel" > "6" |
93 | +%patch0 -p1 |
94 | +%endif |
95 | + |
96 | ############################################################################## |
97 | %build |
98 | |
99 | @@ -580,11 +602,16 @@ |
100 | install -m 644 $MBD/release/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql |
101 | %if 0%{?systemd} |
102 | install -D -m 0755 $MBD/build-ps/rpm/mysql-systemd $RBR%{_bindir}/mysql-systemd |
103 | -install -D -m 0644 $MBD/build-ps/rpm/mysql.service $RBR%{_unitdir}/mysql.service |
104 | +install -D -m 0644 $MBD/build-ps/rpm/mysqld.service $RBR%{_unitdir}/mysqld.service |
105 | +install -D -m 0644 $MBD/build-ps/rpm/mysql.conf $RBR%{_tmpfilesdir}/mysql.conf |
106 | %else |
107 | install -m 755 $MBD/release/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql |
108 | %endif |
109 | |
110 | +%if "%rhel" > "6" |
111 | +install -D -m 0644 $MBD/build-ps/rpm/my.cnf $RBR%{_sysconfdir}/my.cnf |
112 | +%endif |
113 | + |
114 | # |
115 | %{__rm} -f $RBR/%{_prefix}/README* |
116 | # |
117 | @@ -598,7 +625,7 @@ |
118 | |
119 | # Touch the place where the my.cnf config file might be located |
120 | # Just to make sure it's in the file list and marked as a config file |
121 | -touch $RBR%{_sysconfdir}/my.cnf |
122 | +# touch $RBR%{_sysconfdir}/my.cnf |
123 | |
124 | # Install SELinux files in datadir |
125 | install -m 600 $MBD/support-files/RHEL4-SElinux/mysql.{fc,te} \ |
126 | @@ -625,15 +652,6 @@ |
127 | |
128 | %pre -n Percona-Server-server%{product_suffix} |
129 | |
130 | -# On rhel7 change default MariaDB options if they exists (only on initial installation) |
131 | -%if "%rhel" > "6" |
132 | -if [ $1 -eq 1 -a -f /etc/my.cnf ]; then |
133 | - sed -i 's/log-error=\/var\/log\/mariadb\/mariadb.log/log-error=\/var\/log\/mysqld.log/g' /etc/my.cnf; |
134 | - sed -i 's/pid-file=\/var\/run\/mariadb\/mariadb.pid/pid-file=\/var\/run\/mysqld\/mysqld.pid/g' /etc/my.cnf; |
135 | - sed -i 's/\!includedir \/etc\/my.cnf.d/\#\!includedir \/etc\/my.cnf.d/g' /etc/my.cnf; |
136 | -fi |
137 | -%endif |
138 | - |
139 | # ATTENTION: Parts of this are duplicated in the "triggerpostun" ! |
140 | |
141 | # There are users who deviate from the default file system layout. |
142 | @@ -789,20 +807,11 @@ |
143 | # Note we *could* make that depend on $SERVER_TO_START, but we rather don't, |
144 | # so a "stop" is attempted even if there is no PID file. |
145 | # (Maybe the "stop" doesn't work then, but we might fix that in itself.) |
146 | -%if 0%{?systemd} |
147 | -SYSD_ACTIVE=$(systemctl is-active mysql) |
148 | -if [ $SYSD_ACTIVE == "active" ] ; then |
149 | - %{_bindir}/systemctl stop mysql >/dev/null 2>&1 |
150 | - echo "Giving mysqld 5 seconds to exit nicely" |
151 | - sleep 5 |
152 | -fi |
153 | -%else |
154 | if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
155 | %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1 |
156 | echo "Giving mysqld 5 seconds to exit nicely" |
157 | sleep 5 |
158 | fi |
159 | -%endif |
160 | |
161 | # SElinux |
162 | %post -n Percona-Server-selinux%{product_suffix} |
163 | @@ -817,6 +826,10 @@ |
164 | |
165 | %post -n Percona-Server-server%{product_suffix} |
166 | |
167 | +%if 0%{?systemd} |
168 | + %systemd_post mysqld |
169 | +%endif |
170 | + |
171 | # ATTENTION: Parts of this are duplicated in the "triggerpostun" ! |
172 | |
173 | # There are users who deviate from the default file system layout. |
174 | @@ -852,7 +865,7 @@ |
175 | # use chkconfig on Enterprise Linux and newer SuSE releases |
176 | %if 0%{?systemd} |
177 | if [ -x %{_bindir}/systemctl ] ; then |
178 | - %{_bindir}/systemctl enable mysql >/dev/null 2>&1 |
179 | + %{_bindir}/systemctl enable mysqld >/dev/null 2>&1 |
180 | fi |
181 | %else |
182 | if [ -x /sbin/chkconfig ] ; then |
183 | @@ -893,6 +906,10 @@ |
184 | --datadir=$mysql_datadir |
185 | fi |
186 | |
187 | +%if 0%{?systemd} |
188 | + %tmpfiles_create mysql.conf |
189 | +%endif |
190 | + |
191 | # ---------------------------------------------------------------------- |
192 | # Upgrade databases if needed would go here - but it cannot be automated yet |
193 | # ---------------------------------------------------------------------- |
194 | @@ -919,21 +936,18 @@ |
195 | sbin/restorecon -R var/lib/mysql |
196 | fi |
197 | |
198 | +# For systemd check postun |
199 | +%if 0%{?systemd} == 0 |
200 | # Was the server running before the upgrade? If so, restart the new one. |
201 | if [ "$SERVER_TO_START" = "true" ] ; then |
202 | -%if 0%{?systemd} |
203 | -if [ -x %{_bindir}/systemctl ] ; then |
204 | - %{_bindir}/systemctl start mysql |
205 | -fi |
206 | -%else |
207 | # Restart in the same way that mysqld will be started normally. |
208 | if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
209 | %{_sysconfdir}/init.d/mysql start |
210 | + echo "Giving mysqld 5 seconds to start" |
211 | + sleep 5 |
212 | fi |
213 | +fi |
214 | %endif |
215 | - echo "Giving mysqld 5 seconds to start" |
216 | - sleep 5 |
217 | -fi |
218 | |
219 | echo "Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit." |
220 | echo "Run the following commands to create these functions:" |
221 | @@ -970,12 +984,9 @@ |
222 | |
223 | if [ $1 = 0 ] ; then |
224 | %if 0%{?systemd} |
225 | - if [ -x %{_bindir}/systemctl ] ; then |
226 | - %{_bindir}/systemctl stop mysql > /dev/null |
227 | - %{_bindir}/systemctl disable mysql > /dev/null |
228 | - fi |
229 | + %systemd_preun mysqld |
230 | %else |
231 | - # Stop MySQL before uninstalling it |
232 | + # Stop MySQL before uninstalling it |
233 | if [ -x %{_sysconfdir}/init.d/mysql ] ; then |
234 | %{_sysconfdir}/init.d/mysql stop > /dev/null |
235 | # Remove autostart of MySQL |
236 | @@ -1032,7 +1043,7 @@ |
237 | |
238 | %if 0%{?systemd} |
239 | if [ -x %{_bindir}/systemctl ] ; then |
240 | - %{_bindir}/systemctl enable mysql >/dev/null 2>&1 |
241 | + %{_bindir}/systemctl enable mysqld >/dev/null 2>&1 |
242 | fi |
243 | %else |
244 | if [ -x /sbin/chkconfig ] ; then |
245 | @@ -1048,7 +1059,7 @@ |
246 | # Restart in the same way that mysqld will be started normally. |
247 | %if 0%{?systemd} |
248 | if [ -x %{_bindir}/systemctl ] ; then |
249 | - %{_bindir}/systemctl start mysql |
250 | + %{_bindir}/systemctl start mysqld |
251 | echo "Giving mysqld 5 seconds to start" |
252 | sleep 5 |
253 | fi |
254 | @@ -1086,9 +1097,13 @@ |
255 | echo "* See http://www.percona.com/doc/percona-server/5.6/tokudb/tokudb_intro.html for more details" |
256 | echo "" |
257 | fi |
258 | -%endif |
259 | # ---------------------------------------------------------------------------- |
260 | +%endif |
261 | |
262 | +%postun -n Percona-Server-server%{product_suffix} |
263 | +%if 0%{?systemd} |
264 | +%systemd_postun_with_restart mysqld |
265 | +%endif |
266 | |
267 | # ---------------------------------------------------------------------- |
268 | # Clean up the BuildRoot after build is done |
269 | @@ -1146,8 +1161,6 @@ |
270 | %doc %attr(644, root, man) %{_mandir}/man1/mysql_plugin.1* |
271 | %doc %attr(644, root, man) %{_mandir}/man8/mysqld.8* |
272 | |
273 | -%ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf |
274 | - |
275 | %attr(755, root, root) %{_bindir}/innochecksum |
276 | %attr(755, root, root) %{_bindir}/my_print_defaults |
277 | %attr(755, root, root) %{_bindir}/myisam_ftdump |
278 | @@ -1241,7 +1254,9 @@ |
279 | |
280 | %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql |
281 | %if 0%{?systemd} |
282 | -%attr(644, root, root) %{_unitdir}/mysql.service |
283 | +%attr(755, root, root) %{_bindir}/mysql-systemd |
284 | +%attr(644, root, root) %{_unitdir}/mysqld.service |
285 | +%attr(644, root, root) %{_tmpfilesdir}/mysql.conf |
286 | %else |
287 | %attr(755, root, root) %{_sysconfdir}/init.d/mysql |
288 | %endif |
289 | @@ -1332,8 +1347,8 @@ |
290 | %dir %attr(755, root, root) %{_libdir}/mysql |
291 | %{_includedir}/mysql/* |
292 | %{_datadir}/aclocal/mysql.m4 |
293 | -%{_libdir}/mysql/libperconaserverclient.a |
294 | -%{_libdir}/mysql/libperconaserverclient_r.a |
295 | +%{_libdir}/mysql/%{shared_lib_pri_name}.a |
296 | +%{_libdir}/mysql/%{shared_lib_pri_name}_r.a |
297 | %{_libdir}/mysql/libmysqlservices.a |
298 | %{_libdir}/*.so |
299 | |
300 | @@ -1350,18 +1365,30 @@ |
301 | %files -n Percona-Server-shared%{product_suffix} |
302 | %defattr(-, root, root, 0755) |
303 | # Shared libraries (omit for architectures that don't support them) |
304 | -%{_libdir}/libperconaserver*.so.* |
305 | +%{_libdir}/%{shared_lib_pri_name}*.so.* |
306 | + |
307 | +%if "%rhel" > "6" |
308 | +%attr(644, root, root) %config(noreplace) %{_sysconfdir}/my.cnf |
309 | +%endif |
310 | |
311 | %post -n Percona-Server-shared%{product_suffix} |
312 | +%if "%rhel" > "6" |
313 | # Added for compatibility |
314 | -for lib in libmysqlclient{.so.18.0.0,.so.18,_r.so.18.0.0,_r.so.18}; do |
315 | +for lib in %{shared_lib_pri_name}{.so.18,_r.so.18}; do |
316 | + if [ ! -f %{_libdir}/$lib ]; then |
317 | + ln -s %{shared_lib_pri_name}.so.18.1.0 %{_libdir}/$lib |
318 | + fi |
319 | +done |
320 | +%endif |
321 | +# For compatibility between different names of library |
322 | +for lib in %{shared_lib_sec_name}{.so.18.0.0,.so.18,_r.so.18.0.0,_r.so.18}; do |
323 | if [ ! -f %{_libdir}/$lib ]; then |
324 | - ln -s libperconaserverclient.so.18 %{_libdir}/$lib; |
325 | + ln -s %{shared_lib_pri_name}.so.18 %{_libdir}/$lib; |
326 | fi |
327 | done |
328 | -for lib in libmysqlclient{.so.18.1.0,_r.so.18.1.0}; do |
329 | +for lib in %{shared_lib_sec_name}{.so.18.1.0,_r.so.18.1.0}; do |
330 | if [ ! -f %{_libdir}/$lib ]; then |
331 | - ln -s libperconaserverclient.so.18.1.0 %{_libdir}/$lib; |
332 | + ln -s %{shared_lib_pri_name}.so.18.1.0 %{_libdir}/$lib; |
333 | fi |
334 | done |
335 | |
336 | |
337 | === added file 'build-ps/rpm/my.cnf' |
338 | --- build-ps/rpm/my.cnf 1970-01-01 00:00:00 +0000 |
339 | +++ build-ps/rpm/my.cnf 2014-10-07 16:28:28 +0000 |
340 | @@ -0,0 +1,30 @@ |
341 | +# Percona Server template configuration |
342 | + |
343 | +[mysqld] |
344 | +# |
345 | +# Remove leading # and set to the amount of RAM for the most important data |
346 | +# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. |
347 | +# innodb_buffer_pool_size = 128M |
348 | +# |
349 | +# Remove leading # to turn on a very important data integrity option: logging |
350 | +# changes to the binary log between backups. |
351 | +# log_bin |
352 | +# |
353 | +# Remove leading # to set options mainly useful for reporting servers. |
354 | +# The server defaults are faster for transactions and fast SELECTs. |
355 | +# Adjust sizes as needed, experiment to find the optimal values. |
356 | +# join_buffer_size = 128M |
357 | +# sort_buffer_size = 2M |
358 | +# read_rnd_buffer_size = 2M |
359 | +datadir=/var/lib/mysql |
360 | +socket=/var/lib/mysql/mysql.sock |
361 | + |
362 | +# Disabling symbolic-links is recommended to prevent assorted security risks |
363 | +symbolic-links=0 |
364 | + |
365 | +# Recommended in standard MySQL setup |
366 | +sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES |
367 | + |
368 | +[mysqld_safe] |
369 | +log-error=/var/log/mysqld.log |
370 | +pid-file=/var/run/mysqld/mysqld.pid |
371 | |
372 | === added file 'build-ps/rpm/mysql-5.6-sharedlib-rename.patch' |
373 | --- build-ps/rpm/mysql-5.6-sharedlib-rename.patch 1970-01-01 00:00:00 +0000 |
374 | +++ build-ps/rpm/mysql-5.6-sharedlib-rename.patch 2014-10-07 16:28:28 +0000 |
375 | @@ -0,0 +1,486 @@ |
376 | +diff -rup old/client/CMakeLists.txt new/client/CMakeLists.txt |
377 | +--- old/client/CMakeLists.txt 2014-09-11 15:57:31.002299863 +0200 |
378 | ++++ new/client/CMakeLists.txt 2014-09-17 00:46:43.968870528 +0200 |
379 | +@@ -32,48 +32,48 @@ COPY_OPENSSL_DLLS(copy_openssl_client) |
380 | + |
381 | + ADD_DEFINITIONS(${SSL_DEFINES}) |
382 | + MYSQL_ADD_EXECUTABLE(mysql completion_hash.cc mysql.cc readline.cc sql_string.cc) |
383 | +-TARGET_LINK_LIBRARIES(mysql perconaserverclient) |
384 | ++TARGET_LINK_LIBRARIES(mysql mysqlclient) |
385 | + IF(UNIX) |
386 | + TARGET_LINK_LIBRARIES(mysql ${EDITLINE_LIBRARY}) |
387 | + ENDIF(UNIX) |
388 | + |
389 | + MYSQL_ADD_EXECUTABLE(mysqltest mysqltest.cc COMPONENT Test) |
390 | + SET_SOURCE_FILES_PROPERTIES(mysqltest.cc PROPERTIES COMPILE_FLAGS "-DTHREADS") |
391 | +-TARGET_LINK_LIBRARIES(mysqltest perconaserverclient regex) |
392 | ++TARGET_LINK_LIBRARIES(mysqltest mysqlclient regex) |
393 | + |
394 | + |
395 | + MYSQL_ADD_EXECUTABLE(mysqlcheck mysqlcheck.c) |
396 | +-TARGET_LINK_LIBRARIES(mysqlcheck perconaserverclient) |
397 | ++TARGET_LINK_LIBRARIES(mysqlcheck mysqlclient) |
398 | + |
399 | + MYSQL_ADD_EXECUTABLE(mysqldump mysqldump.c ../sql-common/my_user.c) |
400 | +-TARGET_LINK_LIBRARIES(mysqldump perconaserverclient) |
401 | ++TARGET_LINK_LIBRARIES(mysqldump mysqlclient) |
402 | + |
403 | + MYSQL_ADD_EXECUTABLE(mysqlimport mysqlimport.c) |
404 | +-TARGET_LINK_LIBRARIES(mysqlimport perconaserverclient) |
405 | ++TARGET_LINK_LIBRARIES(mysqlimport mysqlclient) |
406 | + |
407 | + MYSQL_ADD_EXECUTABLE(mysql_upgrade mysql_upgrade.c) |
408 | +-TARGET_LINK_LIBRARIES(mysql_upgrade perconaserverclient) |
409 | ++TARGET_LINK_LIBRARIES(mysql_upgrade mysqlclient) |
410 | + ADD_DEPENDENCIES(mysql_upgrade GenFixPrivs) |
411 | + |
412 | + MYSQL_ADD_EXECUTABLE(mysqlshow mysqlshow.c) |
413 | +-TARGET_LINK_LIBRARIES(mysqlshow perconaserverclient) |
414 | ++TARGET_LINK_LIBRARIES(mysqlshow mysqlclient) |
415 | + |
416 | + MYSQL_ADD_EXECUTABLE(mysql_plugin mysql_plugin.c) |
417 | +-TARGET_LINK_LIBRARIES(mysql_plugin perconaserverclient) |
418 | ++TARGET_LINK_LIBRARIES(mysql_plugin mysqlclient) |
419 | + |
420 | + MYSQL_ADD_EXECUTABLE(mysqlbinlog mysqlbinlog.cc sql_string.cc |
421 | + ../sql/rpl_filter.cc ../sql/sql_list.cc) |
422 | +-TARGET_LINK_LIBRARIES(mysqlbinlog perconaserverclient) |
423 | ++TARGET_LINK_LIBRARIES(mysqlbinlog mysqlclient) |
424 | + |
425 | + MYSQL_ADD_EXECUTABLE(mysqladmin mysqladmin.cc) |
426 | +-TARGET_LINK_LIBRARIES(mysqladmin perconaserverclient) |
427 | ++TARGET_LINK_LIBRARIES(mysqladmin mysqlclient) |
428 | + |
429 | + MYSQL_ADD_EXECUTABLE(mysqlslap mysqlslap.c) |
430 | + SET_SOURCE_FILES_PROPERTIES(mysqlslap.c PROPERTIES COMPILE_FLAGS "-DTHREADS") |
431 | +-TARGET_LINK_LIBRARIES(mysqlslap perconaserverclient) |
432 | ++TARGET_LINK_LIBRARIES(mysqlslap mysqlclient) |
433 | + |
434 | + MYSQL_ADD_EXECUTABLE(mysql_config_editor mysql_config_editor.cc) |
435 | +-TARGET_LINK_LIBRARIES(mysql_config_editor perconaserverclient) |
436 | ++TARGET_LINK_LIBRARIES(mysql_config_editor mysqlclient) |
437 | + |
438 | + # "WIN32" also covers 64 bit. "echo" is used in some files below "mysql-test/". |
439 | + IF(WIN32) |
440 | +diff -rup old/libmysql/CMakeLists.txt new/libmysql/CMakeLists.txt |
441 | +--- old/libmysql/CMakeLists.txt 2014-09-11 15:57:34.030299912 +0200 |
442 | ++++ new/libmysql/CMakeLists.txt 2014-09-16 23:57:09.240822303 +0200 |
443 | +@@ -179,12 +179,12 @@ IF(WIN32) |
444 | + LIST(APPEND LIBS auth_win_client) |
445 | + ENDIF() |
446 | + |
447 | +-# Merge several convenience libraries into one big perconaserverclient |
448 | +-MERGE_LIBRARIES(perconaserverclient STATIC ${LIBS} COMPONENT Development) |
449 | ++# Merge several convenience libraries into one big mysqlclient |
450 | ++MERGE_LIBRARIES(mysqlclient STATIC ${LIBS} COMPONENT Development) |
451 | + |
452 | + # Visual Studio users need debug static library for debug projects |
453 | + IF(MSVC) |
454 | +- INSTALL_DEBUG_TARGET(perconaserverclient DESTINATION ${INSTALL_LIBDIR}/debug) |
455 | ++ INSTALL_DEBUG_TARGET(mysqlclient DESTINATION ${INSTALL_LIBDIR}/debug) |
456 | + INSTALL_DEBUG_TARGET(clientlib DESTINATION ${INSTALL_LIBDIR}/debug) |
457 | + ENDIF() |
458 | + |
459 | +@@ -209,14 +209,14 @@ IF(UNIX) |
460 | + ENDIF() |
461 | + |
462 | + IF(UNIX) |
463 | +- GET_TARGET_NAME(perconaserverclient lib_name) |
464 | +- INSTALL_SYMLINK(perconaserverclient |
465 | +- ${lib_name} ${CMAKE_STATIC_LIBRARY_PREFIX}perconaserverclient_r.a |
466 | ++ GET_TARGET_NAME(mysqlclient lib_name) |
467 | ++ INSTALL_SYMLINK(mysqlclient |
468 | ++ ${lib_name} ${CMAKE_STATIC_LIBRARY_PREFIX}mysqlclient_r.a |
469 | + ${INSTALL_LIBDIR} Development) |
470 | + ENDIF() |
471 | + |
472 | + IF(NOT DISABLE_SHARED) |
473 | +- # Merge several convenience libraries into one big perconaserverclient |
474 | ++ # Merge several convenience libraries into one big mysqlclient |
475 | + # and link them together into shared library. |
476 | + MERGE_LIBRARIES(libmysql SHARED ${LIBS} |
477 | + EXPORTS ${CLIENT_API_FUNCTIONS} |
478 | +@@ -229,9 +229,9 @@ IF(NOT DISABLE_SHARED) |
479 | + SET(OS_SHARED_LIB_VERSION |
480 | + "${SHARED_LIB_MAJOR_VERSION}.${SHARED_LIB_MINOR_VERSION}.0") |
481 | + ENDIF() |
482 | +- # Name of shared library is perconaserverclient on Unix |
483 | ++ # Name of shared library is mysqlclient on Unix |
484 | + SET_TARGET_PROPERTIES(libmysql PROPERTIES |
485 | +- OUTPUT_NAME perconaserverclient |
486 | ++ OUTPUT_NAME mysqlclient |
487 | + VERSION "${OS_SHARED_LIB_VERSION}" |
488 | + SOVERSION "${SHARED_LIB_MAJOR_VERSION}") |
489 | + CONFIGURE_FILE(libmysql.ver.in ${CMAKE_CURRENT_BINARY_DIR}/libmysql.ver) |
490 | +@@ -248,13 +248,13 @@ IF(NOT DISABLE_SHARED) |
491 | + PROPERTIES LINK_FLAGS "${libmysql_link_flags}") |
492 | + ENDIF() |
493 | + # clean direct output needs to be set several targets have the same name |
494 | +- #(perconaserverclient in this case) |
495 | +- SET_TARGET_PROPERTIES(perconaserverclient PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
496 | ++ #(mysqlclient in this case) |
497 | ++ SET_TARGET_PROPERTIES(mysqlclient PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
498 | + SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1) |
499 | + |
500 | +- # Install links to libperconaserverclient.so (client_r) |
501 | ++ # Install links to libmysqlclient.so (client_r) |
502 | + GET_VERSIONED_LIBNAME( |
503 | +- "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r" |
504 | ++ "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r" |
505 | + "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
506 | + "" |
507 | + linkname) |
508 | +@@ -268,7 +268,7 @@ IF(NOT DISABLE_SHARED) |
509 | + LIST(REMOVE_DUPLICATES OS_SHARED_LIB_SYMLINKS) |
510 | + FOREACH(ver ${OS_SHARED_LIB_SYMLINKS}) |
511 | + GET_VERSIONED_LIBNAME( |
512 | +- "${CMAKE_SHARED_LIBRARY_PREFIX}perconaserverclient_r" |
513 | ++ "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r" |
514 | + "${CMAKE_SHARED_LIBRARY_SUFFIX}" |
515 | + "${ver}" |
516 | + linkname) |
517 | +diff -rup old/libmysql/libmysql.map new/libmysql/libmysql.map |
518 | +--- old/libmysql/libmysql.map 2014-09-11 15:57:34.030299912 +0200 |
519 | ++++ new/libmysql/libmysql.map 2014-09-11 16:04:17.866306459 +0200 |
520 | +@@ -1,5 +1,5 @@ |
521 | + # symbols exported from mysql 5.1 |
522 | +-libperconaserverclient_16 { |
523 | ++libmysqlclient_16 { |
524 | + global: |
525 | + _fini; |
526 | + _init; |
527 | +@@ -124,7 +124,7 @@ libperconaserverclient_16 { |
528 | + *; |
529 | + }; |
530 | + # symbols added in mysql 5.5 |
531 | +-libperconaserverclient_18 { |
532 | ++libmysqlclient_18 { |
533 | + global: |
534 | + mysql_client_find_plugin; |
535 | + mysql_client_register_plugin; |
536 | +@@ -136,7 +136,7 @@ libperconaserverclient_18 { |
537 | + # Ideally the following symbols wouldn't be exported, but various applications |
538 | + # require them. We limit the namespace damage by prefixing mysql_ |
539 | + # (see mysql-dubious-exports.patch), which means the symbols are not present |
540 | +-# in libperconaserverclient_16. |
541 | ++# in libmysqlclient_16. |
542 | + # |
543 | + # mysql-connector-odbc requires these |
544 | + mysql_default_charset_info; |
545 | +@@ -149,7 +149,7 @@ libperconaserverclient_18 { |
546 | + my_net_read; |
547 | + }; |
548 | + # symbols added in mysql 5.6 |
549 | +-libperconaserverclient_18_1 { |
550 | ++libmysqlclient_18_1 { |
551 | + global: |
552 | + get_tty_password; |
553 | + }; |
554 | +diff -rup old/libmysql/libmysql.ver.in new/libmysql/libmysql.ver.in |
555 | +--- old/libmysql/libmysql.ver.in 2014-09-11 15:57:34.030299912 +0200 |
556 | ++++ new/libmysql/libmysql.ver.in 2014-09-11 16:02:40.254304877 +0200 |
557 | +@@ -1 +1 @@ |
558 | +-libperconaserverclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; }; |
559 | ++libmysqlclient_@SHARED_LIB_MAJOR_VERSION@ { global: *; }; |
560 | +diff -rup old/plugin/percona-pam-for-mysql/CMakeLists.txt new/plugin/percona-pam-for-mysql/CMakeLists.txt |
561 | +--- old/plugin/percona-pam-for-mysql/CMakeLists.txt 2014-09-11 15:57:34.094299913 +0200 |
562 | ++++ new/plugin/percona-pam-for-mysql/CMakeLists.txt 2014-09-17 01:06:48.308890052 +0200 |
563 | +@@ -31,6 +31,6 @@ IF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE |
564 | + SET(AUTH_PAM_COMPAT_SOURCES ${AUTH_PAM_COMMON_SOURCES} src/auth_pam_compat.c) |
565 | + MYSQL_ADD_PLUGIN(auth_pam ${AUTH_PAM_SOURCES} LINK_LIBRARIES pam MODULE_ONLY) |
566 | + MYSQL_ADD_PLUGIN(auth_pam_compat ${AUTH_PAM_COMPAT_SOURCES} LINK_LIBRARIES pam MODULE_ONLY) |
567 | +- MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES perconaserverclient MODULE_ONLY) |
568 | ++ MYSQL_ADD_PLUGIN(dialog src/dialog.c LINK_LIBRARIES mysqlclient MODULE_ONLY) |
569 | + ENDIF(HAVE_PAM AND HAVE_GETPWNAM_R AND HAVE_GETGRGID_R) |
570 | + ENDIF(WITH_PAM) |
571 | +diff -rup old/scripts/CMakeLists.txt new/scripts/CMakeLists.txt |
572 | +--- old/scripts/CMakeLists.txt 2014-09-11 15:57:33.210299899 +0200 |
573 | ++++ new/scripts/CMakeLists.txt 2014-09-17 00:48:25.428872172 +0200 |
574 | +@@ -253,7 +253,7 @@ ELSE() |
575 | + ENDIF() |
576 | + |
577 | + # Use cmake variables to inspect dependencies for |
578 | +-# perconaserverclient library (add -l stuff) |
579 | ++# mysqlclient library (add -l stuff) |
580 | + SET(CLIENT_LIBS "") |
581 | + SET(LIBS "") |
582 | + |
583 | +@@ -293,7 +293,7 @@ MACRO(EXTRACT_LINK_LIBRARIES target var) |
584 | + ENDIF() |
585 | + ENDMACRO() |
586 | + |
587 | +-EXTRACT_LINK_LIBRARIES(perconaserverclient CLIENT_LIBS) |
588 | ++EXTRACT_LINK_LIBRARIES(mysqlclient CLIENT_LIBS) |
589 | + EXTRACT_LINK_LIBRARIES(mysqlserver LIBS) |
590 | + |
591 | + # mysql_config evaluates ${LIBDL}, we want to avoid it |
592 | +diff -rup old/scripts/mysql_config.pl.in new/scripts/mysql_config.pl.in |
593 | +--- old/scripts/mysql_config.pl.in 2014-09-11 15:57:33.210299899 +0200 |
594 | ++++ new/scripts/mysql_config.pl.in 2014-09-17 00:50:09.804873864 +0200 |
595 | +@@ -182,15 +182,15 @@ if ( $^O eq "MSWin32" ) |
596 | + my $linkpath = "$pkglibdir"; |
597 | + # user32 is only needed for debug or embedded |
598 | + my @winlibs = ("wsock32.lib","advapi32.lib","user32.lib"); |
599 | +- @lib_opts = ("$linkpath/perconaserverclient.lib",@winlibs); |
600 | ++ @lib_opts = ("$linkpath/mysqlclient.lib",@winlibs); |
601 | + @lib_r_opts = @lib_opts; |
602 | + @lib_e_opts = ("$linkpath/mysqlserver.lib",@winlibs); |
603 | + } |
604 | + else |
605 | + { |
606 | + my $linkpath = "-L$pkglibdir @RPATH_OPTION@"; |
607 | +- @lib_opts = ($linkpath,"-lperconaserverclient"); |
608 | +- @lib_r_opts = ($linkpath,"-lperconaserverclient_r"); |
609 | ++ @lib_opts = ($linkpath,"-lmysqlclient"); |
610 | ++ @lib_r_opts = ($linkpath,"-lmysqlclient_r"); |
611 | + @lib_e_opts = ($linkpath,"-lmysqld"); |
612 | + } |
613 | + |
614 | +diff -rup old/scripts/mysql_config.sh new/scripts/mysql_config.sh |
615 | +--- old/scripts/mysql_config.sh 2014-09-11 15:57:33.218299899 +0200 |
616 | ++++ new/scripts/mysql_config.sh 2014-09-17 00:51:04.160874746 +0200 |
617 | +@@ -111,9 +111,9 @@ fi |
618 | + |
619 | + # Create options |
620 | + # We intentionally add a space to the beginning and end of lib strings, simplifies replace later |
621 | +-libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lperconaserverclient @ZLIB_DEPS@ @NON_THREADED_LIBS@" |
622 | ++libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient @ZLIB_DEPS@ @NON_THREADED_LIBS@" |
623 | + libs="$libs @openssl_libs@ @STATIC_NSS_FLAGS@ " |
624 | +-libs_r=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lperconaserverclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ " |
625 | ++libs_r=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqlclient_r @ZLIB_DEPS@ @CLIENT_LIBS@ @openssl_libs@ " |
626 | + embedded_libs=" $ldflags -L$pkglibdir @RPATH_OPTION@ -lmysqld @LIBDL@ @ZLIB_DEPS@ @LIBS@ @WRAPLIBS@ @openssl_libs@ " |
627 | + embedded_libs="$embedded_libs @QUOTED_CMAKE_CXX_LINK_FLAGS@" |
628 | + |
629 | +diff -rup old/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile new/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile |
630 | +--- old/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2014-09-11 15:57:33.850299909 +0200 |
631 | ++++ new/storage/ndb/ndbapi-examples/mgmapi_logevent/Makefile 2014-09-17 00:56:44.060880256 +0200 |
632 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
633 | + SYS_LIB = |
634 | + |
635 | + $(TARGET): $(OBJS) |
636 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
637 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
638 | + |
639 | + $(OBJS): $(SRCS) |
640 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
641 | +diff -rup old/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile new/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile |
642 | +--- old/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2014-09-11 15:57:33.854299909 +0200 |
643 | ++++ new/storage/ndb/ndbapi-examples/mgmapi_logevent2/Makefile 2014-09-17 00:58:30.524881982 +0200 |
644 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
645 | + SYS_LIB = |
646 | + |
647 | + $(TARGET): $(OBJS) |
648 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
649 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
650 | + |
651 | + $(OBJS): $(SRCS) |
652 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/mgmapi -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
653 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_async/Makefile new/storage/ndb/ndbapi-examples/ndbapi_async/Makefile |
654 | +--- old/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2014-09-11 15:57:33.854299909 +0200 |
655 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_async/Makefile 2014-09-17 01:00:02.560883474 +0200 |
656 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
657 | + SYS_LIB = |
658 | + |
659 | + $(TARGET): $(OBJS) |
660 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
661 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
662 | + |
663 | + $(TARGET).o: $(SRCS) |
664 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
665 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile new/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile |
666 | +--- old/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2014-09-11 15:57:33.854299909 +0200 |
667 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_async1/Makefile 2014-09-17 01:00:57.516884365 +0200 |
668 | +@@ -28,7 +28,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
669 | + SYS_LIB = |
670 | + |
671 | + $(TARGET): $(OBJS) |
672 | +- $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
673 | ++ $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
674 | + |
675 | + $(TARGET).o: $(SRCS) |
676 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
677 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile new/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile |
678 | +--- old/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile 2014-09-11 15:57:33.854299909 +0200 |
679 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_blob/Makefile 2014-09-17 01:01:33.404884947 +0200 |
680 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
681 | + SYS_LIB = |
682 | + |
683 | + $(TARGET): $(OBJS) |
684 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
685 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
686 | + |
687 | + $(TARGET).o: $(SRCS) |
688 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
689 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile new/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile |
690 | +--- old/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile 2014-09-11 15:57:33.854299909 +0200 |
691 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_blob_ndbrecord/Makefile 2014-09-17 01:01:50.888885230 +0200 |
692 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
693 | + SYS_LIB = |
694 | + |
695 | + $(TARGET): $(OBJS) |
696 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
697 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
698 | + |
699 | + $(OBJS): $(SRCS) |
700 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
701 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_event/Makefile new/storage/ndb/ndbapi-examples/ndbapi_event/Makefile |
702 | +--- old/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2014-09-11 15:57:33.854299909 +0200 |
703 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_event/Makefile 2014-09-17 00:58:49.500882290 +0200 |
704 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
705 | + SYS_LIB = |
706 | + |
707 | + $(TARGET): $(OBJS) |
708 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
709 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
710 | + |
711 | + $(TARGET).o: $(SRCS) Makefile |
712 | + $(CXX) $(CFLAGS) $(DEBUG) -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi -I$(TOP_SRCDIR)/include $(SRCS) |
713 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile new/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile |
714 | +--- old/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile 2014-09-11 15:57:33.850299909 +0200 |
715 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_recattr_vs_record/Makefile 2014-09-17 00:57:27.564880961 +0200 |
716 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
717 | + SYS_LIB = |
718 | + |
719 | + $(TARGET): $(OBJS) |
720 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
721 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
722 | + |
723 | + $(OBJS): $(SRCS) |
724 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
725 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile new/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile |
726 | +--- old/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2014-09-11 15:57:33.850299909 +0200 |
727 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_retries/Makefile 2014-09-17 00:57:55.916881421 +0200 |
728 | +@@ -28,7 +28,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
729 | + SYS_LIB = |
730 | + |
731 | + $(TARGET): $(OBJS) |
732 | +- $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
733 | ++ $(CXX) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
734 | + |
735 | + $(TARGET).o: $(SRCS) |
736 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
737 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile new/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile |
738 | +--- old/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2014-09-11 15:57:33.850299909 +0200 |
739 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_scan/Makefile 2014-09-17 00:56:07.200879658 +0200 |
740 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
741 | + SYS_LIB = |
742 | + |
743 | + $(TARGET): $(OBJS) |
744 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
745 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
746 | + |
747 | + $(TARGET).o: $(SRCS) |
748 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
749 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile |
750 | +--- old/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2014-09-11 15:57:33.850299909 +0200 |
751 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_simple/Makefile 2014-09-17 00:56:24.332879936 +0200 |
752 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
753 | + SYS_LIB = |
754 | + |
755 | + $(TARGET): $(OBJS) |
756 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
757 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
758 | + |
759 | + $(TARGET).o: $(SRCS) |
760 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
761 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile |
762 | +--- old/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2014-09-11 15:57:33.850299909 +0200 |
763 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_simple_dual/Makefile 2014-09-17 00:57:08.236880648 +0200 |
764 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
765 | + SYS_LIB = |
766 | + |
767 | + $(TARGET): $(OBJS) |
768 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
769 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
770 | + |
771 | + $(OBJS): $(SRCS) |
772 | + $(CXX) $(CFLAGS) -I$(TOP_SRCDIR)/include -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/ndbapi $(SRCS) |
773 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile new/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile |
774 | +--- old/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2014-09-11 15:57:33.854299909 +0200 |
775 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_simple_index/Makefile 2014-09-17 00:59:43.080883158 +0200 |
776 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
777 | + SYS_LIB = |
778 | + |
779 | + $(TARGET): $(OBJS) |
780 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
781 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
782 | + |
783 | + $(OBJS): $(SRCS) |
784 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
785 | +diff -rup old/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile new/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile |
786 | +--- old/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile 2014-09-11 15:57:33.854299909 +0200 |
787 | ++++ new/storage/ndb/ndbapi-examples/ndbapi_s_i_ndbrecord/Makefile 2014-09-17 01:01:15.132884650 +0200 |
788 | +@@ -29,7 +29,7 @@ LIB_DIR = -L$(TOP_SRCDIR)/storage/ndb/sr |
789 | + SYS_LIB = |
790 | + |
791 | + $(TARGET): $(OBJS) |
792 | +- $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lperconaserverclient_r $(SYS_LIB) -o $(TARGET) |
793 | ++ $(CXX) $(CXXFLAGS) $(LFLAGS) $(LIB_DIR) $(OBJS) -lndbclient -lmysqlclient_r $(SYS_LIB) -o $(TARGET) |
794 | + |
795 | + $(OBJS): $(SRCS) |
796 | + $(CXX) $(CFLAGS) -I$(INCLUDE_DIR)/include -I$(INCLUDE_DIR)/storage/ndb/include -I$(INCLUDE_DIR)/storage/ndb/include/ndbapi $(SRCS) |
797 | +diff -rup old/storage/ndb/test/run-test/CMakeLists.txt new/storage/ndb/test/run-test/CMakeLists.txt |
798 | +--- old/storage/ndb/test/run-test/CMakeLists.txt 2014-09-11 15:57:33.390299902 +0200 |
799 | ++++ new/storage/ndb/test/run-test/CMakeLists.txt 2014-09-17 00:53:34.700877186 +0200 |
800 | +@@ -32,7 +32,7 @@ IF(NOT WIN32) |
801 | + ADD_DEFINITIONS(-DDEFAULT_PREFIX=\"${CMAKE_INSTALL_PREFIX}\") |
802 | + ENDIF() |
803 | + ADD_EXECUTABLE(atrt main.cpp setup.cpp files.cpp db.cpp command.cpp) |
804 | +-TARGET_LINK_LIBRARIES(atrt ndbNDBT ndbclient dbug mysys strings perconaserverclient) |
805 | ++TARGET_LINK_LIBRARIES(atrt ndbNDBT ndbclient dbug mysys strings mysqlclient) |
806 | + |
807 | + INSTALL(TARGETS atrt DESTINATION mysql-test/ndb) |
808 | + INSTALL(FILES atrt-testBackup atrt-mysql-test-run DESTINATION bin) |
809 | +diff -rup old/support-files/MySQL-shared-compat.spec.sh new/support-files/MySQL-shared-compat.spec.sh |
810 | +--- old/support-files/MySQL-shared-compat.spec.sh 2014-09-11 15:57:34.062299913 +0200 |
811 | ++++ new/support-files/MySQL-shared-compat.spec.sh 2014-09-17 01:05:59.832889266 +0200 |
812 | +@@ -82,7 +82,7 @@ rpm2cpio %{SOURCE3} | cpio -iv --make-di |
813 | + |
814 | + %files |
815 | + %defattr(-, root, root) |
816 | +-%{_libdir}/libperconaserverclient* |
817 | ++%{_libdir}/libmysqlclient* |
818 | + |
819 | + # The spec file changelog only includes changes made to the spec file |
820 | + # itself - note that they must be ordered by date (important when |
821 | +diff -rup old/support-files/mysql.spec.sh new/support-files/mysql.spec.sh |
822 | +--- old/support-files/mysql.spec.sh 2014-09-11 15:57:34.062299913 +0200 |
823 | ++++ new/support-files/mysql.spec.sh 2014-09-17 01:04:32.416887849 +0200 |
824 | +@@ -690,7 +690,7 @@ A manual upgrade is required. |
825 | + rpm -qa | grep -i '^mysql-' |
826 | + |
827 | + You may choose to use 'rpm --nodeps -ev <package-name>' to remove |
828 | +- the package which contains the perconaserverclient shared library. The |
829 | ++ the package which contains the mysqlclient shared library. The |
830 | + library will be reinstalled by the MySQL-shared-compat package. |
831 | + - Install the new MySQL packages supplied by $myvendor |
832 | + - Ensure that the MySQL server is started |
833 | +@@ -1173,8 +1173,8 @@ echo "=====" |
834 | + %dir %attr(755, root, root) %{_libdir}/mysql |
835 | + %{_includedir}/mysql/* |
836 | + %{_datadir}/aclocal/mysql.m4 |
837 | +-%{_libdir}/mysql/libperconaserverclient.a |
838 | +-%{_libdir}/mysql/libperconaserverclient_r.a |
839 | ++%{_libdir}/mysql/libmysqlclient.a |
840 | ++%{_libdir}/mysql/libmysqlclient_r.a |
841 | + %{_libdir}/mysql/libmysqlservices.a |
842 | + |
843 | + # ---------------------------------------------------------------------------- |
844 | +diff -rup old/tests/CMakeLists.txt new/tests/CMakeLists.txt |
845 | +--- old/tests/CMakeLists.txt 2014-09-11 15:57:34.050299913 +0200 |
846 | ++++ new/tests/CMakeLists.txt 2014-09-17 01:02:46.088886125 +0200 |
847 | +@@ -18,12 +18,12 @@ ADD_DEFINITIONS("-DMYSQL_CLIENT") |
848 | + INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) |
849 | + |
850 | + ADD_EXECUTABLE(mysql_client_test mysql_client_test.c) |
851 | +-TARGET_LINK_LIBRARIES(mysql_client_test perconaserverclient) |
852 | ++TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient) |
853 | + SET_TARGET_PROPERTIES(mysql_client_test PROPERTIES LINKER_LANGUAGE CXX) |
854 | + |
855 | + IF(WITH_UNIT_TESTS) |
856 | + ADD_EXECUTABLE(bug25714 bug25714.c) |
857 | +- TARGET_LINK_LIBRARIES(bug25714 perconaserverclient) |
858 | ++ TARGET_LINK_LIBRARIES(bug25714 mysqlclient) |
859 | + SET_TARGET_PROPERTIES(bug25714 PROPERTIES LINKER_LANGUAGE CXX) |
860 | + ENDIF() |
861 | + |
862 | |
863 | === added file 'build-ps/rpm/mysql.conf' |
864 | --- build-ps/rpm/mysql.conf 1970-01-01 00:00:00 +0000 |
865 | +++ build-ps/rpm/mysql.conf 2014-10-07 16:28:28 +0000 |
866 | @@ -0,0 +1,1 @@ |
867 | +d /var/run/mysqld 0755 mysql mysql - |
868 | |
869 | === renamed file 'build-ps/rpm/mysql.service' => 'build-ps/rpm/mysqld.service' |
870 | === modified file 'storage/innobase/include/univ.i' |
871 | --- storage/innobase/include/univ.i 2014-09-26 04:43:24 +0000 |
872 | +++ storage/innobase/include/univ.i 2014-10-07 16:28:28 +0000 |
873 | @@ -47,7 +47,7 @@ |
874 | #define INNODB_VERSION_BUGFIX MYSQL_VERSION_PATCH |
875 | |
876 | #ifndef PERCONA_INNODB_VERSION |
877 | -#define PERCONA_INNODB_VERSION 68.0 |
878 | +#define PERCONA_INNODB_VERSION 69.0 |
879 | #endif |
880 | |
881 | /* Enable UNIV_LOG_ARCHIVE in XtraDB */ |