github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/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-000005" 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  # TODO(peter): this DB does not have any merge records and the merge
    42  # operator in the OPTIONS file is "nullptr".
    43  db scan
    44  ../testdata/db-stage-4
    45  --merger=test-merger
    46  ----
    47  foo [66697665]
    48  quux [736978]
    49  scanned 2 records in 1.0s
    50  
    51  db scan
    52  ../testdata/db-stage-4
    53  --key=%x
    54  --value=size
    55  ----
    56  666f6f <4>
    57  71757578 <3>
    58  scanned 2 records in 1.0s
    59  
    60  db scan
    61  ../testdata/db-stage-4
    62  --key=%x
    63  --value=null
    64  --start=quux
    65  ----
    66  71757578
    67  scanned 1 record in 1.0s
    68  
    69  db scan
    70  ../testdata/db-stage-4
    71  --key=null
    72  --value=size
    73  --end=quux
    74  ----
    75  <4>
    76  scanned 1 record in 1.0s
    77  
    78  db scan
    79  ../testdata/db-stage-4
    80  --key=null
    81  --value=null
    82  ----
    83  scanned 2 records in 1.0s
    84  
    85  
    86  db scan
    87  ../testdata/db-stage-4
    88  --key=null
    89  --value=null
    90  --count=1
    91  ----
    92  scanned 1 record in 1.0s