Skip to content

Commit 815afe0

Browse files
committed
Merge tag 'Percona-Server-8.0.41-32' into 8.0
Percona Server release 8.0.41-32
2 parents 2df90d5 + b8e378e commit 815afe0

File tree

1,158 files changed

+89705
-155107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,158 files changed

+89705
-155107
lines changed

CMakeLists.txt

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,26 +55,18 @@ IF(WIN32)
5555
ENDIF()
5656
ENDIF()
5757
ELSEIF(APPLE)
58-
# Version 3.12.4 is needed because the new build system of Xcode is not
59-
# supported by cmake. 3.12.4 will force using the legacy build system.
60-
# Version 3.9.2 is needed because INCLUDE_DIRECTORIES(SYSTEM ...) wasn't
61-
# handled properly by the cmake Xcode generator.
62-
# NOTE:
63-
# cmake >= 3.19 will use the new build system by default for Xcode >= 12.x
6458
IF(CMAKE_GENERATOR STREQUAL "Xcode")
6559
SET(APPLE_XCODE 1)
66-
CMAKE_MINIMUM_REQUIRED(VERSION 3.12.4)
67-
ELSE()
68-
CMAKE_MINIMUM_REQUIRED(VERSION 3.9.2)
6960
ENDIF()
70-
# If this is macOS 11, we need cmake 3.18
61+
# For macOS version >= 11 we need cmake 3.18
7162
# System libraries like
7263
# /usr/lib/libresolv.dylib
7364
# are no longer present in the file system.
7465
# cmake >= 3.18 will look for .tbd files in the SDK instead
7566
# So we end up linking with:
7667
# /Applications/Xcode.app/.../usr/lib/libresolv.tbd
77-
# We must postpone the version test until we have called 'uname -r' below.
68+
# cmake >= 3.19 will use the new build system by default for Xcode >= 12.x
69+
CMAKE_MINIMUM_REQUIRED(VERSION 3.19)
7870
ELSEIF(UNIX)
7971
# This is currently minimum version on all supported platforms.
8072
IF(CMAKE_VERSION VERSION_LESS 3.11.2)
@@ -515,20 +507,20 @@ IF(CMAKE_HOST_UNIX AND NOT FORCE_UNSUPPORTED_COMPILER
515507
ENDIF()
516508
ENDIF()
517509
ELSEIF(SOLARIS)
518-
MESSAGE(STATUS "Looking for GCC 10 on Solaris.")
510+
MESSAGE(STATUS "Looking for GCC 11 on Solaris.")
519511
FIND_PROGRAM(ALTERNATIVE_GCC gcc
520512
NO_DEFAULT_PATH
521-
PATHS "/usr/gcc/10/bin")
513+
PATHS "/usr/gcc/11/bin")
522514
FIND_PROGRAM(ALTERNATIVE_GPP g++
523515
NO_DEFAULT_PATH
524-
PATHS "/usr/gcc/10/bin")
516+
PATHS "/usr/gcc/11/bin")
525517
IF (ALTERNATIVE_GCC AND ALTERNATIVE_GPP)
526518
SET(CMAKE_C_COMPILER ${ALTERNATIVE_GCC})
527519
SET(CMAKE_CXX_COMPILER ${ALTERNATIVE_GPP})
528520
MESSAGE(STATUS "Using ${ALTERNATIVE_GCC}")
529521
MESSAGE(STATUS "Using ${ALTERNATIVE_GPP}")
530522
ELSE()
531-
MESSAGE(WARNING "Could not find /usr/gcc/10/bin/gcc")
523+
MESSAGE(WARNING "Could not find /usr/gcc/11/bin/gcc")
532524
ENDIF()
533525
ENDIF()
534526
ENDIF()
@@ -875,6 +867,7 @@ INCLUDE(zlib)
875867
INCLUDE(zstd)
876868
INCLUDE(lz4)
877869
INCLUDE(icu)
870+
INCLUDE(libbacktrace)
878871
INCLUDE(libevent)
879872
INCLUDE(ssl)
880873
INCLUDE(sasl)
@@ -1831,6 +1824,9 @@ IF(WITH_SYSTEM_LIBS)
18311824
UNSET(WITH_SYSTEM_LIBS CACHE)
18321825
ENDIF()
18331826

1827+
# See whether backtrace is supported.
1828+
MYSQL_CHECK_BACKTRACE()
1829+
18341830
# Add bundled or system zlib.
18351831
MYSQL_CHECK_ZLIB()
18361832

@@ -2278,6 +2274,7 @@ ADD_DEPENDENCIES(clang_tidy_prerequisites GenError)
22782274

