Skip to content

Commit 3217ecd

Browse files
committed
Merge 10.9 into 10.10
2 parents fc9d350 + 9b3eae8 commit 3217ecd

File tree

6 files changed

+23
-6
lines changed

6 files changed

+23
-6
lines changed

debian/additions/debian-start.inc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function check_for_crashed_tables() {
2727
select concat('\''select count(*) into @discard from `'\'',
2828
TABLE_SCHEMA, '\''`.`'\'', TABLE_NAME, '\''`'\'')
2929
from information_schema.TABLES where TABLE_SCHEMA<>'\''INFORMATION_SCHEMA'\'' and TABLE_SCHEMA<>'\''PERFORMANCE_SCHEMA'\'' and ( ENGINE='\''MyISAM'\'' or ENGINE='\''Aria'\'' )' | \
30-
xargs -i "${MARIADB}" --skip-column-names --silent --batch \
30+
xargs -i ${MARIADB} --skip-column-names --silent --batch \
3131
--force -e "{}" &>"${tempfile}"
3232
set -e
3333

@@ -72,7 +72,7 @@ function check_root_accounts() {
7272

7373
logger -p daemon.info -i -t"$0" "Checking for insecure root accounts."
7474

75-
ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | "$MARIADB" --skip-column-names )
75+
ret=$( echo "SELECT count(*) FROM mysql.user WHERE user='root' and password='' and plugin in ('', 'mysql_native_password', 'mysql_old_password');" | $MARIADB --skip-column-names )
7676
if [ "$ret" -ne "0" ]; then
7777
logger -p daemon.warn -i -t"$0" "WARNING: mysql.user contains $ret root accounts without password!"
7878
fi

mysql-test/suite/galera/disabled.def

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ galera_var_notify_ssl_ipv6 : MDEV-29861 Galera test case hangs
2020
galera_var_node_address : MDEV-20485 Galera test failure
2121
MDEV-26575 : MDEV-29878 Galera test failure on MDEV-26575
2222
galera_bf_abort_shutdown : MDEV-29918 Assertion failure on galera_bf_abort_shutdown
23+
# Links to below failures in MDEV-30172
2324
galera_wan : [ERROR] WSREP: /home/buildbot/buildbot/build/gcs/src/gcs_state_msg.cpp:gcs_state_msg_get_quorum():947: Failed to establish quorum.
25+
galera_var_ignore_apply_errors : 28: "Server did not transition to READY state"
26+
galera_bf_kill_debug : timeout after 900 seconds
27+
galera_ssl_upgrade : [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 130: Incorrect file format 'gtid_slave_pos'
28+
galera_parallel_simple : timeout related to wsrep_sync_wait

mysql-test/suite/galera_3nodes/disabled.def

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ galera_vote_rejoin_mysqldump : MDEV-24481: galera_3nodes.galera_vote_rejoin_mysq
2020
galera_ssl_reload : MDEV-30172 At line 50: mysql_shutdown failed
2121
GCF-354 : mysqltest: At line 39: query 'DROP TABLE test.t1' failed: 1047: WSREP has not yet prepared node for application use
2222
GCF-354 : mysqltest: At line 30: query 'INSERT INTO test.t1 values (1)' failed: 1180: Got error 6 "No such device or address"
23+
galera_ipv6_mysqldump : mysql_shutdown failed
24+
# Opensuse/suse/rocky9/rocky84/rhel9/rhel8-ppc64le .. - all same IPv6 isn't configured right or skipping or galera
25+
galera_ipv6_mysqldump : Can't connect to server on '::1' (115)
26+
galera_ipv6_rsync : Can't connect to server on '::1' (115)
27+
galera_ipv6_rsync_section : Can't connect to server on '::1' (115)

mysql-test/suite/galera_sr/disabled.def

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@
1212

1313
GCF-1060 : MDEV-26528 wrong usage of mutex LOCK_thd_kill and LOCK_thd_kill
1414
galera_sr_cc_master : MDEV-29882 Galera test failure on galera_sr_cc_master
15-
15+
mysql-wsrep-features#138 : At line 25: query 'DROP TABLE t1' failed: 2013: Lost connection to MySQL server during query
16+
# Links to below failures in MDEV-30172
17+
MDEV-25718 : timeout related to wsrep_sync_wait and DEBUG_SYNC

storage/innobase/handler/handler0alter.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10120,6 +10120,7 @@ commit_try_rebuild(
1012010120
ha_innobase_inplace_ctx*ctx,
1012110121
TABLE* altered_table,
1012210122
const TABLE* old_table,
10123+
bool statistics_exist,
1012310124
trx_t* trx,
1012410125
const char* table_name)
1012510126
{
@@ -10190,7 +10191,9 @@ commit_try_rebuild(
1019010191
if (error == DB_SUCCESS) {
1019110192
/* The statistics for the surviving indexes will be
1019210193
re-inserted in alter_stats_rebuild(). */
10193-
error = trx->drop_table_statistics(old_name);
10194+
if (statistics_exist) {
10195+
error = trx->drop_table_statistics(old_name);
10196+
}
1019410197
if (error == DB_SUCCESS) {
1019510198
error = trx->drop_table(*user_table);
1019610199
}
@@ -11335,6 +11338,7 @@ ha_innobase::commit_inplace_alter_table(
1133511338

1133611339
if (commit_try_rebuild(ha_alter_info, ctx,
1133711340
altered_table, table,
11341+
table_stats && index_stats,
1133811342
trx,
1133911343
table_share->table_name.str)) {
1134011344
goto fail;

storage/innobase/include/fil0fil.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,9 +1534,10 @@ template<bool have_reference> inline void fil_space_t::flush()
15341534
}
15351535
else if (have_reference)
15361536
flush_low();
1537-
else if (!(acquire_low() & STOPPING))
1537+
else
15381538
{
1539-
flush_low();
1539+
if (!(acquire_low() & (STOPPING | CLOSING)))
1540+
flush_low();
15401541
release();
15411542
}
15421543
}

0 commit comments

Comments
 (0)