Skip to content

Commit d8b8adc

Browse files
committed
Merge 10.11 into 11.0
2 parents 590036b + 2b8dc76 commit d8b8adc

40 files changed

+232
-260
lines changed

include/my_pthread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,10 @@ extern void my_mutex_end(void);
673673
by GCC 12.3.0, GCC 13.2.0, or clang 16.0.6
674674
would fail ./mtr main.1st when the stack size is 5 MiB.
675675
The minimum is more than 6 MiB for CMAKE_BUILD_TYPE=RelWithDebInfo and
676-
more than 8 MiB for CMAKE_BUILD_TYPE=Debug.
676+
more than 10 MiB for CMAKE_BUILD_TYPE=Debug.
677677
Let us add some safety margin.
678678
*/
679-
# define DEFAULT_THREAD_STACK (10L<<20)
679+
# define DEFAULT_THREAD_STACK (11L<<20)
680680
# else
681681
# define DEFAULT_THREAD_STACK (292*1024L) /* 299008 */
682682
# endif

mysql-test/main/type_timestamp.result

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ t1 CREATE TABLE `t1` (
13701370
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
13711371
drop table t1;
13721372
#
1373-
# End of 10.10 tests
1373+
# End of 10.5 tests
13741374
#
13751375
#
13761376
# MDEV-32203 Raise notes when an index cannot be used on data type mismatch
@@ -1491,3 +1491,4 @@ indexed_col not_indexed_col
14911491
DROP TABLE t2;
14921492
DROP TABLE t1;
14931493
SET note_verbosity=DEFAULT;
1494+
# End of 10.6 tests

mysql-test/main/type_timestamp.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ show create table t1;
921921
drop table t1;
922922

923923
--echo #
924-
--echo # End of 10.10 tests
924+
--echo # End of 10.5 tests
925925
--echo #
926926

927927
--echo #
@@ -941,3 +941,5 @@ DELIMITER ;$$
941941
--source unusable_keys_joins.inc
942942
DROP TABLE t1;
943943
SET note_verbosity=DEFAULT;
944+
945+
--echo # End of 10.6 tests

mysql-test/suite/encryption/r/corrupted_during_recovery.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ INSERT INTO t2 VALUES(2);
99
SELECT * FROM t1;
1010
ERROR 42000: Unknown storage engine 'InnoDB'
1111
SELECT * FROM t1;
12-
ERROR HY000: Table test/t1 is corrupted. Please drop the table and recreate.
12+
Got one of the listed errors
1313
SELECT * FROM t2;
1414
a
1515
2

mysql-test/suite/encryption/t/corrupted_during_recovery.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ call mtr.add_suppression("Table .*t1.* is corrupted. Please drop the table and r
6060
let $restart_parameters=--innodb_force_recovery=1 --skip-innodb-buffer-pool-load-at-startup;
6161
--source include/restart_mysqld.inc
6262

63-
--error ER_TABLE_CORRUPT
63+
--error ER_NO_SUCH_TABLE_IN_ENGINE,ER_TABLE_CORRUPT
6464
SELECT * FROM t1;
6565
SELECT * FROM t2;
6666
CHECK TABLE t2;

mysql-test/suite/galera/disabled.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ mdev-31285 : MDEV-25089 Assertion `error.len > 0' failed in galera::ReplicatorSM
2929
galera_var_ignore_apply_errors : MENT-1997 galera_var_ignore_apply_errors test freezes
3030
MW-402 : temporarily disabled at the request of Codership
3131
MDEV-22232 : temporarily disabled at the request of Codership
32+
galera_desync_overlapped : MDEV-21538 galera_desync_overlapped MTR failed: Result content mismatch
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
connection node_2;
2+
connection node_1;
3+
connection node_1;
4+
CREATE TABLE t1 (f1 int primary key, f2 int);
5+
INSERT INTO t1 VALUES (1,0);
6+
BEGIN;
7+
INSERT INTO t1 VALUES (2,4),(1,1);
8+
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
9+
COMMIT;
10+
Writesets replicated (expect 0)
11+
0
12+
connection node_1;
13+
SELECT * FROM t1;
14+
f1 f2
15+
1 0
16+
connection node_2;
17+
SELECT * FROM t1;
18+
f1 f2
19+
1 0
20+
DROP TABLE t1;
21+
connection node_1;
22+
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 INTEGER);
23+
INSERT INTO t1 VALUES (1,0);
24+
INSERT INTO t1 VALUES (2,4), (1,1);
25+
ERROR 23000: Duplicate entry '1' for key 'PRIMARY'
26+
Writesets replicated (expect 0)
27+
0
28+
connection node_1;
29+
SELECT * FROM t1;
30+
f1 f2
31+
1 0
32+
connection node_2;
33+
SELECT * FROM t1;
34+
f1 f2
35+
1 0
36+
DROP TABLE t1;

mysql-test/suite/galera/r/galera_gcache_recover_manytrx.result

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,19 @@ Killing server ...
100100
connection node_1;
101101
Killing server ...
102102
connection node_1_insert_simple;
103-
ERROR HY000: Lost connection to server during query
103+
Got one of the listed errors
104104
connection node_1_insert_multi;
105-
ERROR HY000: Lost connection to server during query
105+
Got one of the listed errors
106106
connection node_1_insert_transaction;
107-
ERROR HY000: Lost connection to server during query
107+
Got one of the listed errors
108108
connection node_1_update_simple;
109-
ERROR HY000: Lost connection to server during query
109+
Got one of the listed errors
110110
connection node_1_insert_1k;
111-
ERROR HY000: Lost connection to server during query
111+
Got one of the listed errors
112112
connection node_1_insert_1m;
113-
ERROR HY000: Lost connection to server during query
113+
Got one of the listed errors
114114
connection node_1_insert_10m;
115-
ERROR HY000: Lost connection to server during query
115+
Got one of the listed errors
116116
connection node_1;
117117
Performing --wsrep-recover ...
118118
Using --wsrep-start-position when starting mysqld ...

mysql-test/suite/galera/t/MDEV-22232.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SET DEBUG_SYNC = 'create_table_select_before_create SIGNAL may_alter WAIT_FOR bf
2828
--connection node_1
2929
SET DEBUG_SYNC = 'now WAIT_FOR may_alter';
3030
--disable_result_log
31-
--error ER_ERROR_ON_RENAME
31+
--error ER_CANT_DROP_FIELD_OR_KEY
3232
ALTER TABLE t1 DROP FOREIGN KEY b, ALGORITHM=COPY;
3333
--enable_result_log
3434

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[binlogon]
2+
log-bin
3+
log-slave-updates=ON
4+
5+
[binlogoff]

0 commit comments

Comments
 (0)