Skip to content

Commit 9cd8523

Browse files
committed
Merge branch 'mysql-5.7-cluster-7.5' into mysql-5.7-cluster-7.6
(Merge tag 'clone-5.7.37-build' into mysql-5.7-cluster-7.5) Change-Id: Ibca5a830204caaa6e50fb53156ac6126d039f696
2 parents 9052f83 + 82b6138 commit 9cd8523

Some content is hidden

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

129 files changed

+5582
-3694
lines changed

LICENSE

+222
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,39 @@ THE SOFTWARE.
16901690
======================================================================
16911691
======================================================================
16921692

1693+
jemalloc
1694+
1695+
jemalloc
1696+
1697+
Copyright (C) 2002-present Jason Evans <jasone@canonware.com>.
1698+
All rights reserved.
1699+
Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
1700+
Copyright (C) 2009-present Facebook, Inc. All rights reserved.
1701+
1702+
Redistribution and use in source and binary forms, with or without
1703+
modification, are permitted provided that the following conditions are met:
1704+
1. Redistributions of source code must retain the above copyright notice(s),
1705+
this list of conditions and the following disclaimer.
1706+
2. Redistributions in binary form must reproduce the above copyright
1707+
notice(s),
1708+
this list of conditions and the following disclaimer in the documentation
1709+
and/or other materials provided with the distribution.
1710+
1711+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
1712+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1713+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1714+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
1715+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1716+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1717+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1718+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1719+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1720+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1721+
SUCH DAMAGE.
1722+
1723+
======================================================================
1724+
======================================================================
1725+
16931726
lib_sql.cc
16941727

16951728
lib_sql.cc
@@ -6164,6 +6197,195 @@ By Steve Reid <steve@edmweb.com>
61646197
======================================================================
61656198
======================================================================
61666199

