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
@@ -2433,5 +2433,18 @@ Warnings:
2433
2433
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)
2434
2434
DROP FUNCTION f1;
2435
2435
DROP TABLE t1,t2;
2436
+
#
2437
+
# MDEV-10397: Server crashes in key_copy with join_cache_level > 2 and join on BIT fields
2438
+
#
2439
+
CREATE TABLE t1 (b1 BIT NOT NULL);
2440
+
INSERT INTO t1 VALUES (0),(1);
2441
+
CREATE TABLE t2 (b2 BIT NOT NULL);
2442
+
INSERT INTO t2 VALUES (0),(1);
2443
+
SET SESSION JOIN_CACHE_LEVEL = 3;
2444
+
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
@@ -2444,6 +2444,19 @@ Warnings:
2444
2444
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)
2445
2445
DROP FUNCTION f1;
2446
2446
DROP TABLE t1,t2;
2447
+
#
2448
+
# MDEV-10397: Server crashes in key_copy with join_cache_level > 2 and join on BIT fields
2449
+
#
2450
+
CREATE TABLE t1 (b1 BIT NOT NULL);
2451
+
INSERT INTO t1 VALUES (0),(1);
2452
+
CREATE TABLE t2 (b2 BIT NOT NULL);
2453
+
INSERT INTO t2 VALUES (0),(1);
2454
+
SET SESSION JOIN_CACHE_LEVEL = 3;
2455
+
SELECT t1.b1+'0' , t2.b2 + '0' FROM t1 LEFT JOIN t2 ON b1 = b2;
0 commit comments