summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-support-files_CMakeLists.txt
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2020-01-15 20:06:49 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2020-01-15 20:06:49 +0000
commit152db2a96e48c0ee20ca21acf6eeda20e73740bd (patch)
treefadda03f47ad5aad94d44bd1259e9f0654a8a7fe /databases/mysql80-server/files/patch-support-files_CMakeLists.txt
parentmultimedia/libva: switch to upstream patches (diff)
databases/mysql80-{client, server}: Update to latest release 8.0.19
- New FPROFILE_GENERATE and FPROFILE_USE CMake options are available for experimenting with profile guided optimization (PGO) with GCC. See the cmake/fprofile.cmake in a MySQL source distribution for information about using them. These options have been tested with GCC 8 and 9, and with Clang. - Enabling FPROFILE_USE also enables WITH_LTO (link time optimization). - Innodb_system_rows_read, Innodb_system_rows_inserted, Innodb_system_rows_deleted status variables were added for counting row operations on InnoDB tables that belong to system-created schemas. The new status variables are similar to the existing Innodb_rows_read, Innodb_rows_inserted, Innodb_rows_deleted status variables, which count operations on InnoDB tables that belong to both user-created and system-created schemas. - The new status variables are useful in replication environments where relay_log_info_repository and master_info_repository variables are set to TABLE, resulting in higher row operation counts on slaves due to operations performed on the slave_master_info, slave_replay_log_info, and slave_worker_info tables, which belong to the system-created mysql schema. For a valid comparison of master and slave row operation counts, operations on tables in system-created schemas can now be excluded using the count data provided by the new status variables. More infos: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-19.html Submitted by: fluffy Approved by: mmokhi (maintainer, implicit) Sponsored by: Netzkommune GmbH
Diffstat (limited to 'databases/mysql80-server/files/patch-support-files_CMakeLists.txt')
-rw-r--r--databases/mysql80-server/files/patch-support-files_CMakeLists.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/databases/mysql80-server/files/patch-support-files_CMakeLists.txt b/databases/mysql80-server/files/patch-support-files_CMakeLists.txt
index a263268e2244..0aaac11466e4 100644
--- a/databases/mysql80-server/files/patch-support-files_CMakeLists.txt
+++ b/databases/mysql80-server/files/patch-support-files_CMakeLists.txt
@@ -12,16 +12,16 @@
SET(localstatedir "${MYSQL_DATADIR}")
-@@ -39,6 +40,7 @@ ELSE()
- SET (PIDOF "pgrep -d' ' -f")
- ENDIF()
+@@ -45,6 +46,7 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql.serve
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql-log-rotate.in
+ ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate @ONLY)
+IF(NOT WITHOUT_SERVER)
- FOREACH(script
- mysql.server
- mysqld_multi.server
-@@ -54,3 +56,4 @@ FOREACH(script
- GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
- )
- ENDFOREACH()
+ INSTALL_SCRIPT(${CMAKE_CURRENT_BINARY_DIR}/mysql.server
+ COMPONENT Server_Scripts
+ DESTINATION ${INSTALL_SUPPORTFILESDIR}
+@@ -62,3 +64,4 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-ro
+ OWNER_READ OWNER_WRITE
+ GROUP_READ WORLD_READ
+ )
+ENDIF()