Skip to content

Commit 342fa29

Browse files
committed
Merge branch '11.4' into 11.5
2 parents 8b8c8fc + eb70e0d commit 342fa29

File tree

92 files changed

+2923
-300
lines changed

Some content is hidden

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

92 files changed

+2923
-300
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,7 @@ ELSE()
194194
ENDIF()
195195

196196

197-
IF("${MYSQL_NO_DASH_VERSION}" VERSION_LESS 11.2)
198-
SET(MEMPROTECT_DEFAULT ON)
199-
ELSE()
200-
SET(MEMPROTECT_DEFAULT OFF)
201-
ENDIF()
197+
SET(MEMPROTECT_DEFAULT ON)
202198

203199
OPTION(WITH_PROTECT_STATEMENT_MEMROOT "Enable protection of statement's memory root after first SP/PS execution. Turned into account only for debug build"
204200
${MEMPROTECT_DEFAULT})

CREDITS

Lines changed: 45 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,48 @@
11
MariaDB is brought to you by the MariaDB Foundation, a non profit
22
organization registered in the USA.
33

4-
The current main sponsors of the MariaDB Foundation are:
5-
6-
Alibaba Cloud https://www.alibabacloud.com/ (2017)
7-
Intel https://www.intel.com (2022)
8-
MariaDB Corporation https://www.mariadb.com (2013)
9-
Microsoft https://microsoft.com/ (2017)
10-
ServiceNow https://servicenow.com (2019)
11-
SIT https://sit.org (2022)
12-
Tencent Cloud https://cloud.tencent.com (2017)
13-
Development Bank of Singapore https://dbs.com (2016)
14-
IBM https://www.ibm.com (2017)
15-
Automattic https://automattic.com (2019)
16-
Galera Cluster https://galeracluster.com (2020)
17-
Percona https://www.percona.com (2018)
4+
As of August 2024, the main sponsors of the MariaDB Foundation are:
5+
6+
Amazon https://amazon.com
7+
Acronis https://www.acronis.com
8+
Alibaba Cloud https://www.alibabacloud.com
9+
C>onstructor https://constructor.org
10+
Development Bank of Singapore https://www.dbs.com
11+
Intel https://www.intel.com
12+
MariaDB plc https://www.mariadb.com
13+
ServiceNow https://servicenow.com
14+
WebPros https://webpros.com
15+
IBM https://www.ibm.com
16+
IONOS https://www.ionos.com
17+
Automattic https://automattic.com
18+
SkySQL https://skysql.com
19+
team.blue https://team.blue
20+
Tencent Cloud https://cloud.tencent.com
21+
Wikimedia Foundation https://www.wikimediafoundation.org
22+
Cyber Leo https://cyberleo.com
23+
Hetzner https://www.hetzner.com
24+
Rumahweb https://www.rumahweb.com
25+
Tasjeel.ae https://www.tasjeel.ae
26+
Galera Cluster https://galeracluster.com
27+
Percona https://www.percona.com
28+
Vettabase https://vettabase.com
29+
30+
Previous sponsors include:
31+
32+
Booking.com
33+
Jelastic.com
34+
Microsoft
35+
Nexedi
36+
Open Query
37+
Planeetta Web Hosting
38+
SpringbokSQL
39+
Tencent Games
40+
Tencent Game DBA
41+
Tencent TDSQL
42+
Verkkokauppa
43+
Virtuozzo
44+
Visma
45+
Webyog
1846

1947
For a full list of sponsors, see
2048
https://mariadb.org/about/#sponsors
@@ -27,7 +55,7 @@ For all corporate sponsorships please contact the
2755
MariaDB Foundation Board via foundation@mariadb.org.
2856

2957
The MariaDB Foundation is responsible for the MariaDB source
30-
repository, the official MariaDB binaries and http://mariadb.org.
58+
repository, the official MariaDB binaries and https://mariadb.org.
3159

3260
The MariaDB Foundation also provides, among other things, the
3361
following services to the MariaDB community:
@@ -37,8 +65,8 @@ following services to the MariaDB community:
3765
- Merging MySQL patches into MariaDB
3866
- Bug fixing in MariaDB (for bugs that affects a large part of the community)
3967
- Building the official MariaDB binaries
40-
- Maintaining http://mariadb.org
41-
- Documenting MariaDB in the MariaDB Knowledge Base http://mariadb.com/kb
68+
- Maintaining https://mariadb.org
69+
- Documenting MariaDB in the MariaDB Knowledge Base https://mariadb.com/kb
4270

4371
To be able to do the above we need help from corporations and individuals!
4472

@@ -49,8 +77,5 @@ go to https://mariadb.org/donate/
4977
You can get a list of all the main authors of MariaDB / MySQL by running
5078
SHOW AUTHORS;
5179

