Skip to content

Commit d66f6f0

Browse files
committed
Merge 10.9 into 10.10
2 parents 0956553 + 5197d81 commit d66f6f0

File tree

185 files changed

+4367
-1090
lines changed

Some content is hidden

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

185 files changed

+4367
-1090
lines changed

client/mysqlbinlog.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ that may lead to an endless loop.",
19211921
&opt_binlog_rows_event_max_encoded_size, 0,
19221922
GET_ULONG, REQUIRED_ARG, UINT_MAX/4, 256, ULONG_MAX, 0, 256, 0},
19231923
#endif
1924-
{"verify-binlog-checksum", 'c', "Verify checksum binlog events.",
1924+
{"verify-binlog-checksum", 'c', "Verify binlog event checksums.",
19251925
(uchar**) &opt_verify_binlog_checksum, (uchar**) &opt_verify_binlog_checksum,
19261926
0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
19271927
{"rewrite-db", OPT_REWRITE_DB,

client/mysqlimport.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Copyright (c) 2000, 2015, Oracle and/or its affiliates.
3-
Copyright (c) 2011, 2017, MariaDB
3+
Copyright (c) 2011, 2022, MariaDB
44
55
This program is free software; you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by
@@ -382,11 +382,7 @@ static int write_to_table(char *filename, MYSQL *mysql)
382382
{
383383
if (verbose)
384384
fprintf(stdout, "Deleting the old data from table %s\n", tablename);
385-
#ifdef HAVE_SNPRINTF
386385
snprintf(sql_statement, FN_REFLEN*16+256, "DELETE FROM %s", tablename);
387-
#else
388-
sprintf(sql_statement, "DELETE FROM %s", tablename);
389-
#endif
390386
if (mysql_query(mysql, sql_statement))
391387
{
392388
db_error_with_table(mysql, tablename);

cmake/maintainer.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ SET(MY_WARNING_FLAGS
2727
-Wenum-conversion
2828
-Wextra
2929
-Wformat-security
30+
-Wmissing-braces
3031
-Wno-format-truncation
3132
-Wno-init-self
3233
-Wno-nonnull-compare

config.h.cmake

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@
222222
#cmakedefine HAVE_SIGWAIT 1
223223
#cmakedefine HAVE_SIGWAITINFO 1
224224
#cmakedefine HAVE_SLEEP 1
225-
#cmakedefine HAVE_SNPRINTF 1
226225
#cmakedefine HAVE_STPCPY 1
227226
#cmakedefine HAVE_STRERROR 1
228227
#cmakedefine HAVE_STRCOLL 1
@@ -257,9 +256,6 @@
257256
#cmakedefine STRUCT_TIMESPEC_HAS_TV_SEC 1
258257
#cmakedefine STRUCT_TIMESPEC_HAS_TV_NSEC 1
259258

260-
#define USE_MB 1
261-
#define USE_MB_IDENT 1
262-
263259
/* this means that valgrind headers and macros are available */
264260
#cmakedefine HAVE_VALGRIND_MEMCHECK_H 1
265261

@@ -455,8 +451,8 @@
455451
#cmakedefine MYSQL_DEFAULT_CHARSET_NAME "@MYSQL_DEFAULT_CHARSET_NAME@"
456452
#cmakedefine MYSQL_DEFAULT_COLLATION_NAME "@MYSQL_DEFAULT_COLLATION_NAME@"
457453

458-
#cmakedefine USE_MB 1
459-
#cmakedefine USE_MB_IDENT 1
454+
#cmakedefine USE_MB
455+
#cmakedefine USE_MB_IDENT
460456

461457
/* This should mean case insensitive file system */
462458
#cmakedefine FN_NO_CASE_SENSE 1

configure.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ CHECK_FUNCTION_EXISTS (sigwait HAVE_SIGWAIT)
407407
CHECK_FUNCTION_EXISTS (sigwaitinfo HAVE_SIGWAITINFO)
408408
CHECK_FUNCTION_EXISTS (sigset HAVE_SIGSET)
409409
CHECK_FUNCTION_EXISTS (sleep HAVE_SLEEP)
410-
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
411410
CHECK_FUNCTION_EXISTS (stpcpy HAVE_STPCPY)
412411
CHECK_FUNCTION_EXISTS (strcoll HAVE_STRCOLL)
413412
CHECK_FUNCTION_EXISTS (strerror HAVE_STRERROR)

mysql-test/include/ipv6.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,3 @@ eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876');
2222
--replace_result ::1 localhost
2323
SELECT USER();
2424
eval DROP USER testuser1@'$IPv6';
25-

mysql-test/include/long_test.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
# We can use this to schedule such test early (to not be left with
33
# only one or two long tests running, and rests of works idle), or to
44
# run a quick test skipping long-running test cases.
5+
6+
--source include/no_valgrind_without_big.inc

mysql-test/include/master-slave.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
--source include/no_valgrind_without_big.inc
2+
13
# ==== Purpose ====
24
#
35
# Configure two servers to be replication master and slave.

mysql-test/main/alter_table.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
--source include/no_valgrind_without_big.inc
12
--source include/have_innodb.inc
23
#
34
# Test of alter table

mysql-test/main/compress.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Turn on compression between the client and server
22
# and run a number of tests
33

4+
# Too slow for valgrind
5+
--source include/no_valgrind_without_big.inc
46
# Can't test with embedded server
57
-- source include/not_embedded.inc
68
-- source include/have_compress.inc

0 commit comments

Comments
 (0)