mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Re-record some results
This commit is contained in:
@ -44,7 +44,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table '`test`.`t2`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near ' foreign key (b) references t2(b)'.
|
Warning 150 Alter table '`test`.`t2`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near ' foreign key (b) references t2(b)'.
|
||||||
Error 1005 Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `t2`
|
||||||
drop table t2, t1;
|
drop table t2, t1;
|
||||||
create table t1 (f1 integer primary key) engine=innodb;
|
create table t1 (f1 integer primary key) engine=innodb;
|
||||||
alter table t1 add constraint c1 foreign key (f1) references t11(f1);
|
alter table t1 add constraint c1 foreign key (f1) references t11(f1);
|
||||||
@ -53,7 +53,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table `test`.`t1` with foreign key constraint failed. Referenced table `test`.`t11` not found in the data dictionary near ' foreign key (f1) references t11(f1)'.
|
Warning 150 Alter table `test`.`t1` with foreign key constraint failed. Referenced table `test`.`t11` not found in the data dictionary near ' foreign key (f1) references t11(f1)'.
|
||||||
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `t1`
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create temporary table t1(a int not null primary key, b int, key(b)) engine=innodb;
|
create temporary table t1(a int not null primary key, b int, key(b)) engine=innodb;
|
||||||
create temporary table t2(a int, foreign key(a) references t1(a)) engine=innodb;
|
create temporary table t2(a int, foreign key(a) references t1(a)) engine=innodb;
|
||||||
@ -83,7 +83,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table `mysqld.1`.`t1` with foreign key constraint failed. Referenced table `mysqld.1`.`t1` not found in the data dictionary near 'foreign key(b) references t1(a)'.
|
Warning 150 Alter table `mysqld.1`.`t1` with foreign key constraint failed. Referenced table `mysqld.1`.`t1` not found in the data dictionary near 'foreign key(b) references t1(a)'.
|
||||||
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `t1`
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1(a int not null primary key, b int, key(b)) engine=innodb;
|
create table t1(a int not null primary key, b int, key(b)) engine=innodb;
|
||||||
alter table t1 add foreign key(a,b) references t1(a);
|
alter table t1 add foreign key(a,b) references t1(a);
|
||||||
@ -106,7 +106,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table `test`.`t1` with foreign key constraint failed. You have defined a SET NULL condition but column 'f1' is defined as NOT NULL in ' foreign key (f1) references t1(f1) on update set null' near ' on update set null'.
|
Warning 150 Alter table `test`.`t1` with foreign key constraint failed. You have defined a SET NULL condition but column 'f1' is defined as NOT NULL in ' foreign key (f1) references t1(f1) on update set null' near ' on update set null'.
|
||||||
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`t1` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `t1`
|
||||||
create table t2(a int not null, foreign key(a) references t1(f1) on delete set null) engine=innodb;
|
create table t2(a int not null, foreign key(a) references t1(f1) on delete set null) engine=innodb;
|
||||||
ERROR HY000: Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
ERROR HY000: Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
show warnings;
|
show warnings;
|
||||||
|
@ -67,7 +67,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table `test`.`t2` with foreign key constraint failed. Referenced table `test`.`t3` not found in the data dictionary near ' FOREIGN KEY (f3) REFERENCES t3 (id) ON DELETE CASCADE'.
|
Warning 150 Alter table `test`.`t2` with foreign key constraint failed. Referenced table `test`.`t3` not found in the data dictionary near ' FOREIGN KEY (f3) REFERENCES t3 (id) ON DELETE CASCADE'.
|
||||||
Error 1005 Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`t2` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `t2`
|
||||||
drop table t2;
|
drop table t2;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
CREATE DATABASE kg_test1;
|
CREATE DATABASE kg_test1;
|
||||||
|
@ -1526,7 +1526,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
||||||
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `child`
|
||||||
ALTER TABLE parent DROP INDEX idx1;
|
ALTER TABLE parent DROP INDEX idx1;
|
||||||
ALTER TABLE child ADD FOREIGN KEY(p) REFERENCES parent(p);
|
ALTER TABLE child ADD FOREIGN KEY(p) REFERENCES parent(p);
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
@ -1534,7 +1534,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is no index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
||||||
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `child`
|
||||||
ALTER TABLE child DROP INDEX idx2;
|
ALTER TABLE child DROP INDEX idx2;
|
||||||
ALTER TABLE child ADD FOREIGN KEY(p) REFERENCES parent(p);
|
ALTER TABLE child ADD FOREIGN KEY(p) REFERENCES parent(p);
|
||||||
Got one of the listed errors
|
Got one of the listed errors
|
||||||
@ -1542,7 +1542,7 @@ show warnings;
|
|||||||
Level Code Message
|
Level Code Message
|
||||||
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is only prefix index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
Warning 150 Alter table '`test`.`child`' with foreign key constraint failed. There is only prefix index in the referenced table where the referenced columns appear as the first columns near 'FOREIGN KEY(p) REFERENCES parent(p)'.
|
||||||
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
Error 1005 Can't create table `test`.`child` (errno: 150 "Foreign key constraint is incorrectly formed")
|
||||||
Warning 1215 Cannot add foreign key constraint
|
Warning 1215 Cannot add foreign key constraint for `child`
|
||||||
DROP TABLE child, parent;
|
DROP TABLE child, parent;
|
||||||
#
|
#
|
||||||
# Bug#28763: Selecting geometry fields in UNION caused server crash.
|
# Bug#28763: Selecting geometry fields in UNION caused server crash.
|
||||||
|
Reference in New Issue
Block a user