52-
You can get a list sponsors and contributors by running
53-
SHOW CONTRIBUTORS;
54-
5580
You can read more about the MariaDB Foundation at:
5681
https://mariadb.org/about/

client/mysqlimport.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ get_one_option(const struct my_option *opt, const char *argument,
244244
#ifdef _WIN32
245245
case 'W':
246246
opt_protocol = MYSQL_PROTOCOL_PIPE;
247-
opt_local_file=1;
248247
break;
249248
#endif
250249
case OPT_MYSQL_PROTOCOL:

cmake/cpack_rpm.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ SETA(CPACK_RPM_server_PACKAGE_REQUIRES
247247

248248
IF(WITH_WSREP)
249249
SETA(CPACK_RPM_server_PACKAGE_REQUIRES
250-
"galera-4" "rsync" "lsof" "grep" "gawk" "iproute"
250+
"galera-4" "rsync" "grep" "gawk" "iproute"
251251
"coreutils" "findutils" "tar")
252-
SETA(CPACK_RPM_server_PACKAGE_RECOMMENDS "pv")
252+
SETA(CPACK_RPM_server_PACKAGE_RECOMMENDS "lsof" "pv")
253253
ENDIF()
254254

255255
SET(CPACK_RPM_server_PRE_INSTALL_SCRIPT_FILE ${CMAKE_SOURCE_DIR}/support-files/rpm/server-prein.sh)

cmake/mariadb_connector_c.cmake

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@ SET(CONC_WITH_SIGNCODE ${SIGNCODE})
88
SET(SIGN_OPTIONS ${SIGNTOOL_PARAMETERS})
99
SET(CONC_WITH_EXTERNAL_ZLIB ON)
1010

11-
IF(SSL_DEFINES MATCHES "WOLFSSL")
12-
IF(WIN32)
13-
SET(CONC_WITH_SSL "SCHANNEL")
11+
IF(NOT CONC_WITH_SSL)
12+
IF(SSL_DEFINES MATCHES "WOLFSSL")
13+
IF(WIN32)
14+
SET(CONC_WITH_SSL "SCHANNEL")
15+
ELSE()
16+
SET(CONC_WITH_SSL "GNUTLS") # that's what debian wants, right?
17+
ENDIF()
1418
ELSE()
15-
SET(CONC_WITH_SSL "GNUTLS") # that's what debian wants, right?
19+
SET(CONC_WITH_SSL "OPENSSL")
20+
SET(OPENSSL_FOUND TRUE)
1621
ENDIF()
17-
ELSE()
18-
SET(CONC_WITH_SSL "OPENSSL")
19-
SET(OPENSSL_FOUND TRUE)
2022
ENDIF()
2123

2224
SET(CONC_WITH_CURL OFF)

extra/mariabackup/xtrabackup.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ struct my_option xb_server_options[] =
20132013
0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0 },
20142014

20152015
{"check-privileges", OPT_XTRA_CHECK_PRIVILEGES, "Check database user "
2016-
"privileges fro the backup user",
2016+
"privileges for the backup user",
20172017
&opt_check_privileges, &opt_check_privileges,
20182018
0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0 },
20192019

extra/perror.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ static my_bool print_win_error_msg(DWORD error, my_bool verbose)
199199
char *s;
200200
if (FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER |
201201
FORMAT_MESSAGE_FROM_SYSTEM,
202-
NULL, error, 0, (char *)&s, 0,
202+
NULL, error, MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US),
203+
(char *) &s, 0,
203204
NULL))
204205
{
205206
char* end = s + strlen(s) - 1;

include/m_string.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,20 @@ static inline void safe_strcpy(char *dst, size_t dst_size, const char *src)
265265
*
266266
* 2) IF there is no 0 byte in the first dst_size bytes of src, strncpy will
267267
* copy dst_size bytes, and the final byte won't be 0.
268+
*
269+
* In GCC 8+, the `-Wstringop-truncation` warning may object to strncpy()
270+
* being used in this way, so we need to disable this warning for this
271+
* single statement.
268272
*/
269273

274+
#if defined __GNUC__ && __GNUC__ >= 8
275+
#pragma GCC diagnostic push
276+
#pragma GCC diagnostic ignored "-Wstringop-truncation"
277+
#endif
270278
strncpy(dst, src, dst_size);
279+
#if defined __GNUC__ && __GNUC__ >= 8
280+
#pragma GCC diagnostic pop
281+
#endif
271282
dst[dst_size - 1]= 0;
272283
}
273284

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
if (`select version() like '%valgrind%' || version() like '%asan%'`)
2+
{
3+
skip Does not run with binaries built with valgrind or asan;
4+
}

mysql-test/main/contributors.result

