Skip to content

Commit 3da36fa

Browse files
committed
Merge 10.6 into 10.11
2 parents d8962d1 + 8a4d3a0 commit 3da36fa

Some content is hidden

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

44 files changed

+2179
-252
lines changed

client/mysqltest.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2852,6 +2852,7 @@ do_result_format_version(struct st_command *command)
28522852
dynstr_append_mem(&ds_res, ds_version.str, ds_version.length);
28532853
dynstr_append_mem(&ds_res, STRING_WITH_LEN("\n"));
28542854
dynstr_free(&ds_version);
2855+
DBUG_VOID_RETURN;
28552856
}
28562857

28572858

mysql-test/main/long_unique_bugs.result

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,4 +770,42 @@ alter table t1 add constraint constraint_1 unique (a);
770770
Warnings:
771771
Note 1831 Duplicate index `constraint_1`. This is deprecated and will be disallowed in a future release
772772
drop table t1;
773+
#
774+
# MDEV-33675 assertion(reclength < vreclength) in setup_vcols_for_repair()
775+
#
776+
create table t (c1 bit, unique key(c1) using hash) engine=myisam;
777+
insert into t values (0);
778+
check table t;
779+
Table Op Msg_type Msg_text
780+
test.t check status OK
781+
insert into t values();
782+
select cast(c1 as unsigned) c1 from t;
783+
c1
784+
0
785+
NULL
786+
drop table t;
787+
create table t1 (c1 bit, c2 long as (c1) virtual, c3 char(10),
788+
c4 long as (c1) stored) engine=myisam;
789+
insert into t1 (c1, c3) values (1, "a");
790+
check table t1;
791+
Table Op Msg_type Msg_text
792+
test.t1 check status OK
793+
insert into t1 values();
794+
select hex(c1), hex(c2), c3, hex(c4) from t1;
795+
hex(c1) hex(c2) c3 hex(c4)
796+
1 01 a 01
797+
NULL NULL NULL NULL
798+
drop table t1;
799+
create table t1 (c1 bit, c2 long as (c1) virtual, c3 char(10),
800+
c4 long as (c1) stored) engine=aria;
801+
insert into t1 (c1, c3) values (1, "a");
802+
check table t1;
803+
Table Op Msg_type Msg_text
804+
test.t1 check status OK
805+
insert into t1 values();
806+
select hex(c1), hex(c2), c3, hex(c4) from t1;
807+
hex(c1) hex(c2) c3 hex(c4)
808+
1 01 a 01
809+
NULL NULL NULL NULL
810+
drop table t1;
773811
# End of 10.5 tests

mysql-test/main/long_unique_bugs.test

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,4 +745,30 @@ create table t1 (a blob unique);
745745
alter table t1 add constraint constraint_1 unique (a);
746746
drop table t1;
747747

748+
--echo #
749+
--echo # MDEV-33675 assertion(reclength < vreclength) in setup_vcols_for_repair()
750+
--echo #
751+
create table t (c1 bit, unique key(c1) using hash) engine=myisam;
752+
insert into t values (0);
753+
check table t;
754+
insert into t values();
755+
select cast(c1 as unsigned) c1 from t;
756+
drop table t;
757+
758+
create table t1 (c1 bit, c2 long as (c1) virtual, c3 char(10),
759+
c4 long as (c1) stored) engine=myisam;
760+
insert into t1 (c1, c3) values (1, "a");
761+
check table t1;
762+
insert into t1 values();
763+
select hex(c1), hex(c2), c3, hex(c4) from t1;
764+
drop table t1;
765+
766+
create table t1 (c1 bit, c2 long as (c1) virtual, c3 char(10),
767+
c4 long as (c1) stored) engine=aria;
768+
insert into t1 (c1, c3) values (1, "a");
769+
check table t1;
770+
insert into t1 values();
771+
select hex(c1), hex(c2), c3, hex(c4) from t1;
772+
drop table t1;
773+
748774
--echo # End of 10.5 tests

mysql-test/suite/galera/r/MDEV-29142.result

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ connection node_2;
4242
call mtr.add_suppression("WSREP: Failed to open table mysql\\.wsrep_streaming_log for writing");
4343
call mtr.add_suppression("WSREP: Failed to open SR table for write");
4444
call mtr.add_suppression("WSREP: Failed to recover SR transactions from schema: wsrep_on : 0");
45+
connection node_1;
46+
call mtr.add_suppression("WSREP: Cert position .* less than last committed");
47+
connection node_2;
48+
call mtr.add_suppression("WSREP: Cert position .* less than last committed");
4549
DROP TABLE IF EXISTS t1;

0 commit comments

Comments
 (0)