Bug #122 Server crash, official 3.23.55 and 4.0.11 Linux max binaries

Submitted: 5 Mar 2003 4:25 Modified: 11 Mar 2003 6:04
Reporter: Jani Tolonen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:3.23.55 and 4.0.11 OS:Linux (Linux (possibly others))
Assigned to: Jani Tolonen CPU Architecture:Any

[5 Mar 2003 4:25] Jani Tolonen
Description:
MySQL 3.23.55 and 4.0.11 official Linux MAX binaries at least crash directly
with the following sql file:

bug.sql:
---------------------------------------------------------
DROP TABLE IF EXISTS t1, t2;
CREATE TABLE t1 (
  id varchar(25) NOT NULL default '',
  emp_id varchar(30) NOT NULL default '',
  f2 varchar(10) default NULL,
  UNIQUE KEY semp (id, emp_id),
  KEY id (id)
) TYPE=MyISAM;
INSERT INTO t1 VALUES ('aaa','bbb','ccc');
INSERT INTO t1 VALUES ('aaa','ddd','ccc');
CREATE TABLE t2 (
  id varchar(25) NOT NULL default '',
  f2 varchar(10) NOT NULL default '',
  f3 float NOT NULL default '0',
  PRIMARY KEY  (id, f2),
  FULLTEXT KEY f2 (f2)
) TYPE=MyISAM;
INSERT INTO t2 VALUES ('aaa','ccc',20);
SELECT emp.f2, lr.f3
FROM t1 AS emp
LEFT JOIN t2 AS lr USING (id, f2)
WHERE emp.emp_id = 'bbb'
AND lr.id = 'aaa';
---------------------------------------------------------

How to repeat:
start server
mysql test < bug.sql
 

Suggested fix:
None yet. Debugging.
[11 Mar 2003 6:04] MySQL Verification Team
Monty fixed it in 3.23.56.

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

Page generated in 0.050 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.