Skip to content

Commit fb0808c

Browse files
committed
Merge 10.3 into 10.4
2 parents fb41117 + 8760f69 commit fb0808c

File tree

149 files changed

+2784
-1991
lines changed

Some content is hidden

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

149 files changed

+2784
-1991
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
[submodule "libmariadb"]
22
path = libmariadb
33
url = https://github.com/MariaDB/mariadb-connector-c.git
4+
ignore = all
45
[submodule "storage/rocksdb/rocksdb"]
56
path = storage/rocksdb/rocksdb
67
url = https://github.com/facebook/rocksdb.git
8+
ignore = all
79
[submodule "wsrep-lib"]
810
path = wsrep-lib
911
url = https://github.com/codership/wsrep-lib.git
1012
branch = master
13+
ignore = all
1114
[submodule "extra/wolfssl/wolfssl"]
1215
path = extra/wolfssl/wolfssl
1316
url = https://github.com/wolfSSL/wolfssl.git
17+
ignore = all

debian/additions/innotop/innotop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4937,7 +4937,7 @@ sub noecho_password {
49374937
};
49384938

49394939
if ( $EVAL_ERROR ) {
4940-
die "Cannot read respose; is Term::ReadKey installed? $EVAL_ERROR";
4940+
die "Cannot read response; is Term::ReadKey installed? $EVAL_ERROR";
49414941
}
49424942
return $response;
49434943
}

debian/additions/mysqlreport

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ sub set_myisam_vals
705705
{
706706
print "set_myisam_vals\n" if $op{debug};
707707

708-
# should be moved elsewere
708+
# should be moved elsewhere
709709
$questions = $stats{'Questions'};
710710

711711
$key_read_ratio = sprintf "%.2f",
@@ -1366,7 +1366,7 @@ format QCACHE =
13661366
__ Query Cache _________________________________________________________
13671367
Memory usage @>>>>>> of @>>>>>> %Usage: @>>>>>
13681368
make_short($qc_mem_used, 1), make_short($vars{'query_cache_size'}, 1), perc($qc_mem_used, $vars{'query_cache_size'})
1369-
Block Fragmnt @>>>>>%
1369+
Block Fragment @>>>>>%
13701370
perc($stats{'Qcache_free_blocks'}, $stats{'Qcache_total_blocks'})
13711371
Hits @>>>>>> @>>>>>/s
13721372
make_short($stats{'Qcache_hits'}), t($stats{'Qcache_hits'})

debian/mariadb-server-10.4.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ EOF
9999

100100
# This is important to avoid dataloss when there is a removed
101101
# mysql-server version from Woody lying around which used the same
102-
# data directory and then somewhen gets purged by the admin.
102+
# data directory and then somehow gets purged by the admin.
103103
db_set mariadb-server/postrm_remove_database false || true
104104

105105
# Clean up old flags before setting new one

extra/mariabackup/backup_copy.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,8 +1540,6 @@ bool backup_start(CorruptedPages &corrupted_pages)
15401540
if (!write_galera_info(mysql_connection)) {
15411541
return(false);
15421542
}
1543-
// copied from xtrabackup. what is it needed for here?
1544-
write_current_binlog_file(mysql_connection);
15451543
}
15461544

