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.