Skip to content

Commit 2992807

Browse files
committed
Merge 10.6 into 10.7
2 parents 6524551 + 0a67daa commit 2992807

File tree

6 files changed

+20
-6
lines changed

6 files changed

+20
-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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@ 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'

mysql-test/suite/galera_3nodes/disabled.def

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

mysql-test/suite/galera_sr/disabled.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
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

storage/innobase/handler/handler0alter.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10101,6 +10101,7 @@ commit_try_rebuild(
1010110101
ha_innobase_inplace_ctx*ctx,
1010210102
TABLE* altered_table,
1010310103
const TABLE* old_table,
10104+
bool statistics_exist,
1010410105
trx_t* trx,
1010510106
const char* table_name)
1010610107
{
@@ -10171,7 +10172,9 @@ commit_try_rebuild(
1017110172
if (error == DB_SUCCESS) {
1017210173
/* The statistics for the surviving indexes will be
1017310174
re-inserted in alter_stats_rebuild(). */
10174-
error = trx->drop_table_statistics(old_name);
10175+
if (statistics_exist) {
10176+
error = trx->drop_table_statistics(old_name);
10177+
}
1017510178
if (error == DB_SUCCESS) {
1017610179
error = trx->drop_table(*user_table);
1017710180
}
@@ -11316,6 +11319,7 @@ ha_innobase::commit_inplace_alter_table(
1131611319

1131711320
if (commit_try_rebuild(ha_alter_info, ctx,
1131811321
altered_table, table,
11322+
table_stats && index_stats,
1131911323
trx,
1132011324
table_share->table_name.str)) {
1132111325
goto fail;

storage/innobase/include/fil0fil.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,9 +1547,10 @@ template<bool have_reference> inline void fil_space_t::flush()
15471547
}
15481548
else if (have_reference)
15491549
flush_low();
1550-
else if (!(acquire_low() & STOPPING))
1550+
else
15511551
{
1552-
flush_low();
1552+
if (!(acquire_low() & (STOPPING | CLOSING)))
1553+
flush_low();
15531554
release();
15541555
}
15551556
}

0 commit comments

Comments
 (0)