Bug #7377 SHOW index on MERGE table crashes debug server
Submitted: 17 Dec 2004 8:24 Modified: 28 Jan 2005 1:03
Reporter: Hartmut Holzgraefe
Status: Closed
Category:Server Severity:S3 (Non-critical)
Version:4.1.7 OS:Linux (linux, solaris)
Assigned to: Timour Katchaounov Target Version:

[17 Dec 2004 8: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 1:03] Paul DuBois
Mentioned in 4.1.10 change notes.