6200+
Time Zone Information
6201+
6202+
Unless specified below, all files in the tz code and data (including this
6203+
LICENSE file) are in the public domain. If the files date.c,
6204+
newstrftime.3, and strftime.c are present, they contain material derived
6205+
from BSD and use the BSD 3-clause license. tzdata:
6206+
# This file is in the public domain, so clarified as of
6207+
# 2009-05-17 by Arthur David Olson.
6208+
/* Copyright 1985, 1987, 1988 The Regents of the University of California.
6209+
All rights reserved.
6210+
Redistribution and use in source and binary forms, with or without
6211+
modification, are permitted provided that the following conditions
6212+
are met:
6213+
1. Redistributions of source code must retain the above copyright
6214+
notice, this list of conditions and the following disclaimer.
6215+
2. Redistributions in binary form must reproduce the above copyright
6216+
notice, this list of conditions and the following disclaimer in the
6217+
documentation and/or other materials provided with the distribution.
6218+
3. Neither the name of the University nor the names of its contributors
6219+
may be used to endorse or promote products derived from this software
6220+
without specific prior written permission.
6221+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND
6222+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
6223+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
6224+
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
6225+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
6226+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
6227+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
6228+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
6229+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
6230+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
6231+
SUCH DAMAGE. */
6232+
6233+
======================================================================
6234+
======================================================================
6235+
6236+
Unicode Data Files, V5.2.0
6237+
6238+
Unicode Data Files, V5.2.0
6239+
6240+
# unidata-5.2.0.txt
6241+
# Date: 2009-09-22, 16:23:42 PDT [KW]
6242+
#
6243+
# This file defines the Default Unicode Collation Element Table
6244+
# (DUCET) for the Unicode Collation Algorithm
6245+
#
6246+
# Copyright (c) 2001-2009 Unicode, Inc.
6247+
# For terms of use, see http://www.unicode.org/terms_of_use.html
6248+
#
6249+
# See UTS #10, Unicode Collation Algorithm, for more information.
6250+
#
6251+
# Diagnostic weight ranges
6252+
# Primary weight range: 0200..3ACA (14539)
6253+
# Secondary weight range: 0020..0192 (371)
6254+
# Variant secondaries: 0159..015E (6)
6255+
# Digit secondaries: 015F..0192 (52)
6256+
# Tertiary weight range: 0002..001F (30)
6257+
#
6258+
@version 5.2.0
6259+
6260+
=== http://www.unicode.org/terms_of_use.html
6261+
For the general privacy policy governing access to this site, see the
6262+
Unicode Privacy Policy.
6263+
6264+
Unicode Copyright
6265+
Copyright (c) 1991-2020 Unicode, Inc. All rights reserved.
6266+
Definitions
6267+
Unicode Data Files ("DATA FILES") include all data files under the
6268+
directories:
6269+
https://www.unicode.org/Public/
6270+
https://www.unicode.org/reports/
6271+
https://www.unicode.org/ivd/data/
6272+
Unicode Data Files do not include PDF online code charts under the directory:
6273+
https://www.unicode.org/Public/
6274+
Unicode Software ("SOFTWARE") includes any source code published in the
6275+
Unicode Standard
6276+
or any source code or compiled code under the directories:
6277+
https://www.unicode.org/Public/PROGRAMS/
6278+
https://www.unicode.org/Public/cldr/
6279+
http://site.icu-project.org/download/
6280+
6281+
Terms of Use
6282+
Certain documents and files on this website contain a legend indicating that
6283+
"Modification is permitted." Any person is hereby authorized, without fee, to
6284+
modify such documents and files to create derivative works conforming to the
6285+
Unicode(R) Standard, subject to Terms and Conditions herein.
6286+
Any person is hereby authorized, without fee, to view, use, reproduce, and
6287+
distribute all documents and files, subject to the Terms and Conditions
6288+
herein.
6289+
Further specifications of rights and restrictions pertaining to the use of
6290+
the Unicode DATA FILES and SOFTWARE can be found in the Unicode Data Files
6291+
and Software License.
6292+
Each version of the Unicode Standard has further specifications of rights and
6293+
restrictions of use. For the book editions (Unicode 5.0 and earlier), these
6294+
are found on the back of the title page.
6295+
The Unicode PDF online code charts carry specific restrictions. Those
6296+
restrictions are incorporated as the first page of each PDF code chart.
6297+
All other files, including online documentation of the core specification for
6298+
Unicode 6.0 and later, are covered under these general Terms of Use.
6299+
No license is granted to "mirror" the Unicode website where a fee is charged
6300+
for access to the "mirror" site.
6301+
Modification is not permitted with respect to this document. All copies of
6302+
this document must be verbatim.
6303+
6304+
Restricted Rights Legend
6305+
Any technical data or software which is licensed to the United States of
6306+
America, its agencies and/or instrumentalities under this Agreement is
6307+
commercial technical data or commercial computer software developed
6308+
exclusively at private expense as defined in FAR 2.101, or DFARS 252.227-7014
6309+
(June 1995), as applicable. For technical data, use, duplication, or
6310+
disclosure by the Government is subject to restrictions as set forth in DFARS
6311+
202.227-7015 Technical Data, Commercial and Items (Nov 1995) and this
6312+
Agreement. For Software, in accordance with FAR 12-212 or DFARS 227-7202, as
6313+
applicable, use, duplication or disclosure by the Government is subject to
6314+
the restrictions set forth in this Agreement.
6315+
6316+
Warranties and Disclaimers
6317+
This publication and/or website may include technical or typographical errors
6318+
or other inaccuracies. Changes are periodically added to the information
6319+
herein; these changes will be incorporated in new editions of the publication
6320+
and/or website. Unicode, Inc. may make improvements and/or changes in the
6321+
product(s) and/or program(s) described in this publication and/or website at
6322+
any time.
6323+
If this file has been purchased on magnetic or optical media from Unicode,
6324+
Inc. the sole and exclusive remedy for any claim will be exchange of the
6325+
defective media within ninety (90) days of original purchase.
6326+
6327+
EXCEPT AS PROVIDED IN SECTION E.2, THIS PUBLICATION AND/OR SOFTWARE IS
6328+
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS, IMPLIED, OR
6329+
STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY,
6330+
FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. UNICODE, INC. AND ITS
6331+
LICENSORS ASSUME NO RESPONSIBILITY FOR ERRORS OR OMISSIONS IN THIS
6332+
PUBLICATION AND/OR SOFTWARE OR OTHER DOCUMENTS WHICH ARE REFERENCED BY OR
6333+
LINKED TO THIS PUBLICATION OR THE UNICODE WEBSITE.
6334+
6335+
Waiver of Damages
6336+
In no event shall Unicode, Inc. or its licensors be liable for any special,
6337+
incidental, indirect or consequential damages of any kind, or any damages
6338+
whatsoever, whether or not Unicode, Inc. was advised of the possibility of
6339+
the damage, including, without limitation, those resulting from the
6340+
following: loss of use, data or profits, in connection with the use,
6341+
modification or distribution of this information or its derivatives.
6342+
6343+
Trademarks & Logos
6344+
The Unicode Word Mark and the Unicode Logo are trademarks of Unicode, Inc.
6345+
¿The Unicode Consortium¿ and ¿Unicode, Inc.¿ are trade names of Unicode, Inc.
6346+
Use of the information and materials found on this website indicates your
6347+
acknowledgement of Unicode, Inc.¿s exclusive worldwide rights in the Unicode
6348+
Word Mark, the Unicode Logo, and the Unicode trade names.
6349+
The Unicode Consortium Name and Trademark Usage Policy (¿Trademark Policy¿)
6350+
are incorporated herein by reference and you agree to abide by the provisions
6351+
of the Trademark Policy, which may be changed from time to time in the sole
6352+
discretion of Unicode, Inc.
6353+
All third party trademarks referenced herein are the property of their
6354+
respective owners.
6355+
6356+
Miscellaneous
6357+
Jurisdiction and Venue. This website is operated from a location in the State
6358+
of California, United States of America. Unicode, Inc. makes no
6359+
representation that the materials are appropriate for use in other locations.
6360+
If you access this website from other locations, you are responsible for
6361+
compliance with local laws. This Agreement, all use of this website and any
6362+
claims and damages resulting from use of this website are governed solely by
6363+
the laws of the State of California without regard to any principles which
6364+
would apply the laws of a different jurisdiction. The user agrees that any
6365+
disputes regarding this website shall be resolved solely in the courts
6366+
located in Santa Clara County, California. The user agrees said courts have
6367+
personal jurisdiction and agree to waive any right to transfer the dispute to
6368+
any other forum.
6369+
6370+
Modification by Unicode, Inc. Unicode, Inc. shall have the right to modify
6371+
this Agreement at any time by posting it to this website. The user may not
6372+
assign any part of this Agreement without Unicode, Inc.¿s prior written
6373+
consent.
6374+
6375+
Taxes. The user agrees to pay any taxes arising from access to this website
6376+
or use of the information herein, except for those based on Unicode¿s net
6377+
income.
6378+
6379+
Severability. If any provision of this Agreement is declared invalid or
6380+
unenforceable, the remaining provisions of this Agreement shall remain in
6381+
effect.
6382+
6383+
Entire Agreement. This Agreement constitutes the entire agreement between the
6384+
parties.
6385+
6386+
======================================================================
6387+
======================================================================
6388+
61676389
Unicode Data Files, V9.0
61686390

