mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
mysql-test/suite/ndb_team/t/ndb_autodiscover2-master.opt: Rename: mysql-test/suite/ndb/t/ndb_autodiscover2-master.opt -> mysql-test/suite/ndb_team/t/ndb_autodiscover2-master.opt mysql-test/suite/ndb_team/t/ndb_autodiscover2.test: Rename: mysql-test/suite/ndb/t/ndb_autodiscover2.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover2.test mysql-test/suite/ndb_team/t/ndb_autodiscover.test: Rename: mysql-test/suite/ndb/t/ndb_autodiscover.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover.test mysql-test/suite/ndb_team/t/ndb_autodiscover3.test: Rename: mysql-test/suite/ndb/t/ndb_autodiscover3.test -> mysql-test/suite/ndb_team/t/ndb_autodiscover3.test mysql-test/suite/ndb_team/r/ndb_autodiscover.result: Rename: mysql-test/suite/ndb/r/ndb_autodiscover.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover.result mysql-test/suite/ndb_team/r/ndb_autodiscover2.result: Rename: mysql-test/suite/ndb/r/ndb_autodiscover2.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover2.result mysql-test/suite/ndb_team/r/ndb_autodiscover3.result: Rename: mysql-test/suite/ndb/r/ndb_autodiscover3.result -> mysql-test/suite/ndb_team/r/ndb_autodiscover3.result mysql-test/suite/ndb_team/t/disabled.def: BitKeeper file /home/tomas/mysql-5.1-new-ndb/mysql-test/suite/ndb_team/t/disabled.def
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
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 NDBCLUSTER
|
|
commit;
|
|
ERROR HY000: Got error 4350 'Transaction already aborted' from NDBCLUSTER
|
|
drop 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 b
|
|
1 1
|
|
2 1
|
|
3 1
|
|
select * from t2;
|
|
ERROR 42S02: Table 'test.t2' doesn't exist
|
|
show tables like 't2';
|
|
Tables_in_test (t2)
|
|
reset master;
|
|
create 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;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
select * from t2 order by a limit 3;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
reset master;
|
|
select * from t2;
|
|
ERROR 42S02: Table 'test.t2' doesn't exist
|
|
show tables like 't2';
|
|
Tables_in_test (t2)
|
|
reset master;
|
|
create 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;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
select * from t2 order by a limit 3;
|
|
a
|
|
1
|
|
2
|
|
3
|
|
reset master;
|
|
drop table t2;
|