22792275
ADD_SUBDIRECTORY(include)
22802276
ADD_SUBDIRECTORY(strings)
2277+
ADD_SUBDIRECTORY(extra/unordered_dense)
22812278
ADD_SUBDIRECTORY(vio)
22822279
ADD_SUBDIRECTORY(mysys)
22832280
ADD_SUBDIRECTORY(libmysql)

LICENSE

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
Licensing Information User Manual
22

3-
MySQL 8.0.40 Community
3+
MySQL 8.0.41 Community
44
__________________________________________________________________
55

66
Introduction
77

88
This License Information User Manual contains Oracle's product license
99
and other licensing information, including licensing information for
1010
third-party software which may be included in this distribution of
11-
MySQL 8.0.40 Community.
11+
MySQL 8.0.41 Community.
1212

13-
Last updated: September 2024
13+
Last updated: November 2024
1414

1515
Licensing Information
1616

17-
This release of MySQL 8.0.40 Community is brought to you by the MySQL
17+
This release of MySQL 8.0.41 Community is brought to you by the MySQL
1818
team at Oracle. This software is released under version 2 of the GNU
1919
General Public License (GPLv2), as set forth below, with the following
2020
additional permissions:
2121

22-
This distribution of MySQL 8.0.40 Community is designed to work with
22+
This distribution of MySQL 8.0.41 Community is designed to work with
2323
certain software (including but not limited to OpenSSL) that is
2424
licensed under separate terms, as designated in a particular file or
2525
component or in the license documentation. Without limiting your rights
@@ -1042,6 +1042,15 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10421042

10431043
Google Protocol Buffers
10441044

1045+
You may be receiving a copy of abseil-cpp as part of this product in object code
1046+
form.
1047+
The terms of the Oracle license do NOT apply to abseil-cpp.
1048+
abseil-cpp is licensed under the Apache 2.0 license, separate from the Oracle pr
1049+
oduct.
1050+
If you do not wish to install this library, you may remove it, but the Oracle pr
1051+
ogram
1052+
might not operate properly or at all without it.
1053+
10451054
Copyright 2008 Google Inc. All rights reserved.
10461055

10471056
Redistribution and use in source and binary forms, with or without
@@ -1670,7 +1679,14 @@ SUCH DAMAGE.
16701679

16711680
Kerberos5
16721681

1673-
Kerberos5
1682+
You may be receiving a copy of the kerberos documentation as part of this
1683+
product. The terms of the Oracle license do NOT apply to Kerberos documentation.
1684+
1685+
Kerberos documentation is licensed under the CC-BY-SA 3.0 license, separate from
1686+
1687+
the Oracle product.
1688+
If you do not wish to install this library, you may remove it, but
1689+
the Oracle program might not operate properly or at all without it.
16741690

16751691
Copyright (C) 1985-2019 by the Massachusetts Institute of Technology.
16761692

MYSQL_VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MYSQL_VERSION_MAJOR=8
22
MYSQL_VERSION_MINOR=0
3-
MYSQL_VERSION_PATCH=40
4-
MYSQL_VERSION_EXTRA=-31
3+
MYSQL_VERSION_PATCH=41
4+
MYSQL_VERSION_EXTRA=-32
55
MYSQL_VERSION_STABILITY="LTS"

README.MySQL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
1+
Copyright (c) 2000, 2025, Oracle and/or its affiliates.
22

33
This is a release of MySQL, an SQL database server.
44

build-ps/build-binary.sh

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ COMMON_FLAGS=''
3333
TOKUDB_BACKUP_VERSION=''
3434
# enable asan
3535
ENABLE_ASAN=0
36-
FIPSMODE=0
3736
#
3837
# Some programs that may be overriden
3938
TAR=${TAR:-tar}
@@ -107,11 +106,6 @@ do
107106
exit 3
108107
fi
109108
;;
110-
--enable-fipsmode )
111-
shift
112-
FIPSMODE=1
113-
WITH_SSL="OFF"
114-
;;
115109
--with-zenfs )
116110
shift
117111
TARBALL_SUFFIX="-zenfs"
@@ -183,19 +177,10 @@ elif [ -n "$(command -v git)" -a -d "$SOURCEDIR/.git" ];
183177
then
184178
REVISION="$(git rev-parse --short HEAD)"
185179
fi
186-
if [ x"${FIPSMODE}" == x1 ]; then
187-
PRODUCT_FULL="Percona-Server-Pro-$MYSQL_VERSION-$PERCONA_SERVER_VERSION"
188-
else
189-
PRODUCT_FULL="Percona-Server-$MYSQL_VERSION-$PERCONA_SERVER_VERSION"
190-
fi
180+
PRODUCT_FULL="Percona-Server-$MYSQL_VERSION-$PERCONA_SERVER_VERSION"
191181
PRODUCT_FULL="$PRODUCT_FULL-$TAG$(uname -s)${DIST_NAME:-}.$TARGET${GLIBC_VER:-}${TARBALL_SUFFIX:-}"
192-
if [ x"${FIPSMODE}" == x1 ]; then
193-
COMMENT="Percona Server Pro (GPL), Release ${MYSQL_VERSION_EXTRA#-}"
194-
COMMENT="$COMMENT, Revision $REVISION${BUILD_COMMENT:-}"
195-
else
196-
COMMENT="Percona Server (GPL), Release ${MYSQL_VERSION_EXTRA#-}"
197-
COMMENT="$COMMENT, Revision $REVISION${BUILD_COMMENT:-}"
198-
fi
182+
COMMENT="Percona Server (GPL), Release ${MYSQL_VERSION_EXTRA#-}"
183+
COMMENT="$COMMENT, Revision $REVISION${BUILD_COMMENT:-}"
199184

