summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-sql_mysqld.cc
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2020-01-08 16:47:12 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2020-01-08 16:47:12 +0000
commit342c784ae3cb74eeb87d281182060a1a31a1481c (patch)
tree507562d12bec10bc99bb7bd7de1c273e3934a2da /databases/mysql80-server/files/patch-sql_mysqld.cc
parent- update from 1.1.7 to 1.1.8 (diff)
databases/mysql80-{client, server}: Update to latest release 8.0.18
switch patch-files to mysql80-server to make it easy for maintain. Bugfix: - CMake now enables use of fastcov if it is available. fastcov is faster than lcov or gcov. This requires GCC and gcov versions of 9 or higher. - The DISABLE_SHARED CMake option was unused and has been removed. - The CMake code to find Protobuf executables now works on platforms that split these into multiple packages. - The new ADD_GDB_INDEX CMake option determines whether to enable generation of a .gdb_index section in binaries, which makes loading them in a debugger faster. The option is disabled by default. It has no effect if a linker other than lld or GNU gold is used. - For the INSTALL_LAYOUT CMake option, the SLES and WIN option values were not used and have been removed. - The max_prepared_stmt_count system variable maximum value has been increased from 1 million (1,048,576) to 4 million (4,194,304). The default value remains unchanged at 16,382. - MySQL 8.0 no longer supports building using wolfSSL. All MySQL builds now use OpenSSL. - The RE2 library is no longer used by MySQL. The library is no longer bundled with source distributions and the WITH_RE2 CMake option is obsolete. More Infos: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-18.html A big thanks to @fluffy for his help with this update MFH: 2020Q1 Security: fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf Sponsored by: Netzkommune GmbH
Notes
Notes: svn path=/head/; revision=522436
Diffstat (limited to 'databases/mysql80-server/files/patch-sql_mysqld.cc')
-rw-r--r--databases/mysql80-server/files/patch-sql_mysqld.cc15
1 files changed, 3 insertions, 12 deletions
diff --git a/databases/mysql80-server/files/patch-sql_mysqld.cc b/databases/mysql80-server/files/patch-sql_mysqld.cc
index b88e85c57a12..f394905ebf29 100644
--- a/databases/mysql80-server/files/patch-sql_mysqld.cc
+++ b/databases/mysql80-server/files/patch-sql_mysqld.cc
@@ -1,20 +1,11 @@
---- sql/mysqld.cc.orig 2018-10-07 08:44:22 UTC
+--- sql/mysqld.cc.orig 2019-09-20 08:30:51 UTC
+++ sql/mysqld.cc
-@@ -4493,7 +4493,7 @@ static int warn_self_signed_ca() {
+@@ -4797,7 +4797,7 @@ static int init_thread_environment() {
static PSI_memory_key key_memory_openssl = PSI_NOT_INSTRUMENTED;
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define FILE_LINE_ARGS
#else
#define FILE_LINE_ARGS , const char *, int
-@@ -4530,7 +4530,7 @@ static void init_ssl() {
-
- static void init_ssl() {
- #ifdef HAVE_OPENSSL
--#if !defined(HAVE_WOLFSSL) && !defined(__sun)
-+#if !defined(HAVE_WOLFSSL) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(__sun)
- #if defined(HAVE_PSI_MEMORY_INTERFACE)
- static PSI_memory_info all_openssl_memory[] = {
- {&key_memory_openssl, "openssl_malloc", 0, 0,