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

24 lines
574 B
Plaintext

# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc
-- source include/have_ndb.inc
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;
begin;
delete from t1 where k = 10000; # none existant, rbwr
select count(*) from t1;
commit;
select count(*) from t1;
drop table t1;