My table definition:
CREATE TABLE x (
a INT NOT NULL,
FOREIGN KEY (a) REFERENCES a (id) ON UPDATE CASCADE ON DELETE CASCADE
) ENGINE = InnoDB;
which produces the following error:
ERROR 1005 (HY000): Can't create table './abc/x.frm' (errno: 150)
What does this mean?