github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/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  error opening database at "non-existent": pebble: database "non-existent" does not exist
     9  
    10  db scan
    11  ./testdata/corrupt-options-db
    12  ----
    13  error loading options: invalid key=value syntax: "blargle"
    14  Custom message in case of corruption error.
    15  
    16  db scan
    17  ../testdata/db-stage-4
    18  ----
    19  foo [66697665]
    20  quux [736978]
    21  scanned 2 records in 1.0s
    22  
    23  db scan
    24  ../testdata/db-stage-4
    25  --comparer=foo
    26  ----
    27  unknown comparer "foo"
    28  
    29  db scan
    30  ../testdata/db-stage-4
    31  --comparer=test-comparer
    32  ----
    33  pebble: manifest file "MANIFEST-000006" for DB "db-stage-4": comparer name from file "leveldb.BytewiseComparator" != comparer name from Options "test-comparer"
    34  
    35  db scan
    36  ../testdata/db-stage-4
    37  --merger=foo
    38  ----
    39  unknown merger "foo"
    40  
    41  db scan
    42  ../testdata/db-stage-4
    43  --merger=test-merger
    44  ----
    45  pebble: merger name from file "pebble.concatenate" != merger name from options "test-merger"
    46  
    47  db scan
    48  ../testdata/db-stage-4
    49  --key=%x
    50  --value=size
    51  ----
    52  666f6f <4>
    53  71757578 <3>
    54  scanned 2 records in 1.0s
    55  
    56  db scan
    57  ../testdata/db-stage-4
    58  --key=%x
    59  --value=null
    60  --start=quux
    61  ----
    62  71757578
    63  scanned 1 record in 1.0s
    64  
    65  db scan
    66  ../testdata/db-stage-4
    67  --key=null
    68  --value=size
    69  --end=quux
    70  ----
    71  <4>
    72  scanned 1 record in 1.0s
    73  
    74  db scan
    75  ../testdata/db-stage-4
    76  --key=null
    77  --value=null
    78  ----
    79  scanned 2 records in 1.0s
    80  
    81  
    82  db scan
    83  ../testdata/db-stage-4
    84  --key=null
    85  --value=null
    86  --count=1
    87  ----
    88  scanned 1 record in 1.0s