Skip to content

Commit 45898c2

Browse files
committed
Merge remote-tracking branch 'origin/10.0' into 10.0
2 parents 0e3ca22 + 648d866 commit 45898c2

Some content is hidden

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

104 files changed

+574
-643
lines changed

client/mysqldump.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,6 +2142,7 @@ static void print_xml_comment(FILE *xml_file, size_t len,
21422142
case '-':
21432143
if (*(comment_string + 1) == '-') /* Only one hyphen allowed. */
21442144
break;
2145+
/* fall through */
21452146
default:
21462147
fputc(*comment_string, xml_file);
21472148
break;

extra/replace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ register char **argv[];
174174
break;
175175
case 'V':
176176
version=1;
177+
/* fall through */
177178
case 'I':
178179
case '?':
179180
help=1; /* Help text written */

mysql-test/t/mysqld--help.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
--source include/not_embedded.inc
55
--source include/have_perfschema.inc
6+
--source include/have_profiling.inc
67
--source include/platform.inc
78

89
#

mysql-test/unstable-tests

Lines changed: 66 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,64 @@
11
##############################################################################
22
#
33
# List the test cases which, unlike tests from disabled.def files,
4-
# can still be run on the current tree meaningfully, but are known
4+
# can still be run on the current tree meaningfully, but are known
55
# or suspected to fail sporadically on different reasons.
66
#
77
# Most common reasons are either test failures observed in buildbot,
8-
# or recent modifications to the tests which make their stability
9-
# unknown.
8+
# or recent modifications to the tests which make their stability
9+
# unknown.
1010
#
11-
# Tests included due to recent modifications are later removed from the
12-
# list, if during a certain period they do not fail (and are not
13-
# modified again). Tests included due to intermittent failures are
14-
# removed when corresponding bug reports are closed.
11+
# Tests included due to recent modifications are later removed from the
12+
# list, if during a certain period they do not fail (and are not
13+
# modified again). Tests included due to intermittent failures are
14+
# removed when corresponding bug reports are closed.
1515
#
1616
# Separate the test case name and the comment with ':'.
1717
#
1818
# <suitename>.<testcasename> : MDEV-xxxxx - <comment>
1919
#
2020
# '*' wildcard in testcase names is supported.
2121
#
22-
# To use the list, run MTR with --skip-test-list=unstable-tests option.
22+
# To use the list, run MTR with --skip-test-list=unstable-tests option.
2323
#
2424
##############################################################################
2525

26-
main.alter_table : Modified in 10.0.30
2726
main.count_distinct2 : MDEV-11768 - timeout
2827
main.create_delayed : MDEV-10605 - failed with timeout
2928
main.debug_sync : MDEV-10607 - internal error
30-
main.derived : Modified in 10.0.30
3129
main.derived_opt : MDEV-11768 - timeout
32-
main.events_restart : MDEV-11221 - assertion failure
33-
main.grant : Modified in 10.0.30
30+
main.derived_view : Modified in 10.0.31
31+
main.events_2 : Modified in 10.0.31
32+
main.events_slowlog : MDEV-12821 - wrong result
33+
main.func_regexp_pcre : Modified in 10.0.31
34+
main.gis : Modified in 10.0.31
3435
main.host_cache_size_functionality : MDEV-10606 - sporadic failure on shutdown
3536
main.index_intersect_innodb : MDEV-10643 - failed with timeout
3637
main.index_merge_innodb : MDEV-7142 - wrong result
3738
main.innodb_mysql_lock : MDEV-7861 - sporadic lock detection failure
38-
main.join_nested : Modified in 10.0.30
39+
main.loaddata : Modified in 10.0.31
40+
main.log_tables-big : Modified in 10.0.31
3941
main.mdev-504 : MDEV-10607 - sporadic "can't connect"
4042
main.mdev375 : MDEV-10607 - sporadic "can't connect"
4143
main.merge : MDEV-10607 - sporadic "can't connect"
42-
main.mysqldump : Modified in 10.0.30
44+
main.mysqld--help : Modified in 10.0.31
45+
main.mysqldump : Modified in 10.0.31
4346
main.mysqlhotcopy_myisam : MDEV-10995 - test hangs on debug build
4447
main.mysqltest : MDEV-9269 - fails on Alpha
45-
main.partition_innodb : Modified in 10.0.30
46-
main.partition_myisam : Modified in 10.0.30
4748
main.ps : MDEV-11017 - sporadic wrong Prepared_stmt_count
48-
main.range_vs_index_merge : Modified in 10.0.30
49-
main.repair_symlink-5543 : Modified in 10.0.30
5049
main.show_explain : MDEV-10674 - wrong result
51-
main.signal_demo3 : MDEV-11720 - Thread stack overrun on Solaris
52-
main.sp : Modified in 10.0.30
5350
main.sp_notembedded : MDEV-10607 - internal error
5451
main.sp-security : MDEV-10607 - sporadic "can't connect"
55-
main.subselect_innodb : MDEV-10614 - sporadic wrong results
56-
main.symlink-aria-11902 : Added in 10.0.30
57-
main.symlink-myisam-11902 : Added in 10.0.30
58-
main.table_elim : Modified in 10.0.30
59-
main.view : Modified in 10.0.30
52+
main.subselect4 : Modified in 10.0.31
53+
main.subselect_exists2in : Modified in 10.0.31
54+
main.subselect_innodb : MDEV-10614 - sporadic wrong results; modified in 10.0.31
55+
main.subselect_mat_cost_bugs : Modified in 10.0.31
56+
main.subselect_sj : Modified in 10.0.31
57+
main.subselect_sj_mat : Modified in 10.0.31
58+
main.subselect_sj2_mat : Modified in 10.0.31
59+
main.symlink : Modified in 10.0.31
60+
main.symlink-myisam-11902 : Modified in 10.0.31
61+
main.view : Modified in 10.0.31
6062
main.xa : MDEV-11769 - lock wait timeout
6163

6264
#----------------------------------------------------------------
@@ -70,23 +72,23 @@ archive.mysqlhotcopy_archive : MDEV-10995 - test hangs on debug build
7072
#----------------------------------------------------------------
7173

7274
binlog.binlog_commit_wait : MDEV-10150 - Error: too much time elapsed
73-
binlog.binlog_max_binlog_stmt_cache_size : Added in 10.0.30
7475
binlog.binlog_xa_recover : MDEV-8517 - Extra checkpoint
7576

7677
#----------------------------------------------------------------
7778

79+
connect.jdbc_new : Modified in 10.0.31
7880
connect.tbl : MDEV-9844, MDEV-10179 - sporadic crashes, valgrind warnings, wrong results
79-
connect.xml : Uses xsample2.xml modified in 10.0.30
80-
connect.xml_zip : Added in 10.0.30
81-
connect.zip : Added in 10.0.30
81+
82+
#----------------------------------------------------------------
83+
84+
csv.read_only : Added in 10.0.31
8285

8386
#----------------------------------------------------------------
8487

8588
engines/rr_trx.* : MDEV-10998 - tests not maintained
8689

8790
#----------------------------------------------------------------
8891

89-
federated_bug_35333 : Modified in 10.0.30
9092
federated.federatedx : MDEV-10617 - Wrong checksum, timeouts
9193
federated.federated_innodb : MDEV-10617, MDEV-10417 - Wrong checksum, timeouts, fails on Mips
9294
federated.federated_partition : MDEV-10417 - Fails on Mips
@@ -101,22 +103,19 @@ funcs_2/charset.* : MDEV-10999 - test not maintained
101103

102104
#----------------------------------------------------------------
103105

104-
innodb.alter_key_block_size-11757 : Added in 10.0.30
105-
innodb.binlog_consistent : MDEV-10618 - Server fails to start
106+
innodb.autoinc_debug : Added in 10.0.31
107+
innodb.binlog_consistent : MDEV-10618 - Server fails to start
106108
innodb.group_commit_crash_no_optimize_thread : MDEV-11770 - checksum mismatch
109+
innodb.innodb-alter-debug : Added in 10.0.31
110+
innodb.innodb-alter-nullable : Added in 10.0.31
107111
innodb.innodb-alter-table : MDEV-10619 - Testcase timeout
108-
innodb.innodb_blob_unrecoverable_crash : Modified in 10.0.30
109-
innodb.innodb_bug14676111 : Modified in 10.0.30
112+
innodb.innodb_bug14676111 : Modified in 10.0.31
110113
innodb.innodb_bug30423 : MDEV-7311 - Wrong number of rows in the plan
111-
innodb.innodb_bug59641 : Modified in 10.0.30
112-
innodb.innodb-get-fk : Modified in 10.0.30
114+
innodb.innodb-index-online-norebuild : Added in 10.0.31
115+
innodb.log_file_size : Modified in 10.0.31
113116
innodb.innodb_monitor : MDEV-10939 - Testcase timeout
114-
innodb.log_file_size : Added in 10.0.30
115-
innodb.read_only_recovery : Added in 10.0.30
116-
innodb.xa_recovery : Modified in 10.0.30
117117

118-
innodb_fts.create : Added in 10.0.30
119-
innodb_fts.innodb_fts_stopword_charset : MDEV-12052 - Crash on shutdown
118+
innodb_fts.innodb_fts_stopword_charset : MDEV-12052 - Crash on shutdown; modified in 10.0.31
120119

121120
#----------------------------------------------------------------
122121

@@ -134,29 +133,13 @@ multi_source.multisource : MDEV-10417 - Fails on Mips
134133
multi_source.simple : MDEV-4633 - Wrong slave status output
135134
multi_source.status_vars : MDEV-4632 - failed while waiting for Slave_received_heartbeats
136135

137-
138136
#----------------------------------------------------------------
139137

140-
oqgraph.regression_mdev6282 : Modified in 10.0.30
141-
oqgraph.regression_mdev6345 : Modified in 10.0.30
138+
myisam_debug : Modified in 10.0.31
142139

143140
#----------------------------------------------------------------
144141

145-
parts.partition_bigint_innodb : Added in 10.0.30
146-
parts.partition_bigint_myisam : Added in 10.0.30
147-
parts.partition_double_innodb : Added in 10.0.30
148-
parts.partition_double_myisam : Added in 10.0.30
149142
parts.partition_exch_qa_10 : MDEV-11765 - wrong result
150-
parts.partition_float_innodb : Modified in 10.0.30
151-
parts.partition_float_myisam : Modified in 10.0.30
152-
parts.partition_int_innodb : Modified in 10.0.30
153-
parts.partition_int_myisam : Modified in 10.0.30
154-
parts.partition_mediumint_innodb : Added in 10.0.30
155-
parts.partition_mediumint_myisam : Added in 10.0.30
156-
parts.partition_smallint_innodb : Added in 10.0.30
157-
parts.partition_smallint_myisam : Added in 10.0.30
158-
parts.partition_tinyint_innodb : Added in 10.0.30
159-
parts.partition_tinyint_myisam : Added in 10.0.30
160143

161144
#----------------------------------------------------------------
162145

@@ -165,7 +148,7 @@ perfschema.func_mutex : MDEV-5708 - fails for s390x
165148
perfschema.hostcache_ipv6_ssl : MDEV-10696 - crash on shutdown
166149
perfschema.socket_summary_by_event_name_func : MDEV-10622 - Socket summary tables do not match
167150
perfschema.stage_mdl_procedure : MDEV-11545 - Wrong result
168-
perfschema.threads_mysql : MDEV-12177 - Wrong result
151+
perfschema.start_server_1_digest : Added in 10.0.31
169152

170153
perfschema_stress.* : MDEV-10996 - tests not maintained
171154

@@ -191,13 +174,11 @@ rpl.rpl_ddl : MDEV-10417 - Fails on Mips
191174
rpl.rpl_gtid_crash : MDEV-9501 - Warning: failed registering on master
192175
rpl.rpl_gtid_stop_start : MDEV-10629 - Crash on shutdown
193176
rpl.rpl_gtid_until : MDEV-10625 - warnings in error log
194-
rpl.rpl_heartbeat_basic : Modified in 10.0.30
195177
rpl.rpl_innodb_bug30888 : MDEV-10417 - Fails on Mips
196178
rpl.rpl_insert : MDEV-9329 - Fails on Ubuntu/s390x
197179
rpl.rpl_insert_delayed : MDEV-9329 - Fails on Ubuntu/s390x
198180
rpl.rpl_invoked_features : MDEV-10417 - Fails on Mips
199181
rpl.rpl_mdev6020 : MDEV-10630, MDEV-10417 - Timeouts, fails on Mips
200-
rpl.rpl_mdev6386 : Modified in 10.0.30
201182
rpl.rpl_parallel : MDEV-10653 - Timeouts
202183
rpl.rpl_parallel_temptable : MDEV-10356 - Crash in close_thread_tables
203184
rpl.rpl_partition_innodb : MDEV-10417 - Fails on Mips
@@ -238,31 +219,46 @@ stress.ddl_innodb : MDEV-10635 - Testcase timeout
238219

239220
sys_vars.autocommit_func2 : MDEV-9329 - Fails on Ubuntu/s390x
240221
sys_vars.innodb_buffer_pool_dump_pct_basic : MDEV-10651 - sporadic failure on file_exists
241-
sys_vars.innodb_force_recovery_crash_basic : Modified in 10.0.30
242-
sys_vars.innodb_stats_include_delete_marked_basic : Added in 10.0.30
243222
sys_vars.innodb_status_output_basic : MDEV-12174 - Timeout
244-
sys_vars.secure_file_priv : Modified in 10.0.30
245223
sys_vars.thread_cache_size_func : MDEV-11775 - wrong result
246224

247225
#----------------------------------------------------------------
248226

227+
tokudb.background_job_manager : Modified in 10.0.31
228+
tokudb.bug-1657908 : Added in 10.0.31
229+
tokudb.card_auto_analyze_lots : Modified in 10.0.31
230+
tokudb.change_column_all_1000_10 : MDEV-12640 - Lost connection during query
231+
tokudb.change_column_bin : MDEV-12640 - Lost connection during query
232+
tokudb.change_column_char : MDEV-12822 - Lost connection during query
249233
tokudb.cluster_filter_unpack_varchar : MDEV-10636 - Wrong execution plan
234+
tokudb.dir_cmd : Added in 10.0.31
250235
tokudb.dir_per_db : MDEV-11537 - wrong result
251-
tokudb.dir_per_db_rename_to_nonexisting_schema : Added in 10.0.30
252-
tokudb.gap_lock_error : Added in 10.0.30
253-
tokudb.locks-select-update-3 : Modified in 10.0.30
254-
tokudb.percona_kill_idle_trx_tokudb : Added in 10.0.30
236+
tokudb.dir_per_db_rename_to_nonexisting_schema : MDEV-12823 - Valgrind
237+
tokudb.hotindex-update-1 : MDEV-12640 - Lost connection during query
238+
tokudb.i_s_tokudb_lock_waits_timeout : Modified in 10.0.31
239+
tokudb.i_s_tokudb_locks : Modified in 10.0.31
240+
tokudb.rows-32m-rand-insert : MDEV-12640 - Lost connection during query
241+
tokudb.rows-32m-seq-insert : MDEV-12640 - Lost connection during query
255242

256243
tokudb_backup.* : MDEV-11001 - tests don't work
244+
245+
tokudb_backup.backup_master_info : Added in 10.0.31
246+
tokudb_backup.backup_master_state : Added in 10.0.31
247+
tokudb_backup.empty_slave_info_file : Added in 10.0.31
248+
tokudb_backup.innodb_use_native_aio_enabled : Added in 10.0.31
249+
tokudb_backup.rpl_safe_slave : Added in 10.0.31
250+
tokudb_backup.rpl_tokudb_commit_sync : Added in 10.0.31
251+
257252
tokudb_bugs.checkpoint_lock : MDEV-10637 - Wrong processlist output
258253
tokudb_bugs.checkpoint_lock_3 : MDEV-10637 - Wrong processlist output
254+
tokudb_bugs.db233 : Modified in 10.0.31
255+
tokudb_bugs.frm_store2 : MDEV-12823 - Valgrind
256+
tokudb_bugs.leak172 : Modified in 10.0.31
259257
tokudb_bugs.xa : MDEV-11804 - Lock wait timeout
260258

261259
tokudb_rpl.* : MDEV-11001 - tests don't work
262260
tokudb_sys_vars.* : MDEV-11001 - tests don't work
263261

264-
rpl-tokudb.rpl_extra_col_slave_tokudb : Result file modified in 10.0.30
265-
266262
#----------------------------------------------------------------
267263

268264
unit.ma_test_loghandler : MDEV-10638 - record read not ok
@@ -272,10 +268,5 @@ unit.pfs : MySQL:84457 - unittest pft-t failing
272268

273269
vcol.not_supported : MDEV-10639 - Testcase timeout
274270
vcol.vcol_keys_innodb : MDEV-10639 - Testcase timeout
275-
vcol.vcol_misc : Modified in 10.0.30
276-
vcol.vcol_select_myisam : Modified in 10.0.30
277-
vcol.vcol_trigger_sp_innodb : Include file modified in 10.0.30
278-
vcol.vcol_trigger_sp_myisam : Include file modified in 10.0.30
279-
vcol.wrong_arena : Added in 10.0.30
280271

281272
#----------------------------------------------------------------

mysys/ma_dyncol.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4039,6 +4039,7 @@ mariadb_dyncol_val_double(double *dbl, DYNAMIC_COLUMN_VALUE *val)
40394039
*dbl= strtod(str, &end);
40404040
if (*end != '\0')
40414041
rc= ER_DYNCOL_TRUNCATED;
4042+
break;
40424043
}
40434044
case DYN_COL_DECIMAL:
40444045
if (decimal2double(&val->x.decimal.value, dbl) != E_DEC_OK)

