Puo' essere che se la tabella padre NON e' stata dichiarata come InnoDB, mi da l'errore?
Mi potete confermare questo dubbio?