Skip to content

Commit fd96a10

Browse files
committed
Merge remote-tracking branch 'upstream/5.6' into 5.6
2 parents 35e4770 + 9c3a49e commit fd96a10

File tree

4,221 files changed

+49455
-64014
lines changed

Some content is hidden

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

4,221 files changed

+49455
-64014
lines changed

.gitignore

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -547,55 +547,6 @@ extra/resolve_stack_dump
547547
extra/resolveip
548548
extra/sql_state.h
549549
extra/tztime.cc
550-
extra/yassl/src/.deps/buffer.Plo
551-
extra/yassl/src/.deps/cert_wrapper.Plo
552-
extra/yassl/src/.deps/crypto_wrapper.Plo
553-
extra/yassl/src/.deps/handshake.Plo
554-
extra/yassl/src/.deps/lock.Plo
555-
extra/yassl/src/.deps/log.Plo
556-
extra/yassl/src/.deps/socket_wrapper.Plo
557-
extra/yassl/src/.deps/ssl.Plo
558-
extra/yassl/src/.deps/template_instnt.Plo
559-
extra/yassl/src/.deps/timer.Plo
560-
extra/yassl/src/.deps/yassl_error.Plo
561-
extra/yassl/src/.deps/yassl_imp.Plo
562-
extra/yassl/src/.deps/yassl_int.Plo
563-
extra/yassl/taocrypt/benchmark/.deps/benchmark-benchmark.Po
564-
extra/yassl/taocrypt/benchmark/benchmark
565-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-aes.Plo
566-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-aestables.Plo
567-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-algebra.Plo
568-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-arc4.Plo
569-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-asn.Plo
570-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-bftables.Plo
571-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-blowfish.Plo
572-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-coding.Plo
573-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-des.Plo
574-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-dh.Plo
575-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-dsa.Plo
576-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-file.Plo
577-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-hash.Plo
578-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-integer.Plo
579-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-md2.Plo
580-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-md4.Plo
581-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-md5.Plo
582-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-misc.Plo
583-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-random.Plo
584-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-ripemd.Plo
585-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-rsa.Plo
586-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-sha.Plo
587-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-template_instnt.Plo
588-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-tftables.Plo
589-
extra/yassl/taocrypt/src/.deps/libtaocrypt_la-twofish.Plo
590-
extra/yassl/taocrypt/test/.deps/test-test.Po
591-
extra/yassl/taocrypt/test/test
592-
extra/yassl/testsuite/.deps/testsuite-client.Po
593-
extra/yassl/testsuite/.deps/testsuite-echoclient.Po
594-
extra/yassl/testsuite/.deps/testsuite-echoserver.Po
595-
extra/yassl/testsuite/.deps/testsuite-server.Po
596-
extra/yassl/testsuite/.deps/testsuite-test.Po
597-
extra/yassl/testsuite/.deps/testsuite-testsuite.Po
598-
extra/yassl/testsuite/testsuite
599550
fcns.c
600551
fcns.h
601552
gdbinit

BUILD/SETUP.sh

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
#!/bin/sh
22

3-
# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
44
#
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU Library General Public
7-
# License as published by the Free Software Foundation; version 2
8-
# of the License.
5+
# This program is free software; you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
915
#
1016
# This program is distributed in the hope that it will be useful,
1117
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
# Library General Public License for more details.
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU General Public License, version 2.0, for more details.
1420
#
1521
# You should have received a copy of the GNU Library General Public
1622
# License along with this library; if not, write to the Free
@@ -100,11 +106,8 @@ path=`dirname $0`
100106
export AM_MAKEFLAGS
101107
AM_MAKEFLAGS="-j 6"
102108

103-
# SSL library to use.--with-ssl will select our bundled yaSSL
104-
# implementation of SSL. To use openSSl you will nee too point out
105-
# the location of openSSL headers and lbs on your system.
106-
# Ex --with-ssl=/usr
107-
SSL_LIBRARY=--with-ssl
109+
# SSL library to use.
110+
SSL_LIBRARY="--with-ssl=system"
108111

109112
if [ "x$warning_mode" = "xpedantic" ]; then
110113
warnings="-W -Wall -ansi -pedantic -Wno-long-long -Wno-unused -D_POSIX_SOURCE"
@@ -236,11 +239,9 @@ fi
236239

237240
# The -fprofile-arcs and -ftest-coverage options cause GCC to instrument the
238241
# code with profiling information used by gcov.
239-
# The -DDISABLE_TAO_ASM is needed to avoid build failures in Yassl.
240242
# The -DHAVE_gcov enables code to write out coverage info even when crashing.
241243

242244
gcov_compile_flags="-fprofile-arcs -ftest-coverage"
243-
gcov_compile_flags="$gcov_compile_flags -DDISABLE_TAO_ASM"
244245
gcov_compile_flags="$gcov_compile_flags -DMYSQL_SERVER_SUFFIX=-gcov -DHAVE_gcov"
245246

