polardbxengine/mysql-test/suite/ndb/r/ndb_select_count.result

20 lines
334 B
Plaintext

create table t1(
k int not null auto_increment primary key,
i int,
j int
) engine=ndbcluster;
insert into t1(i,j) values (1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7);
select count(*) from t1;
count(*)
7
begin;
delete from t1 where k = 10000;
select count(*) from t1;
count(*)
7
commit;
select count(*) from t1;
count(*)
7
drop table t1;