61696391
Unicode Data Files, V9.0

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
MYSQL_VERSION_MAJOR=5
22
MYSQL_VERSION_MINOR=7
3-
MYSQL_VERSION_PATCH=36
3+
MYSQL_VERSION_PATCH=37
44
MYSQL_VERSION_EXTRA=-ndb-7.6.22

cmake/readline.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ MACRO (FIND_CURSES)
9090
ENDIF()
9191
ENDMACRO()
9292

93-
SET(CURRENT_LIBEDIT_DIRECTORY "extra/libedit/libedit-20191231-3.1")
93+
SET(CURRENT_LIBEDIT_DIRECTORY "extra/libedit/libedit-20210910-3.1")
9494

9595
MACRO (MYSQL_USE_BUNDLED_EDITLINE)
9696
SET(WITH_EDITLINE "bundled" CACHE STRING "By default use bundled editline")

cmake/ssl.cmake

+27-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
# We assume you have installed
3838
# https://slproweb.com/products/Win32OpenSSL.html
3939
# We look for "C:/Program Files/OpenSSL-Win64/"
40-
# The .dll files must be in your PATH.
4140
# or
4241
# http://brewformulas.org/Openssl
4342
# We look for "/usr/local/opt/openssl"
@@ -122,6 +121,32 @@ MACRO (MYSQL_CHECK_SSL)
122121
ELSE()
123122
SET(WITH_SSL_PATH "C:/Program Files/OpenSSL-Win64/")
124123
ENDIF()
124+
125+
# Note that several packages may come with ssl headers,
126+
# e.g. Strawberry Perl, so ignore some system paths below.
127+
IF(WIN32 AND NOT OPENSSL_ROOT_DIR AND WITH_SSL STREQUAL "system")
128+
FILE(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _programfiles)
129+
IF(SIZEOF_VOIDP EQUAL 8)
130+
FIND_PATH(OPENSSL_WIN64
131+
NAMES "include/openssl/ssl.h"
132+
PATHS "${_programfiles}/OpenSSL-Win64" "C:/OpenSSL-Win64/"
133+
NO_SYSTEM_ENVIRONMENT_PATH
134+
NO_CMAKE_SYSTEM_PATH
135+
)
136+
IF(OPENSSL_WIN64)
137+
SET(OPENSSL_ROOT_DIR ${OPENSSL_WIN64})
138+
FIND_LIBRARY(OPENSSL_LIBRARY
139+
NAMES libssl_static
140+
HINTS ${OPENSSL_ROOT_DIR}/lib)
141+
FIND_LIBRARY(CRYPTO_LIBRARY
142+
NAMES libcrypto_static
143+
HINTS ${OPENSSL_ROOT_DIR}/lib)
144+
IF(OPENSSL_LIBRARY AND CRYPTO_LIBRARY)
145+
SET(FOUND_STATIC_SSL_LIBS 1)
146+
ENDIF()
147+
ENDIF()
148+
ENDIF()
149+
ENDIF()
125150
ENDIF()
126151