Lines changed: 35 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,42 @@
11
SHOW CONTRIBUTORS;
22
Name Location Comment
3+
Amazon https://www.amazon.com/ Diamond Sponsor of the MariaDB Foundation
4+
Acronis https://www.acronis.com/ Platinum Sponsor of the MariaDB Foundation
35
Alibaba Cloud https://www.alibabacloud.com/ Platinum Sponsor of the MariaDB Foundation
4-
Tencent Cloud https://cloud.tencent.com Platinum Sponsor of the MariaDB Foundation
5-
Microsoft https://microsoft.com/ Platinum Sponsor of the MariaDB Foundation
6-
MariaDB Corporation https://mariadb.com Founding member, Platinum Sponsor of the MariaDB Foundation
7-
ServiceNow https://servicenow.com Platinum Sponsor of the MariaDB Foundation
8-
Intel https://www.intel.com Platinum Sponsor of the MariaDB Foundation
9-
SIT https://sit.org Platinum Sponsor of the MariaDB Foundation
10-
Visma https://visma.com Gold Sponsor of the MariaDB Foundation
11-
DBS https://dbs.com Gold Sponsor of the MariaDB Foundation
12-
IBM https://www.ibm.com Gold Sponsor of the MariaDB Foundation
13-
Automattic https://automattic.com Silver Sponsor of the MariaDB Foundation
6+
C<onstructor https://www.constructor.org/ Platinum Sponsor of the MariaDB Foundation
7+
Development Bank of Singapore https://www.dbs.com/ Platinum Sponsor of the MariaDB Foundation
8+
Intel https://www.intel.com/ Platinum Sponsor of the MariaDB Foundation
9+
MariaDB plc https://mariadb.com/ Founding member, Platinum Sponsor of the MariaDB Foundation
10+
ServiceNow https://servicenow.com/ Platinum Sponsor of the MariaDB Foundation
11+
WebPros https://webpros.com/ Platinum Sponsor of the MariaDB Foundation
12+
IBM https://www.ibm.com/ Gold Sponsor of the MariaDB Foundation
13+
IONOS https://www.ionos.com/ Gold Sponsor of the MariaDB Foundation
14+
Automattic https://automattic.com/ Silver Sponsor of the MariaDB Foundation
15+
SkySQL https://skysql.com/ Silver Sponsor of the MariaDB Foundation
16+
team.blue https://team.blue/ Silver Sponsor of the MariaDB Foundation
17+
Tencent Cloud https://cloud.tencent.com/ Silver Sponsor of the MariaDB Foundation
18+
Wikimedia Foundation https://www.wikimediafoundation.org/ Silver Sponsor of the MariaDB Foundation
19+
Cyber Leo https://cyberleo.com/ Bronze Sponsor of the MariaDB Foundation
20+
Hetzner https://www.hetzner.com/ Bronze Sponsor of the MariaDB Foundation
21+
Rumahweb https://rumahweb.com/ Bronze Sponsor of the MariaDB Foundation
22+
Tasjeel.ae https://tasjeel.ae/ Bronze Sponsor of the MariaDB Foundation
23+
Galera Cluster https://galeracluster.com/ Sponsor of the MariaDB Foundation
1424
Percona https://www.percona.com/ Sponsor of the MariaDB Foundation
15-
Galera Cluster https://galeracluster.com Sponsor of the MariaDB Foundation
25+
Vettabase https://vettabase.com/ Technology partner of the MariaDB Foundation
26+
Booking.com Previous Sponsor of the MariaDB Foundation
27+
Jelastic.com Previous Sponsor of the MariaDB Foundation
28+
Microsoft Previous Sponsor of the MariaDB Foundation
29+
Nexedi Previous Sponsor of the MariaDB Foundation
30+
Open Query Previous Sponsor of the MariaDB Foundation
31+
Planeetta Web Hosting Previous Sponsor of the MariaDB Foundation
32+
SpringbokSQL Previous Sponsor of the MariaDB Foundation
33+
Tencent Games Previous Sponsor of the MariaDB Foundation
34+
Tencent Game DBA Previous Sponsor of the MariaDB Foundation
35+
Tencent TDSQL Previous Sponsor of the MariaDB Foundation
36+
Verkkokauppa Previous Sponsor of the MariaDB Foundation
37+
Virtuozzo Previous Sponsor of the MariaDB Foundation
38+
Visma Previous Sponsor of the MariaDB Foundation
39+
Webyog Previous Sponsor of the MariaDB Foundation
1640
Google USA Sponsoring encryption, parallel replication and GTID
1741
Facebook USA Sponsoring non-blocking API, LIMIT ROWS EXAMINED etc
1842
Ronald Bradford Brisbane, Australia EFF contribution for UC2006 Auction

0 commit comments

Comments
 (0)