Skip to content

Commit 6cdbf20

Browse files
committed
MDEV-11108: adjusted test results
1 parent 50831b0 commit 6cdbf20

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

mysql-test/r/subselect_sj2_jcl6.result

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,19 @@ id
13331333
1
13341334
2
13351335
drop table t1,t2,t3;
1336+
#
1337+
# MDEV-11108: Assertion `uniq_tuple_length_arg <= table->file->max_key_length()' failed in SJ_TMP_TABLE::create_sj_weedout_tmp_table
1338+
#
1339+
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
1340+
CREATE TABLE t2 (pk BLOB, b INT, PRIMARY KEY(pk(1000))) ENGINE=InnoDB;
1341+
CREATE TABLE t3 (c INT) ENGINE=InnoDB;
1342+
CREATE OR REPLACE ALGORITHM=MERGE VIEW v3 AS SELECT * FROM t3;
1343+
INSERT INTO t3 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
1344+
SELECT * FROM t1, t2
1345+
WHERE a IN ( SELECT b FROM t2 LEFT JOIN v3 ON ( c = b ) ) ;
1346+
a pk b
1347+
DROP TABLE t1,t2,t3;
1348+
DROP VIEW v3;
13361349
# This must be the last in the file:
13371350
set optimizer_switch=@subselect_sj2_tmp;
13381351
#

mysql-test/r/subselect_sj2_mat.result

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,19 @@ id
13201320
1
13211321
2
13221322
drop table t1,t2,t3;
1323+
#
1324+
# MDEV-11108: Assertion `uniq_tuple_length_arg <= table->file->max_key_length()' failed in SJ_TMP_TABLE::create_sj_weedout_tmp_table
1325+
#
1326+
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
1327+
CREATE TABLE t2 (pk BLOB, b INT, PRIMARY KEY(pk(1000))) ENGINE=InnoDB;
1328+
CREATE TABLE t3 (c INT) ENGINE=InnoDB;
1329+
CREATE OR REPLACE ALGORITHM=MERGE VIEW v3 AS SELECT * FROM t3;
1330+
INSERT INTO t3 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
1331+
SELECT * FROM t1, t2
1332+
WHERE a IN ( SELECT b FROM t2 LEFT JOIN v3 ON ( c = b ) ) ;
1333+
a pk b
1334+
DROP TABLE t1,t2,t3;
1335+
DROP VIEW v3;
13231336
# This must be the last in the file:
13241337
set optimizer_switch=@subselect_sj2_tmp;
13251338
set optimizer_switch=default;

0 commit comments

Comments
 (0)