127152
# First search in WITH_SSL_PATH.
@@ -267,7 +292,7 @@ MACRO (MYSQL_CHECK_SSL)
267292
SET(SSL_LIBRARIES ${SSL_LIBRARIES} ${LIBDL})
268293
ENDIF()
269294
MESSAGE(STATUS "SSL_LIBRARIES = ${SSL_LIBRARIES}")
270-
IF(WIN32 AND WITH_SSL STREQUAL "system")
295+
IF(WIN32 AND WITH_SSL STREQUAL "system" AND NOT FOUND_STATIC_SSL_LIBS)
271296
MESSAGE(STATUS "Please do\nPATH=\"${WITH_SSL_PATH}bin\":$PATH")
272297
FILE(TO_NATIVE_PATH "${WITH_SSL_PATH}" WITH_SSL_PATH_XX)
273298
MESSAGE(STATUS "or\nPATH=\"${WITH_SSL_PATH_XX}bin\":$PATH")

extra/libedit/libedit-20191231-3.1/ChangeLog renamed to extra/libedit/libedit-20210910-3.1/ChangeLog

+42
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,48 @@
11
* See also NetBSD changelog:
22
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit
33

4+
2021-09-10 Jess Thrysoee
5+
6+
* all: sync with upstream source
7+
8+
2021-07-14 Jess Thrysoee
9+
10+
* all: sync with upstream source
11+
12+
* src/histedit.h: Add wcsdup declaration when ifndef HAVE_WCSDUP. Patch by Rainer Jung.
13+
14+
* examples/wtc1.c: Fix warnings and add missing brace. Patch by Rainer Jung.
15+
16+
2021-05-22 Jess Thrysoee
17+
18+
* version-info: 0:66:0
19+
20+
* all: sync with upstream source
21+
22+
* src/el.c: editrc not read on systems without issetugid
23+
Patch by Trevor Cordes
24+
25+
2021-04-19 Jess Thrysoee
26+
27+
* version-info: 0:65:0
28+
29+
* all: sync with upstream source
30+
31+
* src/getline.c,src/sys.h: Provide getline.c implementation if not available
32+
Patch by Claes Nästén
33+
34+
* src/makelist: Use Posix locale; mainly to get ASCII character classes in e.g. `tr`
35+
Patch by Claes Nästén
36+
37+
* examples/test_filecompletion.c, examples/wtc1.c: err.h not supported by
38+
Solaris
39+
40+
2021-02-16 Jess Thrysoee
41+
42+
* version-info: 0:64:0
43+
44+
* all: sync with upstream source
45+
446
2019-12-31 Jess Thrysoee
547

648
* version-info: 0:63:0

0 commit comments

Comments
 (0)