sql/events.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
Copyright (c) 2005, 2013, Oracle and/or its affiliates.
3+
Copyright (c) 2017, MariaDB Corporation.
34
45
This program is free software; you can redistribute it and/or modify
56
it under the terms of the GNU General Public License as published by
@@ -242,6 +243,7 @@ Events::reconstruct_interval_expression(String *buf, interval_type interval,
242243
break;
243244
case INTERVAL_WEEK:
244245
expr/= 7;
246+
/* fall through */
245247
default:
246248
close_quote= FALSE;
247249
break;

sql/field.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9464,7 +9464,7 @@ bool Create_field::init(THD *thd, char *fld_name, enum_field_types fld_type,
94649464
case MYSQL_TYPE_DATE:
94659465
/* We don't support creation of MYSQL_TYPE_DATE anymore */
94669466
sql_type= MYSQL_TYPE_NEWDATE;
9467-
/* fall trough */
9467+
/* fall through */
94689468
case MYSQL_TYPE_NEWDATE:
94699469
length= MAX_DATE_WIDTH;
94709470
break;

sql/item.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Copyright (c) 2000, 2016, Oracle and/or its affiliates.
3-
Copyright (c) 2010, 2016, MariaDB
3+
Copyright (c) 2010, 2017, 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
@@ -5925,7 +5925,7 @@ Field *Item::tmp_table_field_from_field_type(TABLE *table, bool fixed_length)
59255925
collation.collation);
59265926
break;
59275927
}
5928-
/* Fall through to make_string_field() */
5928+
/* Fall through */
59295929
case MYSQL_TYPE_ENUM:
59305930
case MYSQL_TYPE_SET:
59315931
case MYSQL_TYPE_VAR_STRING:

