19 lines
778 B
Plaintext
19 lines
778 B
Plaintext
###############################################################################
|
|
# BUG#26518925 ASSERTION FAILURE IN INNODB IN-MEMORY TMP TABLE CODE (WL8117) #
|
|
# In temptable there is a possibility of row without fields, in query like #
|
|
# select distinct 1 from t1,t2 where t1.a=t2.a; #
|
|
###############################################################################
|
|
|
|
--source include/have_debug.inc
|
|
|
|
SET DEBUG='d';
|
|
CREATE TABLE t1 (a INT(10) UNSIGNED NOT NULL PRIMARY KEY,b INT(10) UNSIGNED);
|
|
INSERT INTO t1 VALUES (1,1),(2,1),(3,1),(4,1);
|
|
CREATE TABLE t2 (a INT(10) UNSIGNED, KEY(A), b text);
|
|
INSERT INTO t2 VALUES (1,'1'),(2,'2');
|
|
INSERT INTO t2 VALUES (1,'1'),(2,'2'),(1,'1'),(2,'2');
|
|
|
|
SELECT DISTINCT 1 FROM t1,t2 WHERE t1.a=t2.a;
|
|
|
|
DROP TABLE t1;
|
|
DROP TABLE t2; |