- 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
28 lines
913 B
Plaintext
28 lines
913 B
Plaintext
--- support-files/CMakeLists.txt.orig 2019-09-20 08:30:51 UTC
|
|
+++ support-files/CMakeLists.txt
|
|
@@ -24,8 +24,9 @@ IF(NOT UNIX)
|
|
RETURN()
|
|
ENDIF()
|
|
|
|
-INSTALL(FILES mysql.m4
|
|
- DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
|
+IF(NOT WITHOUT_CLIENTLIBS)
|
|
+ INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development)
|
|
+ENDIF(NOT WITHOUT_CLIENTLIBS)
|
|
|
|
SET(localstatedir "${MYSQL_DATADIR}")
|
|
|
|
@@ -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)
|
|
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()
|