Skip to content

Commit

Permalink
Merge pull request #5443 from adivinho/release-8.4.2-2
Browse files Browse the repository at this point in the history
RM-1421 PS-8.4.2-2
  • Loading branch information
adivinho authored Sep 29, 2024
2 parents faf2ce8 + 2efe808 commit 94497d6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 56 deletions.
4 changes: 4 additions & 0 deletions build-ps/debian/percona-mysql-router.install
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ usr/lib/mysqlrouter/private/libmysqlrouter_mysqlxmessages.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_routing.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_routing_connections.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_destination_status.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_cluster.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_http_server.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_mysql.so.1
usr/lib/mysqlrouter/private/libmysqlrouter_utils.so.1

usr/share/mysqlrouter/docs/sample_mysqlrouter.conf
usr/share/mysqlrouter/mysqlrouter-systemd-start
Expand Down
4 changes: 4 additions & 0 deletions build-ps/percona-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,10 @@ fi
%{_libdir}/mysqlrouter/private/libmysqlrouter_routing.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_routing_connections.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_destination_status.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_cluster.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_http_server.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_mysql.so.*
%{_libdir}/mysqlrouter/private/libmysqlrouter_utils.so.*
%dir %{_libdir}/mysqlrouter
%dir %{_libdir}/mysqlrouter/private
%{_libdir}/mysqlrouter/*.so
Expand Down
63 changes: 7 additions & 56 deletions build-ps/rpm/mysql-5.7-sharedlib-rename.patch
Original file line number Diff line number Diff line change
Expand Up @@ -208,35 +208,15 @@
ext::libprotobuf
--- router/src/router/src/CMakeLists.txt
+++ router/src/router/src/CMakeLists.txt
@@ -62,7 +62,7 @@
harness-library
@@ -53,7 +53,7 @@
PUBLIC
harness_stdx
harness_tls
harness-library # log_debug
- perconaserverclient
+ mysqlclient
OpenSSL::SSL OpenSSL::Crypto
io_component
extra::rapidjson
--- router/tests/fuzzers/CMakeLists.txt
+++ router/tests/fuzzers/CMakeLists.txt
@@ -34,7 +34,7 @@

LINK_LIBRARIES
harness-library
- perconaserverclient
+ mysqlclient
OpenSSL::SSL OpenSSL::Crypto

RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
@@ -62,7 +62,7 @@

LINK_LIBRARIES
harness-library
- perconaserverclient
+ mysqlclient
OpenSSL::SSL OpenSSL::Crypto
)

RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
ROUTER_ADD_SHARED_LIBRARY(router_cluster
--- scripts/CMakeLists.txt
+++ scripts/CMakeLists.txt
@@ -302,7 +302,7 @@ ELSE()
Expand Down Expand Up @@ -291,15 +271,15 @@
ENDIF()
--- testclients/CMakeLists.txt
+++ testclients/CMakeLists.txt
@@ -23,9 +23,9 @@
@@ -24,9 +24,9 @@
ADD_WSHADOW_WARNING()

MYSQL_ADD_EXECUTABLE(mysql_client_test mysql_client_test.cc COMPONENT Test)
-TARGET_LINK_LIBRARIES(mysql_client_test perconaserverclient extra::rapidjson)
+TARGET_LINK_LIBRARIES(mysql_client_test mysqlclient extra::rapidjson)

IF(WITH_UNIT_TESTS)
MYSQL_ADD_EXECUTABLE(bug25714 bug25714.cc SKIP_INSTALL)
MYSQL_ADD_EXECUTABLE(bug25714 bug25714.cc SKIP_INSTALL EXCLUDE_FROM_PGO)
- TARGET_LINK_LIBRARIES(bug25714 perconaserverclient)
+ TARGET_LINK_LIBRARIES(bug25714 mysqlclient)
ENDIF()
Expand Down Expand Up @@ -369,35 +349,6 @@
gunit_small)

IF (WITH_CS_PROTOBUF)
--- router/src/router/tests/CMakeLists.txt 2023-10-21 17:32:54.840887994 +0300
+++ router/src/router/tests/CMakeLists.txt 2023-10-21 17:33:39.216867406 +0300
@@ -128,7 +128,7 @@
ADD_HARNESS_TEST_FILE(test_mysql_session.cc
MODULE ${TEST_MODULE}
LIB_DEPENDS
- test-helpers perconaserverclient
+ test-helpers mysqlclient
EXTRA_SOURCES
../src/common/mysql_session.cc
../src/common/log_filter.cc
@@ -147,7 +147,7 @@
ADD_HARNESS_TEST_FILE(${test_file}
MODULE ${TEST_MODULE}
LIB_DEPENDS
- test-helpers perconaserverclient router_lib
+ test-helpers mysqlclient router_lib
INCLUDE_DIRS
$<TARGET_PROPERTY:router_lib,INCLUDE_DIRECTORIES>
../src/
@@ -158,7 +158,7 @@
ADD_HARNESS_TEST_FILE(test_windows_service.cc
MODULE ${TEST_MODULE}
LIB_DEPENDS
- test-helpers perconaserverclient
+ test-helpers mysqlclient
EXTRA_SOURCES
../src/windows/main-windows.cc
../src/windows/nt_servc.cc
--- libchangestreams/src/tests/CMakeLists.txt 2023-10-21 17:41:00.756660313 +0300
+++ libchangestreams/src/tests/CMakeLists.txt 2023-10-21 17:41:14.344653893 +0300
@@ -38,7 +38,7 @@
Expand Down

0 comments on commit 94497d6

Please sign in to comment.