sql/item_func.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Copyright (c) 2000, 2015, Oracle and/or its affiliates.
2-
Copyright (c) 2009, 2015, MariaDB
2+
Copyright (c) 2009, 2017, MariaDB
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -2034,6 +2034,7 @@ my_decimal *Item_func_mod::decimal_op(my_decimal *decimal_value)
20342034
return decimal_value;
20352035
case E_DEC_DIV_ZERO:
20362036
signal_divide_by_null();
2037+
/* fall through */
20372038
default:
20382039
null_value= 1;
20392040
return 0;

sql/item_strfunc.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5090,7 +5090,7 @@ bool Item_dyncol_get::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
50905090
goto null;
50915091
case DYN_COL_INT:
50925092
signed_value= 1; // For error message
5093-
/* fall_trough */
5093+
/* fall through */
50945094
case DYN_COL_UINT:
50955095
if (signed_value || val.x.ulong_value <= LONGLONG_MAX)
50965096
{
@@ -5103,7 +5103,7 @@ bool Item_dyncol_get::get_date(MYSQL_TIME *ltime, ulonglong fuzzy_date)
51035103
}
51045104
/* let double_to_datetime_with_warn() issue the warning message */
51055105
val.x.double_value= static_cast<double>(ULONGLONG_MAX);
5106-
/* fall_trough */
5106+
/* fall through */
51075107
case DYN_COL_DOUBLE:
51085108
if (double_to_datetime_with_warn(val.x.double_value, ltime, fuzzy_date,
51095109
0 /* TODO */))

0 commit comments

Comments
 (0)