Debian Codegraph @

test/command/suite/wal_recover/ii/recovering_broken.expected

raw
1 table_create Memos TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Memos content COLUMN_SCALAR Text
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
6 [[0,0.0,0.0],true]
7 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
8 [[0,0.0,0.0],true]
9 column_create Terms #recovering#memos_content COLUMN_INDEX|WITH_POSITION Memos content
10 [[0,0.0,0.0],true]
11 load --table Memos
12 [
13 {"content": "hello world"},
14 {"content": "good-by world"}
15 ]
16 [[0,0.0,0.0],2]
17 select Memos --query content:@hello
18 [[0,0.0,0.0],[[[1],[["_id","UInt32"],["content","Text"]],[1,"hello world"]]]]
19 io_flush
20 [[0,0.0,0.0],true]
21 _database_close
22 [[0,0.0,0.0],true]
23 _database_reopen
24 [[0,0.0,0.0],true]
25 #|e| [column][index] file type must be 0x48: <0000>
26 #|e| grn_ctx_at: failed to open object: <260>(<Terms.#recovering#memos_content>):<72>(<column:index>)
27 #|e| grn_ctx_at: failed to open object: <260>(<Terms.#recovering#memos_content>):<72>(<column:index>)
28 #|n| DDL:257:delete_hook:set Memos.content Terms.#recovering#memos_content(260) [Terms.memos_content(259)]
29 #|n| spec:257:update:Memos.content:65(column:var_size):15(Text)
30 select Memos --query content:@hello
31 [[0,0.0,0.0],[[[1],[["_id","UInt32"],["content","Text"]],[1,"hello world"]]]]
32 dump
33 table_create Memos TABLE_NO_KEY
34 column_create Memos content COLUMN_SCALAR Text
35
36 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
37
38 load --table Memos
39 [
40 ["_id","content"],
41 [1,"hello world"],
42 [2,"good-by world"]
43 ]
44
45 column_create Terms memos_content COLUMN_INDEX|WITH_POSITION Memos content
46 column_remove Memos content
47 [[0,0.0,0.0],true]
48 dump
49 table_create Memos TABLE_NO_KEY
50
51 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenNgram --normalizer NormalizerNFKC130
52
53 load --table Memos
54 [
55 ["_id"],
56 [1],
57 [2]
58 ]
59
60 load --table Terms
61 [
62 ["_key"],
63 ["-"],
64 ["by"],
65 ["good"],
66 ["hello"],
67 ["world"]
68 ]