Bug #1638 row IN subquery crash

Submitted: 23 Oct 2003 11:00 Modified: 23 Oct 2003 13:58
Reporter: Oleksandr Byelkin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1 OS:Any (any)
Assigned to: Oleksandr Byelkin CPU Architecture:Any

[23 Oct 2003 11:00] Oleksandr Byelkin
Description:
as reported by Viktoria Reznichenko following subquery crash server: 
select * from g1 where (1,2,6) in (select * from g2); 

How to repeat:
CREATE TABLE g1 ( 
  id int(11) default NULL 
) TYPE=MyISAM CHARSET=latin1; 
 
INSERT INTO g1 VALUES (1); 
INSERT INTO g1 VALUES (5); 
 
CREATE TABLE g2 ( 
  id int(11) default NULL 
) TYPE=MyISAM CHARSET=latin1; 
 
INSERT INTO g2 VALUES (2); 
INSERT INTO g2 VALUES (6); 
 
 
select * from g1 where (1,2,6) in (select * from g2);
[23 Oct 2003 13:58] Oleksandr Byelkin
ChangeSet 
  1.1621 03/10/23 23:54:21 bell@sanja.is.com.ua +3 -0 
  added check of cardinality to IN/ALL/ANY  subquery transformer 
  (BUG#1638)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.