📄 ndb_autodiscover3.result
字号:
drop table if exists t1, t2;create table t1 (a int key) engine=ndbcluster;begin;insert into t1 values (1);insert into t1 values (2);ERROR HY000: Got temporary error 4025 'Node failure caused abort of transaction' from ndbclustercommit;ERROR HY000: Got error 4350 'Transaction already aborted' from ndbclusterdrop table t1;create table t2 (a int, b int, primary key(a,b)) engine=ndbcluster;insert into t2 values (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1);select * from t2 order by a limit 3;a b1 12 13 1create table t2 (a int key) engine=ndbcluster;insert into t2 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);select * from t2 order by a limit 3;a123select * from t2 order by a limit 3;ERROR HY000: Can't lock file (errno: 241)select * from t2 order by a limit 3;a123show tables;Tables_in_testcreate table t2 (a int key) engine=ndbcluster;insert into t2 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);select * from t2 order by a limit 3;a123select * from t2 order by a limit 3;a123drop table t2;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -