Debian Codegraph @

mysql-test/suite/ndb/t/ndb_select_count.test

raw
1 -- source include/have_ndb.inc
2
3 create table t1(
4 k int not null auto_increment primary key,
5 i int,
6 j int
7 ) engine=ndbcluster;
8
9 insert into t1(i,j) values (1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7);
10
11 select count(*) from t1;
12 begin;
13 delete from t1 where k = 10000; # none existant, rbwr
14 select count(*) from t1;
15 commit;
16 select count(*) from t1;
17
18 drop table t1;