Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
21338180
Commit
21338180
authored
Dec 02, 2005
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
innodb.result: Fix things to match with latest MySQL changes.
parent
f170421e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mysql-test/innodb.result
mysql-test/innodb.result
+3
-3
No files found.
mysql-test/innodb.result
View file @
21338180
...
@@ -1615,7 +1615,7 @@ t2 CREATE TABLE `t2` (
...
@@ -1615,7 +1615,7 @@ t2 CREATE TABLE `t2` (
)
ENGINE=InnoDB DEFAULT CHARSET=latin1
)
ENGINE=InnoDB DEFAULT CHARSET=latin1
drop table t2;
drop table t2;
create table t2 (id int(11) not null, id2 int(11) not null, constraint t1_id_fk foreign key (id2,id) references t1 (id)) engine = innodb;
create table t2 (id int(11) not null, id2 int(11) not null, constraint t1_id_fk foreign key (id2,id) references t1 (id)) engine = innodb;
ERROR HY000: Can't create table '
./test/
t2' (errno: 150)
ERROR HY000: Can't create table '
test.
t2' (errno: 150)
create table t2 (a int auto_increment primary key, b int, index(b), foreign key (b) references t1(id), unique(b)) engine=innodb;
create table t2 (a int auto_increment primary key, b int, index(b), foreign key (b) references t1(id), unique(b)) engine=innodb;
show create table t2;
show create table t2;
Table Create Table
Table Create Table
...
@@ -2804,13 +2804,13 @@ commit;
...
@@ -2804,13 +2804,13 @@ commit;
set foreign_key_checks=0;
set foreign_key_checks=0;
create table t2 (a int primary key, b int, foreign key (b) references t1(a)) engine = innodb;
create table t2 (a int primary key, b int, foreign key (b) references t1(a)) engine = innodb;
create table t1(a char(10) primary key, b varchar(20)) engine = innodb;
create table t1(a char(10) primary key, b varchar(20)) engine = innodb;
ERROR HY000: Can't create table '
./test/t1.frm
' (errno: 150)
ERROR HY000: Can't create table '
test.t1
' (errno: 150)
set foreign_key_checks=1;
set foreign_key_checks=1;
drop table t2;
drop table t2;
set foreign_key_checks=0;
set foreign_key_checks=0;
create table t1(a varchar(10) primary key) engine = innodb DEFAULT CHARSET=latin1;
create table t1(a varchar(10) primary key) engine = innodb DEFAULT CHARSET=latin1;
create table t2 (a varchar(10), foreign key (a) references t1(a)) engine = innodb DEFAULT CHARSET=utf8;
create table t2 (a varchar(10), foreign key (a) references t1(a)) engine = innodb DEFAULT CHARSET=utf8;
ERROR HY000: Can't create table '
./test/t2.frm
' (errno: 150)
ERROR HY000: Can't create table '
test.t2
' (errno: 150)
set foreign_key_checks=1;
set foreign_key_checks=1;
drop table t1;
drop table t1;
set foreign_key_checks=0;
set foreign_key_checks=0;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment