Bug #6767 SELECT on key-fields crashes server when started with --debug

Submitted: 23 Nov 2004 11:18 Modified: 23 Nov 2004 14:50
Reporter: Hakan Küçükyılmaz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.0 alpha debug OS:Linux (Linux)
Assigned to: Sergei Golubchik CPU Architecture:Any

[23 Nov 2004 11:18] Hakan Küçükyılmaz
Description:
SELECT on key-fields crashes server when started with --debug

How to repeat:
Start following test with: ./mysql-test-run --debug server_crash

###################### server_crash.test######################
#                                                            #
#  test for 2013                                             #
#                                                            #
##############################################################

USE test;

SET GLOBAL sql_mode="ANSI_QUOTES,NO_BACKSLASH_ESCAPES,TRADITIONAL,IGNORE_SPACE";
SET SESSION sql_mode="ANSI_QUOTES,NO_BACKSLASH_ESCAPES,TRADITIONAL,IGNORE_SPACE";

--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

CREATE TABLE t1(
  a varchar(4),
  b varchar(120),
  c varchar(12),
  d char(1),
  PRIMARY KEY (a, b, c),
  KEY "t1~1" (c),
  KEY "t1~2" (b)
) ENGINE = InnoDB DEFAULT CHARSET=latin1;

SELECT c FROM t1 WHERE a = '' AND b = '';

DROP TABLE t1;
[23 Nov 2004 14:50] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

fixed in 5.0.2

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

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