Debian Codegraph @

test/command/suite/wal_recover/db/auto_recovery/table/dat.expected

raw
1 table_create Data TABLE_DAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Data content COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 load --table Data
6 [
7 {"_key": "a", "content": "a"},
8 {"_key": "abc", "content": "a and b and c"},
9 {"_key": "abcdef", "content": "a and b and c and d and e and f"}
10 ]
11 [[0,0.0,0.0],3]
12 delete Data --key abc
13 [[0,0.0,0.0],true]
14 dump
15 table_create Data TABLE_DAT_KEY ShortText
16 column_create Data content COLUMN_SCALAR ShortText
17
18 load --table Data
19 [
20 ["_key","content"],
21 ["a","a"],
22 ["abcdef","a and b and c and d and e and f"]
23 ]
24 _database_close
25 [[0,0.0,0.0],true]
26 _database_reopen
27 [[0,0.0,0.0],true]
28 #|e| [reader][read-entry][dat][wal][recover][Data] must be map: <positive-integer>(2): path:<db/db.0000100>
29 #|n| [dat][wal][recover] repair broken double array trie: <Data>(256)
30 #|n| [dat][wal][recover] succeeded to repair broken double array trie: <Data>(256)
31 dump
32 table_create Data TABLE_DAT_KEY ShortText
33 column_create Data content COLUMN_SCALAR ShortText
34
35 load --table Data
36 [
37 ["_key","content"],
38 ["a","a"],
39 ["abcdef","a and b and c and d and e and f"]
40 ]