mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
18 lines
345 B
Text
18 lines
345 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
CREATE TABLE t1 (
|
|
id int primary key
|
|
);
|
|
CREATE TABLE t2 (
|
|
id int primary key ,
|
|
f_id int DEFAULT NULL, FOREIGN KEY(f_id) REFERENCES t1 (id)
|
|
);
|
|
insert into t1 select 1;
|
|
#Running 200 insert in t2 table
|
|
select count(*) from t2;
|
|
count(*)
|
|
200
|
|
delete from t2;
|
|
delete from t1;
|
|
drop table t2,t1;
|