Skip to content

Commit 86c3ba6

Browse files
committed
Merge 10.2 into bb-10.2-ext
2 parents 80b9ce3 + 742263d commit 86c3ba6

16 files changed

+200
-200
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ see the Credits appendix. You can also run 'SHOW authors' to get a
1717
list of active contributors.
1818

1919
A description of the MariaDB project and a manual can be found at:
20-
http://mariadb.org/
20+
https://mariadb.org/
2121
https://mariadb.com/kb/en/
2222
https://mariadb.com/kb/en/mariadb-vs-mysql-features/
2323
https://mariadb.com/kb/en/mariadb-versus-mysql-features/
@@ -55,9 +55,9 @@ Bug Reports:
5555
------------
5656

5757
Bug and/or error reports regarding MariaDB should be submitted at
58-
http://mariadb.org/jira
58+
https://mariadb.org/jira
5959

60-
Bugs in the MySQL code can also be submitted at http://bugs.mysql.com
60+
Bugs in the MySQL code can also be submitted at https://bugs.mysql.com
6161

6262
The code for MariaDB, including all revision history, can be found at:
6363
https://github.com/MariaDB/server

mysql-test/r/explain_json.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,12 +1525,12 @@ ANALYZE
15251525
"key_length": "5",
15261526
"used_key_parts": ["a"],
15271527
"ref": ["test.t3.a"],
1528-
"r_loops": 0,
1528+
"r_loops": 1,
15291529
"rows": 1,
1530-
"r_rows": null,
1530+
"r_rows": 10,
15311531
"r_total_time_ms": "REPLACED",
15321532
"filtered": 100,
1533-
"r_filtered": null,
1533+
"r_filtered": 100,
15341534
"index_condition_bka": "t4.b + 1 <= t3.b + 1"
15351535
},
15361536
"buffer_type": "flat",

mysql-test/suite/innodb/r/innodb-table-online.result

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ ROLLBACK;
167167
connection con1;
168168
KILL QUERY @id;
169169
ERROR 70100: Query execution was interrupted
170-
SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done';
170+
SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done';
171+
SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done';
171172
ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
172173
# session default
173174
connection default;
@@ -180,6 +181,10 @@ ddl_online_create_index 1
180181
ddl_pending_alter_table 1
181182
ddl_sort_file_alter_table 0
182183
ddl_log_file_alter_table 0
184+
BEGIN;
185+
INSERT INTO t1 VALUES(7,4,2);
186+
ROLLBACK;
187+
SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied';
183188
KILL QUERY @id;
184189
SET DEBUG_SYNC = 'now SIGNAL kill_done';
185190
# session con1
@@ -227,6 +232,7 @@ t1 CREATE TABLE `t1` (
227232
`c3` char(255) NOT NULL,
228233
PRIMARY KEY (`c1`)
229234
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT
235+
ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
230236
SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt2 WAIT_FOR dml2_done';
231237
SET lock_wait_timeout = 10;
232238
ALTER TABLE t1 ROW_FORMAT=COMPACT, ALGORITHM = INPLACE;

mysql-test/suite/innodb/r/truncate_debug.result

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#
22
# Bug #23070734 CONCURRENT TRUNCATE TABLES CAUSE STALLS
33
#
4+
SET @ahi= @@global.innodb_adaptive_hash_index;
5+
SET GLOBAL innodb_adaptive_hash_index=OFF;
6+
SET GLOBAL innodb_adaptive_hash_index=ON;
47
Test_1 :- Check if DDL operations are possible on
58
table being truncated. Also check if
69
DDL operations on other tables succeed.
@@ -81,6 +84,5 @@ connection con2;
8184
disconnect con2;
8285
connection default;
8386
SET DEBUG_SYNC= 'RESET';
84-
SET session lock_wait_timeout=default;
85-
set global innodb_adaptive_hash_index=on;
87+
SET GLOBAL innodb_adaptive_hash_index=@ahi;
8688
drop table t1,t2,t3;

mysql-test/suite/innodb/t/innodb-table-online.test

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,19 @@ let $ID= `SELECT @id := CONNECTION_ID()`;
158158
--error ER_QUERY_INTERRUPTED
159159
KILL QUERY @id;
160160

161-
SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR kill_done';
161+
SET DEBUG_SYNC = 'row_log_table_apply1_before SIGNAL rebuilt WAIT_FOR dml_done';
162+
SET DEBUG_SYNC = 'row_log_table_apply2_before SIGNAL applied WAIT_FOR kill_done';
162163
--send
163164
ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
164165

165166
--echo # session default
166167
connection default;
167168
SET DEBUG_SYNC = 'now WAIT_FOR rebuilt';
168169
eval $innodb_metrics_select;
170+
BEGIN;
171+
INSERT INTO t1 VALUES(7,4,2);
172+
ROLLBACK;
173+
SET DEBUG_SYNC = 'now SIGNAL dml_done WAIT_FOR applied';
169174
let $ignore= `SELECT @id := $ID`;
170175
KILL QUERY @id;
171176
SET DEBUG_SYNC = 'now SIGNAL kill_done';
@@ -201,6 +206,7 @@ WHERE variable_name = 'innodb_encryption_n_rowlog_blocks_encrypted');
201206
--echo # session con1
202207
connection con1;
203208
SHOW CREATE TABLE t1;
209+
ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
204210

205211
# Exceed the configured innodb_online_alter_log_max_size.
206212
# The actual limit is a multiple of innodb_sort_buf_size,

mysql-test/suite/innodb/t/truncate_debug.test

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
--echo # Bug #23070734 CONCURRENT TRUNCATE TABLES CAUSE STALLS
99
--echo #
1010

11+
SET @ahi= @@global.innodb_adaptive_hash_index;
12+
# Ensure that there is no adaptive hash index on any system tables,
13+
# or any other tables than the ones that we are creating below.
14+
SET GLOBAL innodb_adaptive_hash_index=OFF;
15+
SET GLOBAL innodb_adaptive_hash_index=ON;
16+
1117
--echo Test_1 :- Check if DDL operations are possible on
1218
--echo table being truncated. Also check if
1319
--echo DDL operations on other tables succeed.
@@ -115,8 +121,7 @@ disconnect con2;
115121
connection default;
116122
SET DEBUG_SYNC= 'RESET';
117123

118-
SET session lock_wait_timeout=default;
119-
set global innodb_adaptive_hash_index=on;
124+
SET GLOBAL innodb_adaptive_hash_index=@ahi;
120125

121126
drop table t1,t2,t3;
122127
--source include/wait_until_count_sessions.inc

mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@
662662
VARIABLE_NAME INNODB_VERSION
663663
SESSION_VALUE NULL
664664
-GLOBAL_VALUE 5.6.37
665-
+GLOBAL_VALUE 5.6.36-82.1
665+
+GLOBAL_VALUE 5.6.36-82.2
666666
GLOBAL_VALUE_ORIGIN COMPILE-TIME
667667
DEFAULT_VALUE NULL
668668
VARIABLE_SCOPE GLOBAL

0 commit comments

Comments
 (0)