Skip to content

Commit de078e0

Browse files
committed
Merge 10.4 into 10.5
2 parents 2154a1f + 3708bef commit de078e0

File tree

108 files changed

+923
-551
lines changed

Some content is hidden

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

108 files changed

+923
-551
lines changed

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
@@ -328,11 +328,7 @@ static int write_to_table(char *filename, MYSQL *mysql)
328328
{
329329
if (verbose)
330330
fprintf(stdout, "Deleting the old data from table %s\n", tablename);
331-
#ifdef HAVE_SNPRINTF
332331
snprintf(sql_statement, FN_REFLEN*16+256, "DELETE FROM %s", tablename);
333-
#else
334-
sprintf(sql_statement, "DELETE FROM %s", tablename);
335-
#endif
336332
if (mysql_query(mysql, sql_statement))
337333
{
338334
db_error_with_table(mysql, tablename);

config.h.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@
221221
#cmakedefine HAVE_SIGWAIT 1
222222
#cmakedefine HAVE_SIGWAITINFO 1
223223
#cmakedefine HAVE_SLEEP 1
224-
#cmakedefine HAVE_SNPRINTF 1
225224
#cmakedefine HAVE_STPCPY 1
226225
#cmakedefine HAVE_STRERROR 1
227226
#cmakedefine HAVE_STRCOLL 1

configure.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ CHECK_FUNCTION_EXISTS (sigwait HAVE_SIGWAIT)
406406
CHECK_FUNCTION_EXISTS (sigwaitinfo HAVE_SIGWAITINFO)
407407
CHECK_FUNCTION_EXISTS (sigset HAVE_SIGSET)
408408
CHECK_FUNCTION_EXISTS (sleep HAVE_SLEEP)
409-
CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)
410409
CHECK_FUNCTION_EXISTS (stpcpy HAVE_STPCPY)
411410
CHECK_FUNCTION_EXISTS (strcoll HAVE_STRCOLL)
412411
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

mysql-test/main/ctype_big5.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_big5.inc
23

34
#

mysql-test/main/ctype_gb2312.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_gb2312.inc
23

34
#

0 commit comments

Comments
 (0)