You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/r/join_outer.result
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2342,5 +2342,18 @@ Warnings:
2342
2342
Note 1003 select `test`.`t1`.`col1` AS `col1`,`test`.`t2`.`col1` AS `col1`,`test`.`t2`.`col3` AS `col3` from `test`.`t1` left join `test`.`t2` on((`test`.`t2`.`col2` = `test`.`t1`.`col1`)) where (`f1`(`test`.`t2`.`col3`,0) = 0)
2343
2343
DROP FUNCTION f1;
2344
2344
DROP TABLE t1,t2;
2345
+
#
2346
+
# MDEV-10397: Server crashes in key_copy with join_cache_level > 2 and join on BIT fields
2347
+
#
2348
+
CREATE TABLE t1 (b1 BIT NOT NULL);
2349
+
INSERT INTO t1 VALUES (0),(1);
2350
+
CREATE TABLE t2 (b2 BIT NOT NULL);
2351
+
INSERT INTO t2 VALUES (0),(1);
2352
+
SET SESSION JOIN_CACHE_LEVEL = 3;
2353
+
SELECT t1.b1+'0' , t2.b2 + '0' FROM t1 LEFT JOIN t2 ON b1 = b2;
Copy file name to clipboardExpand all lines: mysql-test/r/join_outer_jcl6.result
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2353,6 +2353,19 @@ Warnings:
2353
2353
Note 1003 select `test`.`t1`.`col1` AS `col1`,`test`.`t2`.`col1` AS `col1`,`test`.`t2`.`col3` AS `col3` from `test`.`t1` left join `test`.`t2` on((`test`.`t2`.`col2` = `test`.`t1`.`col1`)) where (`f1`(`test`.`t2`.`col3`,0) = 0)
2354
2354
DROP FUNCTION f1;
2355
2355
DROP TABLE t1,t2;
2356
+
#
2357
+
# MDEV-10397: Server crashes in key_copy with join_cache_level > 2 and join on BIT fields
2358
+
#
2359
+
CREATE TABLE t1 (b1 BIT NOT NULL);
2360
+
INSERT INTO t1 VALUES (0),(1);
2361
+
CREATE TABLE t2 (b2 BIT NOT NULL);
2362
+
INSERT INTO t2 VALUES (0),(1);
2363
+
SET SESSION JOIN_CACHE_LEVEL = 3;
2364
+
SELECT t1.b1+'0' , t2.b2 + '0' FROM t1 LEFT JOIN t2 ON b1 = b2;
0 commit comments