github.com/matrixorigin/matrixone@v0.7.0/test/distributed/cases/dml/update/flush.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', 'flush', 'db1.t');
    10  select * from t;
    11  delete from t where a in (1, 2, 3);
    12  begin;
    13  -- @separator:table
    14  select mo_ctl('dn', 'flush', 'db1.t');
    15  select * from t;
    16  commit;
    17  
    18  
    19  drop table if exists t;
    20  create table t (a int);
    21  insert into t values (1), (2), (3), (4), (5);
    22  delete from t where a = 2;
    23  insert into t values (6);
    24  delete from t where a = 3;
    25  begin;
    26  -- @separator:table
    27  select mo_ctl('dn', 'flush', 'db1.t');
    28  select * from t;
    29  commit;
    30  
    31  drop database if exists db1;