github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/tool/testdata/db_get_set (about) 1 db check ../testdata/db-stage-4 2 ---- 3 checked 6 points and 0 tombstone 4 5 db get 6 ../testdata/db-stage-4 7 ---- 8 accepts 2 arg(s), received 1 9 10 db get 11 ../testdata/db-stage-4 12 key1 13 ---- 14 pebble: not found 15 16 db set 17 ../testdata/db-stage-4 18 key1 19 value1 20 ---- 21 22 db get 23 ../testdata/db-stage-4 24 key1 25 ---- 26 [76616c756531] 27 28 db check ../testdata/db-stage-4 29 ---- 30 checked 7 points and 0 tombstone 31 32 # 0x6b657941 = "key1", so this test case verifies that 33 # hex decoding works too. 34 35 db get 36 ../testdata/db-stage-4 37 hex:6b657931 38 ---- 39 [76616c756531] 40 41 db set 42 ../testdata/db-stage-4 43 hex:6b657931 44 hex:1b1b1b 45 ---- 46 47 db get 48 ../testdata/db-stage-4 49 hex:6b657931 50 ---- 51 [1b1b1b] 52 53 db get 54 ../testdata/db-stage-4 55 hex:6b657931 56 --value=quoted 57 ---- 58 \x1b\x1b\x1b