db scan
----
accepts 1 arg(s), received 0

db scan
non-existent
----
error opening database at "non-existent": pebble: database "non-existent" does not exist

db scan
./testdata/corrupt-options-db
----
error loading options: invalid key=value syntax: "blargle"
Custom message in case of corruption error.

db scan
../testdata/db-stage-4
----
foo [66697665]
quux [736978]
scanned 2 records in 1.0s

db scan
../testdata/db-stage-4
--comparer=foo
----
unknown comparer "foo"

db scan
../testdata/db-stage-4
--comparer=test-comparer
----
pebble: manifest file "MANIFEST-000006" for DB "db-stage-4": comparer name from file "leveldb.BytewiseComparator" != comparer name from Options "test-comparer"

db scan
../testdata/db-stage-4
--merger=foo
----
unknown merger "foo"

db scan
../testdata/db-stage-4
--merger=test-merger
----
pebble: merger name from file "pebble.concatenate" != merger name from options "test-merger"

db scan
../testdata/db-stage-4
--key=%x
--value=size
----
666f6f <4>
71757578 <3>
scanned 2 records in 1.0s

db scan
../testdata/db-stage-4
--key=%x
--value=null
--start=quux
----
71757578
scanned 1 record in 1.0s

db scan
../testdata/db-stage-4
--key=null
--value=size
--end=quux
----
<4>
scanned 1 record in 1.0s

db scan
../testdata/db-stage-4
--key=null
--value=null
----
scanned 2 records in 1.0s


db scan
../testdata/db-stage-4
--key=null
--value=null
--count=1
----
scanned 1 record in 1.0s

db scan
./testdata/cr-schema-db
----
tcaebjhj@1205.779186748,0 [c6b74a3ba1f63afdf06e061257f2a227]
tcakadaf@268.094911963,0 [7b660d945d694573ff74244235cc405d]
tccctlsl [3bdec3009bd907c208e4b2f8a7214035]
tcedlfpq@159.947754277,0 [02ee0bac1470fab6a1e270410dda5f39]
tcestilr@3176.073933065,0 [f31d1b22f2128e75f0433e8eda52c418]
tcestilr@3155.610170870,0 [72e66f413e0ef4fc4c976aa38fb633c5]
tcestilr@2257.175610483,0 [34801f3abc365107dd377a4bba54778c]
tcestilr@2027.979535545,0 [b524343eaa651b852067b8ad82da7da8]
tcestilr@1999.232216345,0 [adcb5faf416828032f69f5b434acb8f4]
tcestilr@1961.730565157,0 [c61d5a246b128c28ab78f2b6a7f118dd]
tcestilr@112.569705592,0 [455cd058c90851f9f10313f3d0a3bbb3]
tcfiplrm@1594.890786061,0 [8805a22d9efd38e3afbb7da4c69c9aeb]
tcfjorff@62,6c67656b-6d67-7472-6f6f-6d6f6f646d70 [ace9910889fca15de2aa714a74e93e50]
tcfrjshd@552.255371146,0 [b4b67067882c2e40880880415f2c6ffa]
tcgngcgh@3327.593991973,0 [4dbc013ab39f9f5ee228b3825ff19d4e]
tcgngcgh@3102.920644724,0 [a4e6f23f58e0077939caa5dbd01b23cb]
tcgngcgh@3008.628446679,0 [ca066583724b5c1cbe89f47ae736d6e3]
tcgngcgh@2591.234454069,0 [8a35a02c4991046edc4734f9932a3c00]
tcgngcgh@1283.850980013,0 [3679990daccb0a97058f237ef35ff26f]
tcgngcgh@296.168185473,0 [62f6c866231925a69d22fdc2a81f4da3]
tchgdrgj [d689dd613e3e31df0f9fdb5d4f5ba1b9]
tchiarcd@999.614877036,0 [8affd2d0ba26ec2778d8b1c5c32c907d]
tcjmfhds@155.282098007,0 [ab7febde3db3da84c41bdae98691cee8]
tclaldso@2918.844225402,0 [e2efe6d734c162795d16f2aa540b0764]
tclisfbo@999.467628943,0 [7a4a683350296f1087b7386e4b5d4174]
tclmndkc [d6c81fcecd3c2ef35ab1deb5394c1f3a]
tclqefnr@1457.126862181,0 [5a38461468edfc49ac3aca1c2e03ba6c]
tcndfpfl@2142.251937559,0 [77331078b8239a6d728503df9f3aa7de]
tcnnriss@3485.299789445,0 [90f7cd8157709536611af31f9b737850]
tcnnriss@335.378301115,0 [bc37da902d1fb15548e7705048bfa7aa]
tcopnsrh@350.226577100,0 [56d7d2cd38a7f4acdee08bd834ff7722]
tcpchosd [5557d96e93bacfad76b1b062ab1e6f2f]
tcpchosd@2786.903868370,0 [ab47cc500c224209ecaba5d6aaa81117]
tcpchosd@2210.960065030,0 [073d9567363daf46e711b7b7ca9422ed]
tcpchosd@2073.542476344,0 [209298462b76ecfa771bfb755228e606]
tcpchosd@82.858934535,594919620 [e6dc4d4b1bf695878ac29605cbd81d56]
tcplgtic@1236.041481720,0 [7404eefe0c1fa48edea2bb59c0e43698]
tcqoanoq@112.899291489,0 [87fdffebd1c2a1406eb1c0c4c0a0c137]
tcrleiie@71,73716465-666d-6361-6f61-71707465686e [303a03f46179c62afdc42289096a1243]
tcrleiie@3227.966135681,0 [1396c7b9fbeb5ff26ad8f3a554c8269a]
tcrleiie@2321.256646074,0 [c53766e33dffdd0d4dacc5d3cc605d52]
tcrleiie@1675.618292930,0 [4bb88fb89ca051c767b3235a4a9a5bc7]
tcrleiie@934.677961957,0 [44c7b81f4fd42774be3dfcbdf64fad60]
tcrsfsqc@1366.233420574,0 [c5383b3f201ec0b234ca2f21a4f78b39]
tctfnead@3515.781716464,0 [452c89164eab3e114de3ee2683996db9]
tctfnead@3436.545352485,2072075394 [d9d80c4a995d2aff4cdb60c0a78c306c]
tctfnead@2901.064834780,0 [46e1736d7e70dbadb331a5cfdda5848e]
tctfnead@496.308392774,788977933 [6d79c299b83e0e0562c16ba4efc98754]
tctfnead@449.271165260,867636456 [77faaee55cd36645214bafd526a0c77b]
tctpneik@2987.878326513,0 [ed905022f920617ae61e462a427c3af4]
scanned 50 records in 1.0s
