mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
f87e68e45f
Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak mysql-test/r/ndb_autodiscover3.result: Bug #19395 mysqld does not always detect cluster shutdown mysql-test/t/disabled.def: Bug #19395 mysqld does not always detect cluster shutdown mysql-test/t/ndb_autodiscover3.test: Bug #19395 mysqld does not always detect cluster shutdown sql/ha_ndbcluster_binlog.cc: Bug #19395 mysqld does not always detect cluster shutdown storage/ndb/include/ndbapi/Ndb.hpp: Bug #19395 mysqld does not always detect cluster shutdown storage/ndb/include/ndbapi/NdbDictionary.hpp: Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak storage/ndb/src/kernel/blocks/suma/Suma.cpp: Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak storage/ndb/src/ndbapi/Ndb.cpp: Bug #19395 mysqld does not always detect cluster shutdown storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp: Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
53 lines
1.2 KiB
Text
53 lines
1.2 KiB
Text
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;
|