15471545
if (opt_binlog_info == BINLOG_INFO_ON) {

extra/mariabackup/backup_mysql.cc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,14 +1448,18 @@ write_galera_info(MYSQL *connection)
14481448

14491449
if ((state_uuid == NULL && state_uuid55 == NULL)
14501450
|| (last_committed == NULL && last_committed55 == NULL)) {
1451-
msg("Failed to get master wsrep state from SHOW STATUS.");
1452-
result = false;
1451+
msg("Warning: failed to get master wsrep state from SHOW STATUS.");
1452+
result = true;
14531453
goto cleanup;
14541454
}
14551455

14561456
result = backup_file_printf(XTRABACKUP_GALERA_INFO,
14571457
"%s:%s\n", state_uuid ? state_uuid : state_uuid55,
14581458
last_committed ? last_committed : last_committed55);
1459+
if (result)
1460+
{
1461+
write_current_binlog_file(connection);
1462+
}
14591463

14601464
cleanup:
14611465
free_mysql_variables(status);

include/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ SET(HEADERS
2525
mysql.h
2626
mysql_com.h
2727
mysql_com_server.h
28+
mariadb_capi_rename.h
2829
pack.h
2930
my_byteorder.h
3031
byte_order_generic.h

include/heap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ extern "C" {
3333
#include "my_compare.h"
3434
#include "my_tree.h"
3535

36-
/* defines used by heap-funktions */
36+
/* defines used by heap-functions */
3737

3838
#define HP_MAX_LEVELS4/* 128^5 records is enough */
3939
#define HP_PTRS_IN_NOD128
4040

41-
/* struct used with heap_funktions */
41+
/* struct used with heap_functions */
4242

4343
typedef struct st_heapinfo/* Struct from heap_info */
4444
{
@@ -107,7 +107,7 @@ typedef struct st_heap_block
107107
ulong last_allocated; /* number of records there is allocated space for */
108108
} HP_BLOCK;
109109

110-
struct st_heap_info;/* For referense */
110+
struct st_heap_info;/* For reference */
111111

112112
typedef struct st_hp_keydef/* Key definition with open */
113113
{

include/json_lib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ int json_find_paths_next(json_engine_t *je, json_find_paths_t *state);
372372

373373

374374
/*
375-
Converst JSON string constant into ordinary string constant
375+
Convert JSON string constant into ordinary string constant
376376
which can involve unpacking json escapes and changing character set.
377377
Returns negative integer in the case of an error,
378378
the length of the result otherwise.
@@ -383,7 +383,7 @@ int json_unescape(CHARSET_INFO *json_cs,
383383
uchar *res, uchar *res_end);
384384

385385
/*
386-
Converst ordinary string constant into JSON string constant.
386+
Convert ordinary string constant into JSON string constant.
387387
which can involve appropriate escaping and changing character set.
388388
Returns negative integer in the case of an error,
389389
the length of the result otherwise.

include/m_ctype.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
1515

1616
/*
17-
A better inplementation of the UNIX ctype(3) library.
17+
A better implementation of the UNIX ctype(3) library.
1818
*/
1919

2020
#ifndef _m_ctype_h
@@ -123,7 +123,7 @@ uint16 *my_uca_contraction2_weight(const MY_CONTRACTIONS *c,
123123
my_wc_t wc1, my_wc_t wc2);
124124

125125

126-
/* Collation weights on a single level (e.g. primary, secondary, tertiarty) */
126+
/* Collation weights on a single level (e.g. primary, secondary, tertiary) */
127127
typedef struct my_uca_level_info_st
128128
{
129129
my_wc_t maxchar;
@@ -998,7 +998,7 @@ uint32 my_convert(char *to, uint32 to_length, CHARSET_INFO *to_cs,
998998
An extended version of my_convert(), to pass non-default mb_wc() and wc_mb().
999999
For example, String::copy_printable() which is used in
10001000
Protocol::store_warning() uses this to escape control
1001-
and non-convertable characters.
1001+
and non-convertible characters.
10021002
*/
10031003
uint32 my_convert_using_func(char *to, size_t to_length, CHARSET_INFO *to_cs,
10041004
my_charset_conv_wc_mb mb_wc,
@@ -1086,7 +1086,7 @@ size_t my_convert_fix(CHARSET_INFO *dstcs, char *dst, size_t dst_length,
10861086
@param str - the beginning of the string
10871087
@param end - the string end (the next byte after the string)
10881088
@return >0, for a multi-byte character
1089-
@rerurn 0, for a single byte character, broken sequence, empty string.
1089+
@return 0, for a single byte character, broken sequence, empty string.
10901090
*/
10911091
static inline
10921092
uint my_ismbchar(CHARSET_INFO *cs, const char *str, const char *end)

0 commit comments

Comments
 (0)