github.com/petermattis/pebble@v0.0.0-20190905164901-ab51a2166067/tool/testdata/db_scan (about)

     1  db scan
     2  ----
     3  accepts 1 arg(s), received 0
     4  
     5  db scan
     6  non-existent
     7  ----
     8  open non-existent/LOCK: no such file or directory
     9  
    10  db scan
    11  ../testdata/db-stage-4
    12  ----
    13  foo [66697665]
    14  quux [736978]
    15  scanned 2 records in 1.0s
    16  
    17  db scan
    18  ../testdata/db-stage-4
    19  --comparer=foo
    20  ----
    21  unknown comparer "foo"
    22  
    23  db scan
    24  ../testdata/db-stage-4
    25  --comparer=test-comparer
    26  ----
    27  pebble: manifest file "MANIFEST-000005" for DB "../testdata/db-stage-4": comparer name from file "leveldb.BytewiseComparator" != comparer name from Options "test-comparer"
    28  
    29  db scan
    30  ../testdata/db-stage-4
    31  --merger=foo
    32  ----
    33  unknown merger "foo"
    34  
    35  # TODO(peter): this DB does not have any merge records and the merge
    36  # operator in the OPTIONS file is "nullptr".
    37  db scan
    38  ../testdata/db-stage-4
    39  --merger=test-merger
    40  ----
    41  foo [66697665]
    42  quux [736978]
    43  scanned 2 records in 1.0s
    44  
    45  db scan
    46  ../testdata/db-stage-4
    47  --key=%x
    48  --value=size
    49  ----
    50  666f6f <4>
    51  71757578 <3>
    52  scanned 2 records in 1.0s
    53  
    54  db scan
    55  ../testdata/db-stage-4
    56  --key=%x
    57  --value=null
    58  --start=quux
    59  ----
    60  71757578
    61  scanned 1 record in 1.0s
    62  
    63  db scan
    64  ../testdata/db-stage-4
    65  --key=null
    66  --value=size
    67  --end=quux
    68  ----
    69  <4>
    70  scanned 1 record in 1.0s
    71  
    72  db scan
    73  ../testdata/db-stage-4
    74  --key=null
    75  --value=null
    76  ----
    77  scanned 2 records in 1.0s