github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/util/fault.result (about)

     1  select disable_fault_injection();
     2  disable_fault_injection()
     3  true
     4  select enable_fault_injection();
     5  enable_fault_injection()
     6  true
     7  select add_fault_point('ret', ':::', 'return', 0, '');
     8  add_fault_point(ret, :::, return, 0, )
     9  true
    10  select trigger_fault_point('ret');
    11  trigger_fault_point(ret)
    12  0
    13  select trigger_fault_point('ret');
    14  trigger_fault_point(ret)
    15  0
    16  select trigger_fault_point('ret');
    17  trigger_fault_point(ret)
    18  0
    19  select add_fault_point('cnt', ':::', 'getcount', 0, 'ret');
    20  add_fault_point(cnt, :::, getcount, 0, ret)
    21  true
    22  select trigger_fault_point('cnt');
    23  trigger_fault_point(cnt)
    24  3
    25  select disable_fault_injection();
    26  disable_fault_injection()
    27  true