246247
# GCC4 needs -fprofile-arcs -ftest-coverage on the linker command line (as well

BUILD/autorun.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22

33
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
44
#
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU Library General Public
7-
# License as published by the Free Software Foundation; version 2
8-
# of the License.
5+
# This program is free software; you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
915
#
1016
# This program is distributed in the hope that it will be useful,
1117
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
# Library General Public License for more details.
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU General Public License, version 2.0, for more details.
1420
#
1521
# You should have received a copy of the GNU Library General Public
1622
# License along with this library; if not, write to the Free

BUILD/build_mccge.sh

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
#!/bin/sh
22

3-
# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
3+
# Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
44
#
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU Library General Public
7-
# License as published by the Free Software Foundation; version 2
8-
# of the License.
5+
# This program is free software; you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
915
#
1016
# This program is distributed in the hope that it will be useful,
1117
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
# Library General Public License for more details.
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU General Public License, version 2.0, for more details.
1420
#
1521
# You should have received a copy of the GNU Library General Public
1622
# License along with this library; if not, write to the Free
@@ -338,8 +344,8 @@ extended_usage()
338344
--with-extra-charsets=all: Enable use of all character sets supported
339345
by MySQL (cannot be overridden).
340346
341-
--with-ssl: Enable use of yaSSL library included in the MySQL source
342-
if possible (GCC and same CC and CXX).
347+
--with-ssl: Enable use of SSL library if possible (GCC and same CC
348+
and CXX).
343349
(cannot be overridden).
344350
345351
--with-pic: Build all binaries using position independent assembler
@@ -1224,11 +1230,6 @@ set_ssl()
12241230
#
12251231
# Base options used by all packages
12261232
#
1227-
# SSL library to use. --with-ssl selects the bundled yaSSL
1228-
# implementation of SSL. To use openSSL, you must point out the location
1229-
# of the openSSL headers and libs on your system.
1230-
# For example: --with-ssl=/usr
1231-
#
12321233
set_base_configs()
12331234
{
12341235
base_configs="$base_configs --prefix=$prefix"

BUILD/cmake_configure.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@
22

33
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
44
#
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU Library General Public
7-
# License as published by the Free Software Foundation; version 2
8-
# of the License.
5+
# This program is free software; you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
915
#
1016
# This program is distributed in the hope that it will be useful,
1117
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
# Library General Public License for more details.
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU General Public License, version 2.0, for more details.
1420
#
1521
# You should have received a copy of the GNU Library General Public
1622
# License along with this library; if not, write to the Free

BUILD/compile-dist

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@
33
# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; version 2 of the License.
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
815
#
916
# This program is distributed in the hope that it will be useful,
1017
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1118
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
19+
# GNU General Public License, version 2.0, for more details.
1320
#
1421
# You should have received a copy of the GNU General Public License
1522
# along with this program; if not, write to the Free Software

BUILD/compile-pentium

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; version 2 of the License.
8-
#
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
15+
#
916
# This program is distributed in the hope that it will be useful,
1017
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1118
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
19+
# GNU General Public License, version 2.0, for more details.
20+
#
1421
# You should have received a copy of the GNU General Public License
1522
# along with this program; if not, write to the Free Software
1623
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

BUILD/compile-pentium-debug

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
# Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; version 2 of the License.
8-
#
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
15+
#
916
# This program is distributed in the hope that it will be useful,
1017
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1118
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
19+
# GNU General Public License, version 2.0, for more details.
20+
#
1421
# You should have received a copy of the GNU General Public License
1522
# along with this program; if not, write to the Free Software
1623
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

BUILD/compile-pentium-debug-max

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
# Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; version 2 of the License.
8-
#
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
15+
#
916
# This program is distributed in the hope that it will be useful,
1017
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1118
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
19+
# GNU General Public License, version 2.0, for more details.
20+
#
1421
# You should have received a copy of the GNU General Public License
1522
# along with this program; if not, write to the Free Software
1623
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

BUILD/compile-pentium-debug-max-no-ndb

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
# Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
44
#
55
# This program is free software; you can redistribute it and/or modify
6-
# it under the terms of the GNU General Public License as published by
7-
# the Free Software Foundation; version 2 of the License.
8-
#
6+
# it under the terms of the GNU General Public License, version 2.0,
7+
# as published by the Free Software Foundation.
8+
#
9+
# This program is also distributed with certain software (including
10+
# but not limited to OpenSSL) that is licensed under separate terms,
11+
# as designated in a particular file or component or in included license
12+
# documentation. The authors of MySQL hereby grant you an additional
13+
# permission to link the program and your derivative works with the
14+
# separately licensed software that they have included with MySQL.
15+
#
916
# This program is distributed in the hope that it will be useful,
1017
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1118
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
# GNU General Public License for more details.
13-
#
19+
# GNU General Public License, version 2.0, for more details.
20+
#
1421
# You should have received a copy of the GNU General Public License
1522
# along with this program; if not, write to the Free Software
1623
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

0 commit comments

Comments
 (0)