mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
42 lines
685 B
Text
42 lines
685 B
Text
|
DROP TABLE IF EXISTS t1;
|
||
|
CREATE TABLE t1 (
|
||
|
a INT NOT NULL PRIMARY KEY,
|
||
|
b INT NOT NULL
|
||
|
) ENGINE=ndbcluster;
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9410,9412);
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9411,9412);
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9412,9412);
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9413,9412);
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9414,9412);
|
||
|
BEGIN;
|
||
|
INSERT INTO t1 VALUES (9415,9412);
|
||
|
ROLLBACK;
|
||
|
ROLLBACK;
|
||
|
ROLLBACK;
|
||
|
ROLLBACK;
|
||
|
ROLLBACK;
|
||
|
ROLLBACK;
|
||
|
drop table t1;
|
||
|
CREATE TABLE t1 (
|
||
|
a INT NOT NULL PRIMARY KEY,
|
||
|
b INT NOT NULL,
|
||
|
c INT NOT NULL
|
||
|
) ENGINE=ndbcluster;
|
||
|
select * from t1;
|
||
|
select * from t1;
|
||
|
a b c
|
||
|
select * from t1;
|
||
|
a b c
|
||
|
select * from t1;
|
||
|
a b c
|
||
|
select * from t1;
|
||
|
a b c
|
||
|
select * from t1;
|
||
|
a b c
|
||
|
drop table t1;
|