Bug #7377 SHOW index on MERGE table crashes debug server

Submitted: 17 Dec 2004 7:24 Modified: 28 Jan 2005 0:03
Reporter: Hartmut Holzgraefe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.7 OS:Linux (linux, solaris)
Assigned to: Timour Katchaounov CPU Architecture:Any

[17 Dec 2004 7:24] Hartmut Holzgraefe
Description:
The handler class defines the index_type() member function as:

  virtual const char *index_type(uint key_number) { DBUG_ASSERT(0); return "";}

The merge handler class does not provide its own index_type() implementation
so the assertion will always fail for merge tables.

How to repeat:
using a debug server do:

SHOW INDEX FROM some_merge_table; 

Suggested fix:
implement index_type() in the merge handler class or drop the assertion
[28 Jan 2005 0:03] Paul DuBois
Mentioned in 4.1.10 change notes.

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.