1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Make rpl_insert_id.test use InnoDB, and added foreign keys to the table,

so that it really tests replication of SET FOREIGN_KEY_CHECKS (previously
it used MyISAM).
This commit is contained in:
guilhem@mysql.com
2003-07-26 17:59:05 +02:00
parent 9e3366c9ad
commit 34352d0c21
2 changed files with 6 additions and 4 deletions

View File

@ -21,8 +21,8 @@ b c
1 4
drop table t1;
drop table t2;
create table t1(a int auto_increment, key(a));
create table t2(b int auto_increment, c int, key(b));
create table t1(a int auto_increment, key(a)) type=innodb;
create table t2(b int auto_increment, c int, key(b), foreign key(b) references t1(a)) type=innodb;
SET FOREIGN_KEY_CHECKS=0;
insert into t1 values (10);
insert into t1 values (null),(null),(null);