Bug #6451 failing create table givers "ghost" tables which are impossible to remove

Submitted: 5 Nov 2004 5:12 Modified: 8 Nov 2004 11:50
Reporter: Tomas Ulin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:4.1.8 bk OS:Any (any)
Assigned to: Jonas Oreland CPU Architecture:Any

[5 Nov 2004 5:12] Tomas Ulin
Description:
mysql> CREATE TABLE `popmail` (
    ->        `id` varchar(255) NOT NULL default '',
    ->        `bytes` varchar(255) default NULL,
    ->        `message` longtext,
    ->        PRIMARY KEY  (`id`),
    ->        UNIQUE KEY `PRI` (`id`)
    ->      ) TYPE=NDBCLUSTER;
ERROR 1005 (HY000): Can't create table './test/popmail.frm' (errno: 738)

a ndb_show_tables show afterwards

28    UserTable            Online   Yes     test         def      popmail

trying to remove the table fails...

ndb_drop_table -d test popmail
Dropping table popmail...
709: No such table existed

NDBT_ProgramExit: 1 - Failed

How to repeat:
CREATE TABLE `popmail` (
       `id` varchar(255) NOT NULL default '',
       `bytes` varchar(255) default NULL,
       `message` longtext,
       PRIMARY KEY  (`id`),
       UNIQUE KEY `PRI` (`id`)
     ) TYPE=NDBCLUSTER;

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.