200185
# Compilation flags
201186
export CC=${CC:-gcc}
@@ -327,11 +312,7 @@ fi
327312
)
328313

329314
(
330-
if [ x"${FIPSMODE}" == x1 ]; then
331-
LIBLIST="libaio.so.1 libnuma.so.1 libgssapi.so libldap_r-2.4.so.2 libldap.so.2 liblber-2.4.so.2 liblber.so.2 libreadline.so libtinfo.so libbrotlidec.so libbrotlicommon.so librtmp.so libgssapi_krb5.so libkrb5.so libsmime3.so libnss3.so libnssutil3.so libplc4.so libnspr4.so libplds4.so libncurses.so.5 libtinfo.so.5 component_encryption_udf.so component_uuid_vx_udf.so component_keyring_kms.so component_masking_functions.so"
332-
else
333315
LIBLIST="libaio.so.1 libnuma.so.1 libgssapi.so libldap_r-2.4.so.2 libldap.so.2 liblber-2.4.so.2 liblber.so.2 libreadline.so libtinfo.so libbrotlidec.so libbrotlicommon.so librtmp.so libgssapi_krb5.so libkrb5.so libk5crypto.so libsmime3.so libnss3.so libnssutil3.so libplc4.so libnspr4.so libplds4.so libncurses.so.5 libtinfo.so.5 component_encryption_udf.so component_uuid_vx_udf.so component_keyring_kms.so component_masking_functions.so"
334-
fi
335316
DIRLIST="bin lib lib/private lib/plugin lib/mysqlrouter/plugin lib/mysqlrouter/private"
336317

337318
LIBPATH=""

build-ps/debian/extra/apparmor-profile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/sys/devices/system/node/ r,
1313
/sys/devices/system/node/** r,
1414
/proc/*/status r,
15+
/proc/*/mem r,
1516
capability sys_resource,
1617
capability dac_override,
1718
capability setuid,

build-ps/debian/extra/apparmor.d/old_apparmor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/sys/devices/system/node/ r,
1313
/sys/devices/system/node/** r,
1414
/proc/*/status r,
15+
/proc/*/mem r,
1516
capability sys_resource,
1617
capability dac_override,
1718
capability setuid,

build-ps/debian/extra/apparmor.d/usr.sbin.mysqld.in2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/sys/devices/system/node/ r,
1313
/sys/devices/system/node/** r,
1414
/proc/*/status r,
15+
/proc/*/mem r,
1516
capability sys_resource,
1617
capability dac_override,
1718
capability setuid,

build-ps/debian/rules

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,12 @@ export DH_VERBOSE=1
77
export CFLAGS=
88
export CXXFLAGS=
99
export CPPFLAGS=
10-
export FIPSMODE=0
1110

1211
PACKAGE=percona-server
1312
PS_VERSION_EXTRA = '@@PERCONA_VERSION_EXTRA@@'
1413
REVISION = '@@REVISION@@'
15-
ifeq ($(FIPSMODE),1)
16-
COMPILATION_COMMENT_RELEASE = "Percona Server Pro (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
17-
COMPILATION_COMMENT_DEBUG = "Percona Server Pro - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
18-
else
19-
COMPILATION_COMMENT_RELEASE = "Percona Server (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
20-
COMPILATION_COMMENT_DEBUG = "Percona Server - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
21-
endif
14+
COMPILATION_COMMENT_RELEASE = "Percona Server (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
15+
COMPILATION_COMMENT_DEBUG = "Percona Server - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
2216
TOKUDB_BACKUP_VERSION = "@@TOKUDB_BACKUP_VERSION@@"
2317

2418
TMP=$(CURDIR)/debian/tmp/

0 commit comments

Comments
 (0)