github.com/matrixorigin/matrixone@v0.7.0/test/distributed/cases/dml/update/checkpoint.test (about)

     1  drop database if exists db1;
     2  
     3  create database db1;
     4  use db1;
     5  drop table if exists t;
     6  create table t (a int);
     7  insert into t values (1), (2), (3), (4), (5);
     8  -- @separator:table
     9  select mo_ctl('dn','checkpoint','');
    10  select * from t;
    11  delete from t where a in (1, 2, 3);
    12  -- @separator:table
    13  select mo_ctl('dn','checkpoint','');
    14  select * from t;
    15  
    16  
    17  drop table if exists t;
    18  create table t (a int);
    19  insert into t values (1), (2), (3), (4), (5);
    20  delete from t where a = 2;
    21  insert into t values (6);
    22  delete from t where a = 3;
    23  -- @separator:table
    24  select mo_ctl('dn','checkpoint','');
    25  select * from t;
    26  
    27  drop database if exists db1;