Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  foreign_key_check.result  Sprache: Lisp


CREATE TABLE t1 (
id       INT NOT NULL,
title    TEXT,
PRIMARY  KEY (id),
FULLTEXT KEY (title),
FOREIGN  KEY (id) REFERENCES t2 (id)
) ENGINE=InnoDB;
ERROR HY000: Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
CREATE TABLE t1 (
id       INT NOT NULL,
title    TEXT,
PRIMARY  KEY (id)
) ENGINE=InnoDB;
ALTER TABLE t1 ADD FULLTEXT KEY (title), ADD FOREIGN KEY (id) REFERENCES t2 (id);
ERROR HY000: Can'
t create temporary table for ALTER TABLE `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
SET FOREIGN_KEY_CHECKS = 0;
ALTER TABLE t1 ADD FULLTEXT KEY (title), ADD FOREIGN KEY (id) REFERENCES t2 (id);
DROP TABLE t1;
CREATE TABLE t1 (
id       INT NOT NULL,
title    TEXT,
PRIMARY  KEY (id),
FULLTEXT KEY (title),
FOREIGN  KEY (id) REFERENCES t2 (id)
) ENGINE=InnoDB;
DROP TABLE t1;
SET FOREIGN_KEY_CHECKS = 1;

Messung
CHZG
919710095

¤ Dauer der Verarbeitung: 0.3 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,236
#Domains=946,305