3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
10 #***********************************************************************
12 # This file tests that FTS5 handles corrupt databases (i.e. internal
13 # inconsistencies in the backing tables) correctly. In this case
14 # "correctly" means without crashing.
17 source [file join [file dirname [info script]] fts5_common.tcl]
18 set testprefix fts5corrupt5
20 # If SQLITE_ENABLE_FTS5 is defined, omit this file.
25 sqlite3_fts5_may_be_corrupt 1
26 database_may_be_corrupt
28 #-------------------------------------------------------------------------
29 # dbsqlfuzz crash-0f47112aa7520cf08c6a835a88fdff8c2a32a188
34 db deserialize [decode_hexdb {
36 | size 24576 pagesize 4096 filename crash-0f47112aa7520c.db
38 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
39 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 00 .....@ ........
40 | 96: 00 00 00 00 0d 00 00 00 06 0e 0f 00 0f aa 0f 53 ...............S
41 | 112: 0e e8 0e 8b 0e 33 0e 0f 00 00 00 00 00 00 00 00 .....3..........
42 | 3584: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 ................
43 | 3600: 06 06 17 11 11 01 31 74 61 62 6c 65 62 62 62 62 ......1tablebbbb
44 | 3616: 06 43 52 45 41 54 45 20 54 41 42 4c 45 20 62 62 .CREATE TABLE bb
45 | 3632: 28 61 29 56 05 06 17 1f 1f 01 7d 74 61 62 6c 65 (a)V.......table
46 | 3648: 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 6f 6e 66 t1_configt1_conf
47 | 3664: 69 67 05 43 52 45 41 54 45 20 54 41 42 4c 45 20 ig.CREATE TABLE
48 | 3680: 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b 20 50 52 't1_config'(k PR
49 | 3696: 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 20 57 49 IMARY KEY, v) WI
50 | 3712: 54 48 4f 55 54 20 52 4f 57 49 44 5b 04 07 17 21 THOUT ROWID[...!
51 | 3728: 21 01 81 01 74 61 62 6c 65 74 31 5f 64 6f 63 73 !...tablet1_docs
52 | 3744: 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 04 43 52 izet1_docsize.CR
53 | 3760: 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 64 EATE TABLE 't1_d
54 | 3776: 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 54 45 47 ocsize'(id INTEG
55 | 3792: 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 ER PRIMARY KEY,
56 | 3808: 73 7a 20 42 4c 4f 42 29 69 03 07 17 19 19 01 81 sz BLOB)i.......
57 | 3824: 2d 74 61 62 6c 65 74 31 5f 69 64 78 74 31 5f 69 -tablet1_idxt1_i
58 | 3840: 64 78 03 43 52 45 41 54 45 20 54 41 42 4c 45 20 dx.CREATE TABLE
59 | 3856: 27 74 31 5f 69 64 78 27 28 73 65 67 69 64 2c 20 't1_idx'(segid,
60 | 3872: 74 65 72 6d 2c 20 70 67 6e 6f 2c 20 50 52 49 4d term, pgno, PRIM
61 | 3888: 41 52 59 20 4b 45 59 28 73 65 67 69 64 2c 20 74 ARY KEY(segid, t
62 | 3904: 65 72 6d 29 29 20 57 49 54 48 4f 55 54 20 52 4f erm)) WITHOUT RO
63 | 3920: 57 49 44 55 02 07 17 1b 1b 01 81 01 74 61 62 6c WIDU........tabl
64 | 3936: 65 74 31 5f 64 61 74 61 74 31 5f 64 61 74 61 02 et1_datat1_data.
65 | 3952: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
66 | 3968: 5f 64 61 74 61 27 28 69 64 20 49 4e 54 45 47 45 _data'(id INTEGE
67 | 3984: 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 62 R PRIMARY KEY, b
68 | 4000: 6c 6f 63 6b 20 42 4c 4f 42 29 54 01 07 17 11 11 lock BLOB)T.....
69 | 4016: 08 81 15 74 61 62 6c 65 74 31 74 31 43 52 45 41 ...tablet1t1CREA
70 | 4032: 54 45 20 56 49 52 54 55 41 4c 20 54 41 42 4c 45 TE VIRTUAL TABLE
71 | 4048: 20 74 31 20 55 53 49 4e 47 20 66 74 73 35 28 61 t1 USING fts5(a
72 | 4064: 2c 62 2c 70 72 65 66 69 78 3d 22 31 2c 32 2c 33 ,b,prefix=.1,2,3
73 | 4080: 2c 34 22 2c 20 63 6f 6e 74 65 6e 74 3d 22 22 29 ,4., content=..)
75 | 0: 0d 0b 6a 00 37 09 4c 02 0f e7 09 4c 0f c6 0f a4 ..j.7.L....L....
76 | 16: 0f 88 0f 6d 0f 4b 0f 2c 0f 0e 0e ec 0e cd 0e ad ...m.K.,........
77 | 32: 0e 8e 0e 6c 0e 4b 0e 29 0e 08 0d e6 0d c4 0d b5 ...l.K.)........
78 | 48: 0d 97 0d 76 0d 54 0d 31 0d 15 0c f3 0c d3 0c b5 ...v.T.1........
79 | 64: 0c 95 0c 73 0c 54 0c 32 0c 10 0b ee 0b cc 0b b0 ...s.T.2........
80 | 80: 0b 8d 0b 7e 0b 48 0b 2e 0b 0b 0a ef 00 00 00 00 ...~.H..........
81 | 2368: 00 00 00 00 00 00 00 00 00 00 00 00 15 0a 03 00 ................
82 | 2384: 30 00 00 00 01 01 03 35 00 03 01 11 12 02 01 12 0......5........
83 | 2400: 03 01 11 1c 8c 80 80 80 80 10 03 00 3e 00 00 00 ............>...
84 | 2416: 17 01 05 05 34 74 61 62 6c 03 02 03 01 04 77 68 ....4tabl.....wh
85 | 2432: 65 72 03 02 06 09 1b 8c 80 80 80 80 0f 03 00 3c er.............<
86 | 2448: 00 00 00 16 05 34 66 74 73 34 03 02 02 01 04 6e .....4fts4.....n
87 | 2464: 75 6d 62 03 06 01 04 09 1b 8c 80 80 80 80 0e 03 umb.............
88 | 2480: 00 3c 00 00 00 16 04 33 74 68 65 03 06 01 01 04 .<.....3the.....
89 | 2496: 01 03 77 68 65 03 02 04 04 0a 1b 8c 80 80 80 80 ..whe...........
90 | 2512: 0d 03 00 3c 00 00 00 16 04 33 6e 75 6d 03 06 01 ...<.....3num...
91 | 2528: 01 05 01 03 74 61 62 03 02 03 04 0a 19 8c 80 80 ....tab.........
92 | 2544: 80 80 0c 03 00 38 00 00 00 14 03 32 77 68 03 02 .....8.....2wh..
93 | 2560: 04 00 04 33 66 74 73 03 02 02 04 07 18 8c 80 80 ...3fts.........
94 | 2576: 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 03 02 .....6.....2ta..
95 | 2592: 03 02 01 68 03 06 01 01 04 04 07 1b 8c 80 80 80 ...h............
96 | 2608: 80 0a 03 00 3c 00 00 00 16 03 32 6e 75 03 06 01 ....<.....2nu...
97 | 2624: 01 05 01 02 6f 66 03 06 01 01 06 04 09 19 8c 80 ....of..........
98 | 2640: 80 80 80 09 03 00 38 00 00 00 14 03 32 66 74 03 ......8.....2ft.
99 | 2656: 02 02 01 02 69 73 03 06 01 01 03 04 07 18 8c 80 ....is..........
100 | 2672: 80 80 80 08 03 00 36 00 00 00 13 02 31 74 03 08 ......6.....1t..
101 | 2688: 03 01 01 04 01 01 77 03 02 04 04 09 1a 8c 80 80 ......w.........
102 | 2704: 80 80 07 03 00 3a 00 00 00 15 02 31 6e 03 08 01 .....:.....1n...
103 | 2720: 01 02 05 01 00 6f 03 06 01 01 06 04 09 18 8c 80 .....o..........
104 | 2736: 80 80 80 06 03 00 36 00 00 00 03 04 02 31 66 03 ......6......1f.
105 | 2752: 02 02 01 01 69 03 06 01 01 03 04 f6 1c 8c 80 80 ....i...........
106 | 2768: 80 80 05 03 00 3e 00 00 00 17 04 30 74 68 65 03 .....>.....0the.
107 | 2784: f6 01 01 04 01 05 77 68 65 72 65 03 02 04 0a 15 ......where.....
108 | 2800: 8c 80 80 80 80 04 03 00 30 00 00 00 11 01 01 06 ........0.......
109 | 2816: 06 30 74 61 62 6c 65 0f 42 03 07 1c 8c 81 80 80 .0table.B.......
110 | 2832: 80 03 03 00 3e 00 00 00 17 07 30 6e 75 6d 62 65 ....>.....0numbe
111 | 2848: 72 03 06 01 01 05 01 02 6f 66 03 06 04 0d 13 8c r.......of......
112 | 2864: 80 80 80 80 02 03 00 2c 00 00 00 0f 01 01 03 02 .......,........
113 | 2880: 30 6e 03 06 01 01 02 07 1b 8c 80 80 80 80 01 03 0n..............
114 | 2896: 00 3c 00 00 00 16 08 30 66 74 73 34 61 75 78 03 .<.....0fts4aux.
115 | 2912: 02 02 01 02 69 73 03 06 04 0c 00 00 00 14 2a 00 ....is........*.
116 | 2928: 00 00 01 01 02 24 00 02 01 01 12 02 01 12 08 88 .....$..........
117 | 2944: 80 80 80 80 12 03 00 16 00 00 00 05 02 1c 88 80 ................
118 | 2960: 80 80 80 11 03 00 3e 00 00 00 17 05 34 72 6f 77 ......>.....4row
119 | 2976: 73 02 06 01 01 05 01 04 74 68 65 72 02 02 04 0b s.......ther....
120 | 2992: 15 88 80 80 80 80 10 03 00 30 00 00 00 11 02 01 .........0......
121 | 3008: 01 07 05 34 62 65 74 77 02 02 04 08 1b 88 80 80 ...4betw........
122 | 3024: 80 80 0f 03 00 3c 00 00 00 16 04 04 33 72 6f 77 .....<......3row
123 | 3040: 02 06 01 01 05 01 03 74 68 65 02 08 05 0a 1b 88 .......the......
124 | 3056: 80 80 80 80 0e 03 00 3c 00 00 00 16 01 01 02 04 .......<........
125 | 3072: 33 61 72 65 02 02 03 01 03 62 65 74 02 02 07 08 3are.....bet....
126 | 3088: 1b 88 80 80 80 80 0d 03 00 3c 00 00 00 16 13 32 .........<.....2
127 | 3104: 74 68 02 08 02 01 01 07 00 04 33 61 6e 64 02 06 th........3and..
128 | 3120: 04 0a 1b 88 80 80 80 80 0c 03 00 3c 00 00 00 16 ...........<....
129 | 3136: 03 32 69 6e 02 06 01 01 06 01 02 72 6f 02 06 01 .2in.......ro...
130 | 3152: 01 05 04 09 18 88 80 80 80 80 0b 03 00 36 00 00 .............6..
131 | 3168: 00 13 02 03 32 61 72 02 02 03 01 02 62 65 02 02 ....2ar.....be..
132 | 3184: 04 05 07 1b 88 80 80 80 80 0a 03 00 3c 00 9e 00 ............<...
133 | 3200: 16 02 31 74 02 08 02 01 01 07 00 03 32 61 6e 02 ..1t........2an.
134 | 3216: 06 01 01 04 09 19 88 80 80 80 80 09 03 00 38 00 ..............8.
135 | 3232: 00 00 14 02 31 6e 02 06 01 01 03 01 01 72 02 06 ....1n.......r..
136 | 3248: 01 01 05 04 08 17 88 80 80 80 80 08 03 00 34 00 ..............4.
137 | 3264: 00 00 12 02 31 62 02 02 04 01 01 69 02 06 01 01 ....1b.....i....
138 | 3280: 06 04 06 19 88 80 80 80 80 07 03 00 38 00 00 00 ............8...
139 | 3296: 14 04 02 31 32 02 02 05 01 01 61 02 08 03 01 01 ...12.....a.....
140 | 3312: 02 05 06 1b 88 80 80 80 80 06 03 00 3c 00 00 00 ............<...
141 | 3328: 16 06 30 74 68 65 72 65 02 02 02 00 02 31 31 02 ..0there.....11.
142 | 3344: 06 01 01 04 0a 15 88 80 80 80 80 05 03 00 30 00 ..............0.
143 | 3360: 00 00 11 01 01 05 04 30 74 68 65 02 06 01 01 07 .......0the.....
144 | 3376: 07 1c 88 80 80 80 80 04 03 00 3e 00 00 00 17 01 ..........>.....
145 | 3392: 01 06 02 30 6e 02 06 01 01 03 01 04 72 6f 77 73 ...0n.......rows
146 | 3408: 02 06 07 08 1b 88 80 80 80 80 03 03 00 3c 00 00 .............<..
147 | 3424: 00 16 08 30 62 65 74 77 65 65 6e 02 02 04 01 02 ...0between.....
148 | 3440: 69 6e 02 06 04 0c 1a 88 80 80 80 80 02 03 00 3a in.............:
149 | 3456: 00 00 00 15 04 30 61 6e 64 02 06 01 01 02 02 02 .....0and.......
150 | 3472: 72 65 02 02 03 04 0a 17 88 80 80 80 80 01 03 00 re..............
151 | 3488: 34 00 00 00 12 02 30 31 02 06 01 01 04 01 01 32 4.....01.......2
152 | 3504: 02 02 05 04 08 08 84 80 80 80 80 12 03 00 16 00 ................
153 | 3520: 00 00 05 04 1b 84 80 80 80 80 11 03 00 3c 00 00 .............<..
154 | 3536: 00 16 05 34 74 61 62 6c 01 06 01 01 05 02 03 65 ...4tabl.......e
155 | 3552: 72 6d 01 02 04 0b 1b 84 80 80 80 80 10 03 00 3c rm.............<
156 | 3568: 00 00 00 16 05 34 65 61 63 68 01 02 03 01 04 70 .....4each.....p
157 | 3584: 72 65 73 01 02 05 04 08 1a 84 80 80 80 80 0f 03 res.............
158 | 3600: 00 3a 00 00 00 15 04 33 74 65 72 01 02 04 02 02 .:.....3ter.....
159 | 3616: 68 65 01 06 01 01 03 04 08 1b 84 80 80 80 80 0e he..............
160 | 3632: 03 00 3c 00 00 00 16 04 33 80 72 65 01 02 05 01 ..<.....3.re....
161 | 3648: 03 74 61 62 01 06 01 01 05 04 08 1a 84 80 80 80 .tab............
162 | 3664: 80 0d 03 00 3a 00 00 00 15 04 33 66 6f 72 01 02 ....:.....3for..
163 | 3680: 02 02 02 74 73 01 06 01 01 04 04 08 1b 84 80 80 ...ts...........
164 | 3696: 80 80 0c 03 00 3c 00 00 00 17 03 32 74 68 01 06 .....<.....2th..
165 | 3712: 01 01 03 00 04 33 65 61 63 01 02 03 04 09 18 84 .....3eac.......
166 | 3728: 80 80 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 .......6.....2ta
167 | 3744: 01 06 01 01 05 02 01 65 01 02 04 04 09 19 84 80 .......e........
168 | 3760: 80 80 80 0a 03 00 38 00 00 00 14 03 32 69 6e 01 ......8.....2in.
169 | 3776: 06 01 01 02 01 02 70 72 01 02 05 04 09 18 84 80 ......pr........
170 | 3792: 80 80 80 09 03 00 36 00 00 00 13 03 32 66 6f 01 ......6.....2fo.
171 | 3808: 02 02 02 01 74 01 06 01 01 04 04 07 1b 84 80 80 ....t...........
172 | 3824: 80 80 08 03 00 3c 00 00 00 16 02 31 74 01 0a 04 .....<.....1t...
173 | 3840: 01 01 03 04 00 03 32 65 61 01 02 03 04 0a 17 84 ......2ea.......
174 | 3856: 80 80 80 80 07 03 00 34 00 00 00 12 02 31 69 01 .......4.....1i.
175 | 3872: 06 01 01 02 01 01 70 01 02 05 04 08 18 84 80 80 ......p.........
176 | 3888: 80 80 06 03 00 36 00 00 00 13 02 31 65 01 02 03 .....6.....1e...
177 | 3904: 01 01 66 01 08 02 01 01 04 04 06 1b 84 80 80 80 ..f.............
178 | 3920: 80 05 03 00 3c 00 00 00 16 05 30 74 65 72 6d 01 ....<.....0term.
179 | 3936: 02 04 02 02 68 65 01 06 01 01 03 04 09 14 84 80 ....he..........
180 | 3952: 80 80 80 04 03 00 2e 00 00 00 10 06 30 64 61 62 ............0dab
181 | 3968: 6c 65 01 06 01 01 05 04 15 84 80 80 80 80 03 03 le..............
182 | 3984: 00 30 00 00 00 11 02 08 30 70 72 65 73 65 6e 74 .0......0present
183 | 4000: 01 02 05 05 1b 84 80 80 80 80 02 03 00 3c 00 00 .............<..
184 | 4016: 00 16 04 30 66 74 73 01 06 01 01 04 01 02 69 6e ...0fts.......in
185 | 4032: 01 06 01 01 04 0a 1a 84 80 80 80 80 01 03 00 3a ...............:
186 | 4048: 00 00 00 15 05 30 65 61 63 68 01 02 03 01 13 66 .....0each.....f
187 | 4064: 6f 72 01 02 02 04 09 06 01 03 00 12 03 0b 0f 00 or..............
188 | 4080: 00 08 8c 80 80 80 80 11 03 00 16 00 00 00 05 04 ................
190 | 0: 0a 00 00 00 32 0e 4f 00 0f fa 0f f1 0f e9 0f e1 ....2.O.........
191 | 16: 0f d8 0f d1 0f c9 0f c1 0f b9 0f b1 0f a9 0f a0 ................
192 | 32: 0f 98 0f 90 0f 87 0f 80 0f 78 0f 71 0f 68 0f 5f .........x.q.h._
193 | 48: 0f 56 0f 4d 0f 41 0f 38 0f 2f 0f 26 0f 1d 0f 13 .V.M.A.8./.&....
194 | 64: 0f 0a 0f 01 0e f7 0e ee 0e e6 0e dd 0e d6 0e cd ................
195 | 80: 0e c3 0e ba 0e 00 00 00 00 00 00 00 00 00 00 00 ................
196 | 3648: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 ................
197 | 3664: 04 01 10 01 03 34 74 20 07 04 01 0e 01 03 34 1e .....4t ......4.
198 | 3680: 09 04 01 12 01 03 33 74 68 1c 08 04 01 10 01 03 ......3th.......
199 | 3696: 33 6e 1a 08 04 01 10 01 03 32 77 18 08 04 01 10 3n.......2w.....
200 | 3712: 01 03 32 74 16 08 04 01 10 01 03 32 6e 14 07 04 ..2t.......2n...
201 | 3728: 01 0e 01 03 32 12 08 04 01 10 01 03 31 74 10 08 ....2.......1t..
202 | 3744: 04 01 10 01 03 31 6e 0e 07 04 01 0e 01 03 31 0c .....1n.......1.
203 | 3760: 09 04 01 12 01 03 30 74 68 0a 08 04 01 10 01 03 ......0th.......
204 | 3776: 30 74 08 09 04 01 12 01 03 30 6e 75 06 08 04 01 0t.......0nu....
205 | 3792: 10 01 03 30 6e 04 06 04 01 0c 01 03 02 08 04 01 ...0n...........
206 | 3808: 10 01 02 34 72 22 07 04 01 0e 01 02 34 20 08 04 ...4r.......4 ..
207 | 3824: 01 10 01 02 33 72 1e 09 04 01 12 01 02 33 61 72 ....3r.......3ar
208 | 3840: 1c 08 04 01 10 01 02 32 74 1a 08 04 01 10 01 02 .......2t.......
209 | 3856: 32 69 18 09 04 01 12 01 02 32 61 72 16 08 04 01 2i.......2ar....
210 | 3872: 10 01 02 31 74 14 08 04 01 10 01 02 31 6e 12 08 ...1t.......1n..
211 | 3888: 04 01 10 01 02 31 62 10 08 04 01 10 01 02 31 32 .....1b.......12
212 | 3904: 0e 0b 04 01 16 01 02 30 74 68 65 72 0c 08 04 01 .......0ther....
213 | 3920: 10 01 02 30 74 0a 08 04 01 10 01 02 30 6e 08 08 ...0t.......0n..
214 | 3936: 14 01 10 01 02 30 62 06 08 04 01 10 01 02 30 61 .....0b.......0a
215 | 3952: 04 06 04 01 0c 01 02 02 07 04 09 10 01 34 74 22 .............4t.
216 | 3968: 06 04 09 0e 01 34 20 08 04 09 12 01 33 74 65 1e .....4 .....3te.
217 | 3984: 07 04 09 10 01 33 70 1c 07 04 09 10 01 33 66 1a .....3p......3f.
218 | 4000: 08 04 09 12 01 32 74 68 18 07 04 09 10 01 32 74 .....2th......2t
219 | 4016: 16 01 64 09 10 01 32 69 14 07 04 09 10 01 32 66 ..d...2i......2f
220 | 4032: 12 07 04 09 10 01 31 74 10 07 04 09 10 01 31 69 ......1t......1i
221 | 4048: 0e 06 04 09 0e 01 31 0c 08 04 09 12 01 30 74 65 ......1......0te
222 | 4064: 0a 06 04 09 10 01 30 74 08 07 04 09 10 01 30 70 ......0t......0p
223 | 4080: 06 08 04 09 12 00 00 00 00 00 00 00 00 00 00 00 ................
224 | page 4 offset 12288
225 | 4064: 00 00 00 00 00 00 00 00 00 00 00 05 03 03 00 10 ................
226 | 4080: 03 05 05 02 03 00 10 04 06 05 01 03 00 10 04 04 ................
227 | page 5 offset 16384
228 | 0: 0a 00 00 00 02 0f eb 00 0f eb 0f f4 00 00 00 00 ................
229 | 4064: 00 00 00 00 00 00 00 00 00 00 00 08 03 15 01 70 ...............p
230 | 4080: 67 73 7a 18 0b 03 1b 01 76 65 72 73 69 6f 6e 04 gsz.....version.
231 | page 6 offset 20480
232 | 0: 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
233 | 4080: 00 00 03 03 02 01 03 03 02 02 01 00 00 00 00 00 ................
234 | end crash-0f47112aa7520c.db
238 do_catchsql_test 1.1 {
239 SELECT * FROM t1('R*') WHERE (a,b)<=(current_date,0) ORDER BY rowid DESC;
240 } {1 {database disk image is malformed}}
242 #-------------------------------------------------------------------------
247 db deserialize [decode_hexdb {
250 | size 24576 pagesize 4096 filename sql047467.txt.db
252 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
253 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 00 .....@ ........
254 | 96: 00 00 00 00 0d 00 00 00 06 0e 0f 00 0f aa 0f 53 ...............S
255 | 112: 0e e8 0e 8b 0e 33 0e 0f 01 00 00 00 00 00 00 00 .....3..........
256 | 3584: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 ................
257 | 3600: 06 06 17 11 11 01 31 74 61 62 6c 65 62 62 62 62 ......1tablebbbb
258 | 3616: 06 43 52 45 41 54 45 20 54 41 42 4c 45 20 62 62 .CREATE TABLE bb
259 | 3632: 28 61 29 56 05 06 17 1f 1f 01 7d 74 61 62 6c 65 (a)V.......table
260 | 3648: 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 6f 6e 66 t1_configt1_conf
261 | 3664: 69 67 05 43 52 45 41 54 45 20 54 41 42 4c 45 20 ig.CREATE TABLE
262 | 3680: 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b 20 50 52 't1_config'(k PR
263 | 3696: 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 20 57 49 IMARY KEY, v) WI
264 | 3712: 54 48 4f 55 54 20 52 4f 57 49 44 5b 04 07 17 21 THOUT ROWID[...!
265 | 3728: 21 01 81 01 74 61 62 6c 65 74 31 5f 64 6f 63 73 !...tablet1_docs
266 | 3744: 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 04 43 52 izet1_docsize.CR
267 | 3760: 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 64 EATE TABLE 't1_d
268 | 3776: 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 54 45 47 ocsize'(id INTEG
269 | 3792: 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 ER PRIMARY KEY,
270 | 3808: 73 7a 20 42 4c 4f 42 29 69 03 07 17 19 19 01 81 sz BLOB)i.......
271 | 3824: 2d 74 61 62 6c 65 74 31 5f 69 64 78 74 31 5f 69 -tablet1_idxt1_i
272 | 3840: 64 78 03 43 52 45 41 54 45 20 54 41 42 4c 45 20 dx.CREATE TABLE
273 | 3856: 27 74 31 5f 69 64 78 27 28 73 65 67 69 64 2c 20 't1_idx'(segid,
274 | 3872: 74 65 72 6d 2c 20 70 67 6e 6f 2c 20 50 52 49 4d term, pgno, PRIM
275 | 3888: 41 52 59 20 4b 45 59 28 73 65 67 69 64 2c 20 74 ARY KEY(segid, t
276 | 3904: 65 72 6d 29 29 20 57 49 54 48 4f 55 54 20 52 4f erm)) WITHOUT RO
277 | 3920: 57 49 44 55 02 07 17 1b 1b 01 81 01 74 61 62 6c WIDU........tabl
278 | 3936: 65 74 31 5f 64 61 74 61 74 31 5f 64 61 74 61 02 et1_datat1_data.
279 | 3952: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
280 | 3968: 5f 64 61 74 61 27 28 69 64 20 49 4e 54 45 47 45 _data'(id INTEGE
281 | 3984: 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 62 R PRIMARY KEY, b
282 | 4000: 6c 6f 63 6b 20 42 4c 4f 42 29 54 01 07 17 11 11 lock BLOB)T.....
283 | 4016: 08 81 15 74 61 62 6c 65 74 31 74 31 43 52 45 41 ...tablet1t1CREA
284 | 4032: 54 45 20 56 49 52 54 55 41 4c 20 54 41 42 4c 45 TE VIRTUAL TABLE
285 | 4048: 20 74 31 20 55 53 49 4e 47 20 66 74 73 35 28 61 t1 USING fts5(a
286 | 4064: 2c 62 2c 70 72 65 66 69 78 3d 22 31 2c 32 2c 33 ,b,prefix=.1,2,3
287 | 4080: 2c 34 22 2c 20 63 6f 6e 74 65 6e 74 3d 22 22 29 ,4., content=..)
289 | 0: 0d 0b 6a 00 37 09 4c 02 0f e7 09 4c 0f c6 0f a4 ..j.7.L....L....
290 | 16: 0f 88 0f 6d 0f 4b 0f 2c 0f 0e 0e ec 0e cd 0e ad ...m.K.,........
291 | 32: 0e 8e 0e 6c 0e 4b 0e 29 0e 08 0d e6 0d c4 0d b5 ...l.K.)........
292 | 48: 0d 97 0d 76 0d 54 0d 31 0d 15 0c f3 0c d3 0c b5 ...v.T.1........
293 | 64: 0c 95 0c 73 0c 54 0c 32 0c 10 0b ee 0b cc 0b b0 ...s.T.2........
294 | 80: 0b 8d 0b 7e 0b 48 0b 2e 0b 0b 0a ef 00 00 00 00 ...~.H..........
295 | 2368: 00 00 00 00 00 00 00 00 00 00 00 00 15 0a 03 00 ................
296 | 2384: 30 00 00 00 01 01 03 35 00 03 01 11 12 02 01 12 0......5........
297 | 2400: 03 01 11 1c 8c 80 80 80 80 10 03 00 3e 00 00 00 ............>...
298 | 2416: 17 01 05 05 34 74 61 62 6c 03 02 03 01 04 77 68 ....4tabl.....wh
299 | 2432: 65 72 03 02 06 09 1b 8c 80 80 80 80 0f 03 00 3c er.............<
300 | 2448: 00 00 00 16 05 34 66 74 73 34 03 02 02 01 04 6e .....4fts4.....n
301 | 2464: 75 6d 62 03 06 01 04 09 1b 8c 80 80 80 80 0e 03 umb.............
302 | 2480: 00 3b ff f0 00 16 04 33 74 68 65 03 06 01 01 04 .;.....3the.....
303 | 2496: 01 03 77 68 65 03 02 04 04 0a 1b 8c 80 80 80 80 ..whe...........
304 | 2512: 0d 03 00 3c 00 00 00 16 04 33 6e 75 6d 03 06 01 ...<.....3num...
305 | 2528: 01 05 01 03 74 61 62 03 02 03 04 0a 19 8c 80 80 ....tab.........
306 | 2544: 80 80 0c 03 00 38 00 00 00 14 03 32 77 68 03 02 .....8.....2wh..
307 | 2560: 04 00 04 33 66 74 73 03 02 02 04 07 18 8c 80 80 ...3fts.........
308 | 2576: 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 03 02 .....6.....2ta..
309 | 2592: 03 02 01 68 03 06 01 01 04 04 07 1b 8c 80 80 80 ...h............
310 | 2608: 80 0a 03 00 3c 00 00 00 16 03 32 6e 75 03 06 01 ....<.....2nu...
311 | 2624: 01 05 01 02 6f 66 03 06 01 01 06 04 09 19 8c 80 ....of..........
312 | 2640: 80 80 80 09 03 00 38 00 00 00 14 03 32 66 74 03 ......8.....2ft.
313 | 2656: 02 02 01 02 69 73 03 06 01 01 03 04 07 18 8c 80 ....is..........
314 | 2672: 80 80 80 08 03 00 36 00 00 00 13 02 31 74 03 08 ......6.....1t..
315 | 2688: 03 01 01 04 01 01 77 03 02 04 04 09 1a 8c 80 80 ......w.........
316 | 2704: 80 80 07 03 00 3a 00 00 00 15 02 31 6e 03 08 01 .....:.....1n...
317 | 2720: 01 02 05 01 00 6f 03 06 01 01 06 14 09 18 8c 80 .....o..........
318 | 2736: 80 80 80 06 03 00 36 00 00 00 03 04 02 31 66 03 ......6......1f.
319 | 2752: 02 02 01 01 69 03 06 01 01 03 04 f6 1c 8c 80 80 ....i...........
320 | 2768: 80 80 05 03 00 3e 00 00 00 17 04 30 74 68 65 03 .....>.....0the.
321 | 2784: f6 01 01 04 01 05 77 68 65 72 65 03 02 04 0a 15 ......where.....
322 | 2800: 8c 80 80 80 80 04 03 00 30 00 00 00 11 01 01 06 ........0.......
323 | 2816: 06 30 74 61 62 6c 65 0f 42 03 07 1c 8c 81 80 80 .0table.B.......
324 | 2832: 80 03 03 00 3e 00 00 00 17 07 30 6e 75 6d 62 65 ....>.....0numbe
325 | 2848: 72 03 06 01 01 05 01 02 6f 66 03 06 04 0d 13 8c r.......of......
326 | 2864: 80 80 80 80 02 03 00 2c 00 00 00 0f 01 01 03 02 .......,........
327 | 2880: 30 6e 03 06 01 01 02 07 1b 8c 80 80 80 80 01 03 0n..............
328 | 2896: 00 3c 00 00 00 16 08 30 66 74 73 34 61 75 78 03 .<.....0fts4aux.
329 | 2912: 02 02 01 02 69 73 03 06 04 0c 00 00 00 14 2a 00 ....is........*.
330 | 2928: 00 00 01 01 02 24 00 02 01 01 12 02 01 12 08 88 .....$..........
331 | 2944: 80 80 80 80 12 03 00 16 00 00 00 05 02 1c 88 80 ................
332 | 2960: 80 80 80 11 03 00 3e 00 00 00 17 05 34 72 6f 77 ......>.....4row
333 | 2976: 73 02 06 01 01 05 01 04 74 68 65 72 02 02 04 0b s.......ther....
334 | 2992: 15 88 80 80 80 80 10 03 00 30 00 00 00 11 02 01 .........0......
335 | 3008: 01 07 05 34 62 65 74 77 02 02 04 08 1b 88 80 80 ...4betw........
336 | 3024: 80 80 0f 03 00 3c 00 00 00 16 04 04 33 72 6f 77 .....<......3row
337 | 3040: 02 06 01 01 05 01 03 74 68 65 02 08 05 0a 1b 88 .......the......
338 | 3056: 80 80 80 80 0e 03 00 3c 00 00 00 16 01 01 02 04 .......<........
339 | 3072: 33 61 72 65 02 02 03 01 03 62 65 74 02 02 07 08 3are.....bet....
340 | 3088: 1b 88 80 80 80 80 0d 03 00 3c 00 00 00 16 13 32 .........<.....2
341 | 3104: 74 68 02 08 02 01 01 07 00 04 33 61 6e 64 02 06 th........3and..
342 | 3120: 04 0a 1b 88 80 80 80 80 0c 03 00 3c 00 00 00 16 ...........<....
343 | 3136: 03 32 69 6e 02 06 01 01 06 01 02 72 6f 02 06 01 .2in.......ro...
344 | 3152: 01 05 04 09 18 88 80 80 80 80 0b 03 00 36 00 00 .............6..
345 | 3168: 00 13 02 03 32 61 72 02 02 03 01 02 62 65 02 02 ....2ar.....be..
346 | 3184: 04 05 07 1b 88 80 80 80 80 0a 03 00 3c 00 94 50 ............<..P
347 | 3200: 16 02 31 74 02 08 02 01 01 07 00 03 32 61 6e 02 ..1t........2an.
348 | 3216: 06 01 01 04 09 19 88 80 80 80 80 09 03 00 38 00 ..............8.
349 | 3232: 00 00 14 02 31 6e 02 06 01 01 03 01 01 72 02 06 ....1n.......r..
350 | 3248: 01 01 05 04 08 17 88 80 80 80 80 08 03 00 34 00 ..............4.
351 | 3264: 00 00 12 02 31 62 02 02 04 01 01 69 02 06 01 01 ....1b.....i....
352 | 3280: 06 04 06 19 88 80 80 80 80 07 03 00 38 00 00 00 ............8...
353 | 3296: 14 04 02 31 32 02 02 05 01 01 61 02 08 03 01 01 ...12.....a.....
354 | 3312: 02 05 06 1b 88 80 80 80 80 06 03 00 3c 00 00 00 ............<...
355 | 3328: 16 06 30 74 68 65 72 65 02 02 02 00 02 31 31 02 ..0there.....11.
356 | 3344: 06 01 01 04 0a 15 88 80 80 80 80 05 03 00 30 00 ..............0.
357 | 3360: 00 00 11 01 01 05 04 30 74 68 65 02 06 01 01 07 .......0the.....
358 | 3376: 07 1c 88 80 80 80 80 04 03 00 3e 00 00 00 17 01 ..........>.....
359 | 3392: 01 06 02 30 6e 02 06 01 01 03 01 04 72 6f 77 73 ...0n.......rows
360 | 3408: 02 06 07 08 1b 88 80 80 80 80 03 03 00 3c 00 00 .............<..
361 | 3424: 00 16 08 30 62 65 74 77 65 65 6e 02 02 04 01 02 ...0between.....
362 | 3440: 69 6e 02 06 04 0c 1a 88 80 80 80 80 02 03 00 3a in.............:
363 | 3456: 00 00 00 15 04 30 61 6e 64 02 06 01 01 02 02 02 .....0and.......
364 | 3472: 72 65 02 02 03 04 0a 17 88 80 80 80 80 01 03 00 re..............
365 | 3488: 34 00 00 00 12 02 30 31 02 06 01 01 04 01 01 32 4.....01.......2
366 | 3504: 02 02 05 04 08 08 84 80 80 80 80 12 03 00 16 00 ................
367 | 3520: 00 00 05 04 1b 84 80 80 80 80 11 03 00 3c 00 00 .............<..
368 | 3536: 00 16 05 34 74 61 62 6c 01 06 01 01 05 02 03 65 ...4tabl.......e
369 | 3552: 72 6d 01 02 04 0b 1b 84 80 80 80 80 10 03 00 3c rm.............<
370 | 3568: 00 00 00 16 05 34 65 61 63 68 01 02 03 01 04 70 .....4each.....p
371 | 3584: 72 65 73 01 02 05 04 08 1a 84 80 80 80 80 0f 03 res.............
372 | 3600: 00 3a 00 00 00 15 04 33 74 65 72 01 02 04 02 02 .:.....3ter.....
373 | 3616: 68 65 01 06 01 01 03 04 08 1b 84 80 80 80 80 0e he..............
374 | 3632: 03 00 3c 00 00 00 16 04 33 80 72 65 01 02 05 01 ..<.....3.re....
375 | 3648: 03 74 61 62 01 06 01 01 05 04 08 1a 84 80 80 80 .tab............
376 | 3664: 80 0d 03 00 3a 00 00 00 15 04 33 66 6f 72 01 02 ....:.....3for..
377 | 3680: 02 02 02 74 73 01 06 01 01 04 04 08 1b 84 80 80 ...ts...........
378 | 3696: 80 80 0c 03 00 3c 00 00 00 17 03 32 74 68 01 06 .....<.....2th..
379 | 3712: 01 01 03 00 04 33 65 61 63 01 02 03 04 09 18 84 .....3eac.......
380 | 3728: 80 80 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 .......6.....2ta
381 | 3744: 01 06 01 01 05 02 01 65 01 02 04 04 09 19 84 80 .......e........
382 | 3760: 80 80 80 0a 03 00 38 00 00 00 14 03 32 69 6e 01 ......8.....2in.
383 | 3776: 06 01 01 02 01 02 70 72 01 02 05 04 09 18 84 80 ......pr........
384 | 3792: 80 80 80 09 03 00 36 00 00 00 13 03 32 66 6f 01 ......6.....2fo.
385 | 3808: 02 02 02 01 74 01 06 01 01 04 04 07 1b 84 80 80 ....t...........
386 | 3824: 80 80 08 03 00 3c 00 00 00 16 02 31 74 01 0a 04 .....<.....1t...
387 | 3840: 01 01 03 04 00 03 32 65 61 01 02 03 04 0a 17 84 ......2ea.......
388 | 3856: 80 80 80 80 07 03 00 34 00 00 00 12 02 31 69 01 .......4.....1i.
389 | 3872: 06 01 01 02 01 01 70 01 02 05 04 08 18 84 80 80 ......p.........
390 | 3888: 80 80 06 03 00 36 00 00 00 13 02 31 65 01 02 03 .....6.....1e...
391 | 3904: 01 01 66 01 08 02 01 01 04 04 06 1b 84 80 80 80 ..f.............
392 | 3920: 80 05 03 00 3c 00 00 00 16 05 30 74 65 72 6d 01 ....<.....0term.
393 | 3936: 02 04 02 02 68 65 01 06 01 01 03 04 09 14 84 80 ....he..........
394 | 3952: 80 80 80 04 03 00 2e 00 00 00 10 06 30 64 61 62 ............0dab
395 | 3968: 6c 65 01 06 01 01 05 04 15 84 80 80 80 80 03 03 le..............
396 | 3984: 00 30 00 00 00 11 02 08 30 70 72 65 73 65 6e 74 .0......0present
397 | 4000: 01 02 05 05 1b 84 80 80 80 80 02 03 00 3c 00 00 .............<..
398 | 4016: 00 16 04 30 66 74 73 01 06 01 01 04 01 02 69 6e ...0fts.......in
399 | 4032: 01 06 01 01 04 0a 1a 84 80 80 80 80 01 03 00 3a ...............:
400 | 4048: 00 00 00 15 05 30 65 61 63 68 01 02 03 01 13 66 .....0each.....f
401 | 4064: 6f 72 01 02 02 04 09 06 01 03 00 12 03 0b 0f 00 or..............
402 | 4080: 00 08 8c 80 80 80 80 11 03 00 16 00 00 00 05 04 ................
404 | 0: 0a 00 00 00 32 0e 4f 00 0f fa 0f f1 0f e9 0f e1 ....2.O.........
405 | 16: 0f d8 0f d1 0f c9 0f c1 0f b9 0f b1 0f a9 0f a0 ................
406 | 32: 0f 98 0f 90 0f 87 0f 80 0f 78 0f 71 0f 68 0f 5f .........x.q.h._
407 | 48: 0f 56 0f 4d 0f 41 0f 38 0f 2f 0f 26 0f 1d 0f 13 .V.M.A.8./.&....
408 | 64: 0f 0a 0f 01 0e f7 0e ee 0e e6 0e dd 0e d6 0e cd ................
409 | 80: 0e c3 0e ba 0e 00 00 00 00 00 00 00 00 00 00 00 ................
410 | 3648: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 ................
411 | 3664: 04 01 10 01 03 34 74 20 07 04 01 0e 01 03 34 1e .....4t ......4.
412 | 3680: 09 04 01 12 01 03 33 74 68 1c 08 04 01 10 01 03 ......3th.......
413 | 3696: 33 6e 1a 08 04 01 10 01 03 32 77 18 08 04 01 10 3n.......2w.....
414 | 3712: 01 03 32 74 16 08 04 01 10 01 03 32 6e 14 07 04 ..2t.......2n...
415 | 3728: 01 0e 01 03 32 12 08 04 01 10 01 03 31 74 10 08 ....2.......1t..
416 | 3744: 04 01 10 01 03 31 6e 0e 07 04 01 0e 01 03 31 0c .....1n.......1.
417 | 3760: 09 04 01 12 01 03 30 74 68 0a 08 04 01 10 01 03 ......0th.......
418 | 3776: 30 74 08 09 04 01 12 01 03 30 6e 75 06 08 04 01 0t.......0nu....
419 | 3792: 10 01 03 30 6e 04 06 04 01 0c 01 03 02 08 04 01 ...0n...........
420 | 3808: 10 01 02 34 72 22 07 04 01 0e 01 02 34 20 08 04 ...4r.......4 ..
421 | 3824: 01 10 01 02 33 72 1e 09 04 01 12 01 02 33 61 72 ....3r.......3ar
422 | 3840: 1c 08 04 01 10 01 02 32 74 1a 08 04 01 10 01 02 .......2t.......
423 | 3856: 32 69 18 09 04 01 12 01 02 32 61 72 16 08 04 01 2i.......2ar....
424 | 3872: 10 01 02 31 74 14 08 04 01 10 01 02 31 6e 12 08 ...1t.......1n..
425 | 3888: 04 01 10 01 02 31 62 10 08 04 01 10 01 02 31 32 .....1b.......12
426 | 3904: 0e 0b 04 01 16 01 02 30 74 68 65 72 0c 08 04 01 .......0ther....
427 | 3920: 10 01 02 30 74 0a 08 04 01 10 01 02 30 6e 08 08 ...0t.......0n..
428 | 3936: 14 01 10 01 02 30 62 06 08 04 01 10 01 02 30 61 .....0b.......0a
429 | 3952: 04 06 04 01 0c 01 02 02 07 04 09 10 01 34 74 22 .............4t.
430 | 3968: 06 04 09 0e 01 34 20 08 04 09 12 01 33 74 65 1e .....4 .....3te.
431 | 3984: 07 04 09 10 01 33 70 1c 07 04 09 10 01 33 66 1a .....3p......3f.
432 | 4000: 08 04 09 12 01 32 74 68 18 07 04 09 10 01 32 74 .....2th......2t
433 | 4016: 16 01 64 09 10 01 32 69 14 07 04 09 10 01 32 66 ..d...2i......2f
434 | 4032: 12 07 04 09 10 01 31 74 10 07 04 09 10 01 31 69 ......1t......1i
435 | 4048: 0e 06 04 09 0e 01 31 0c 08 04 09 12 01 30 74 65 ......1......0te
436 | 4064: 0a 06 04 09 10 01 30 74 08 07 04 09 10 01 30 70 ......0t......0p
437 | 4080: 06 08 04 09 12 00 00 00 00 00 00 00 00 00 00 00 ................
438 | page 4 offset 12288
439 | 4064: 00 00 00 00 00 00 00 00 00 00 00 05 03 03 00 10 ................
440 | 4080: 03 05 05 02 03 00 10 04 06 05 01 03 00 10 04 04 ................
441 | page 5 offset 16384
442 | 0: 0a 00 00 00 02 0f eb 00 0f eb 0f f4 00 00 00 00 ................
443 | 4064: 00 00 00 00 00 00 00 00 00 00 00 08 03 15 01 70 ...............p
444 | 4080: 67 73 7a 18 0b 03 1b 01 76 65 72 73 69 6f 6e 04 gsz.....version.
445 | page 6 offset 20480
446 | 0: 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
447 | 4080: 00 00 03 03 02 01 03 03 02 02 01 00 00 00 00 00 ................
448 | end sql047467.txt.db
451 do_catchsql_test 2.1 {
452 SELECT * FROM t1('R*R*R*R*') WHERE (a,b)<=(current_date,0) ORDER BY rowid DESC;
453 } {1 {database disk image is malformed}}
455 #-------------------------------------------------------------------------
459 db deserialize [decode_hexdb {
461 | size 32768 pagesize 4096 filename crash-c69fcaceff1e50.db
463 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
464 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 08 .....@ ........
465 | 32: 00 00 00 02 00 00 00 01 00 00 00 09 00 00 00 04 ................
466 | 96: 00 00 00 00 0d 0f c7 00 07 0d 92 00 0f 8d 0f 36 ...............6
467 | 112: 0e cb 0e 6b 0e 0e 0d b6 0d 92 0d 92 00 00 00 00 ...k............
468 | 3472: 00 00 22 08 06 17 11 11 01 31 74 61 62 6c 65 74 .........1tablet
469 | 3488: 32 74 32 08 43 52 45 41 54 45 20 54 41 42 4c 45 2t2.CREATE TABLE
470 | 3504: 20 74 32 28 78 29 56 07 06 17 1f 1f 01 7d 74 61 t2(x)V.......ta
471 | 3520: 62 6c 65 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 blet1_configt1_c
472 | 3536: 6f 6e 66 69 67 07 43 52 45 41 54 45 20 54 41 42 onfig.CREATE TAB
473 | 3552: 4c 45 20 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b LE 't1_config'(k
474 | 3568: 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 PRIMARY KEY, v)
475 | 3584: 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 5b 06 WITHOUT ROWID[.
476 | 3600: 07 17 21 21 01 81 01 74 61 62 6c 65 74 31 5f 64 ..!!...tablet1_d
477 | 3616: 6f 63 73 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 ocsizet1_docsize
478 | 3632: 06 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 .CREATE TABLE 't
479 | 3648: 31 5f 64 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 1_docsize'(id IN
480 | 3664: 54 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 TEGER PRIMARY KE
481 | 3680: 59 2c 20 73 7a 20 42 4c 4f 42 29 5e 05 07 17 21 Y, sz BLOB)^...!
482 | 3696: 21 01 81 07 74 61 62 6c 65 74 31 5f 63 6f 6e 74 !...tablet1_cont
483 | 3712: 65 6e 74 74 31 5f 63 6f 6e 74 65 6e 74 05 43 52 entt1_content.CR
484 | 3728: 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 63 EATE TABLE 't1_c
485 | 3744: 6f 6e 74 65 6e 74 27 28 69 64 20 49 4e 54 45 47 ontent'(id INTEG
486 | 3760: 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 ER PRIMARY KEY,
487 | 3776: 63 30 2c 20 63 31 2c 20 63 32 29 69 04 07 17 19 c0, c1, c2)i....
488 | 3792: 19 01 81 2d 74 61 62 6c 65 74 31 5f 69 64 78 74 ...-tablet1_idxt
489 | 3808: 31 5f 69 64 78 04 43 52 45 41 54 45 20 54 41 42 1_idx.CREATE TAB
490 | 3824: 4c 45 20 27 74 31 5f 69 64 78 27 28 73 65 67 69 LE 't1_idx'(segi
491 | 3840: 64 2c 20 74 65 72 6d 2c 20 70 67 6e 6f 2c 20 50 d, term, pgno, P
492 | 3856: 52 49 4d 41 52 59 20 4b 45 59 28 73 65 67 69 64 RIMARY KEY(segid
493 | 3872: 2c 20 74 65 72 6d 29 29 20 57 49 54 48 4f 55 54 , term)) WITHOUT
494 | 3888: 20 52 4f 57 49 44 55 03 07 17 1b 1b 01 81 01 74 ROWIDU........t
495 | 3904: 61 62 6c 65 74 31 5f 64 61 74 61 74 31 5f 64 61 ablet1_datat1_da
496 | 3920: 74 61 03 43 52 45 41 54 45 20 54 41 42 4c 45 20 ta.CREATE TABLE
497 | 3936: 27 74 31 5f 64 61 74 61 27 28 69 64 20 49 4e 54 't1_data'(id INT
498 | 3952: 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 EGER PRIMARY KEY
499 | 3968: 2c 20 62 6c 6f 63 6b 20 42 4c 4f 42 29 38 02 06 , block BLOB)8..
500 | 3984: 17 11 11 08 5f 74 61 62 6c 65 74 31 74 31 43 52 ...._tablet1t1CR
501 | 4000: 45 41 54 45 20 56 49 52 54 55 41 4c 20 54 41 42 EATE VIRTUAL TAB
502 | 4016: 4c 45 20 74 31 20 55 53 49 4e 47 20 66 74 73 35 LE t1 USING fts5
503 | 4032: 28 61 2c 62 2c 63 29 00 00 00 00 00 00 00 00 00 (a,b,c).........
505 | 0: 0d 00 00 00 03 0c 94 00 0f e6 0f ef 0c 94 00 00 ................
506 | 3216: 00 00 00 00 86 4a 84 80 80 80 80 01 04 00 8d 18 .....J..........
507 | 3232: 00 00 01 bb 02 30 30 01 02 06 01 02 06 01 02 06 .....00.........
508 | 3248: 1f 02 03 01 02 03 01 02 03 01 08 32 30 31 36 30 ...........20160
509 | 3264: 36 30 39 01 02 07 01 02 07 01 02 07 01 01 34 01 609...........4.
510 | 3280: 02 05 01 02 05 01 02 05 01 01 35 01 02 04 01 02 ..........5.....
511 | 3296: 04 01 02 04 02 07 30 30 30 30 30 30 30 1c 02 04 ......0000000...
512 | 3312: 01 02 04 01 02 04 01 06 62 69 6e 61 72 79 03 06 ........binary..
513 | 3328: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
514 | 3344: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
515 | 3360: 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 02 ................
516 | 3376: 03 06 01 02 02 03 06 01 02 02 01 08 63 6f 6d 70 ............comp
517 | 3392: 69 6c 65 72 01 02 02 01 02 02 01 02 02 01 06 64 iler...........d
518 | 3408: 62 73 74 61 74 07 02 03 01 02 03 01 02 03 02 04 bstat...........
519 | 3424: 65 62 75 67 04 02 02 01 02 02 01 02 02 01 06 65 ebug...........e
520 | 3440: 6b b1 62 6c 65 07 02 02 01 02 02 01 02 02 01 02 k.ble...........
521 | 3456: 02 01 02 02 01 02 02 01 02 02 01 02 02 01 02 02 ................
522 | 3472: 01 02 02 01 02 02 05 02 02 01 02 02 01 02 02 01 ................
523 | 3488: 02 02 01 02 02 01 02 02 01 02 02 01 02 02 01 02 ................
524 | 3504: 02 01 02 02 02 08 78 74 65 6e 73 69 6f 6e 1f 02 ......xtension..
525 | 3520: 04 01 02 04 01 02 04 01 04 66 74 73 34 1a 02 03 .........fts4...
526 | 3536: 01 02 03 01 02 03 04 01 35 0d 02 03 01 02 03 01 ........5.......
527 | 3552: 02 03 01 03 67 63 63 01 02 03 01 02 03 01 02 03 ....gcc.........
528 | 3568: 02 06 65 6f 70 6f 6c 79 10 02 03 01 02 03 01 02 ..eopoly........
529 | 3584: 03 01 05 6a 73 6f 6e 31 13 02 03 01 02 03 01 02 ...json1........
530 | 3600: 03 01 04 6c 6f 61 64 1f 02 03 01 02 03 01 02 03 ...load.........
531 | 3616: 01 03 6d 61 78 1c 02 02 01 02 02 01 02 02 02 05 ..max...........
532 | 3632: 65 6d 6f 72 79 1c 02 03 01 02 03 01 02 03 04 04 emory...........
533 | 3648: 73 79 73 35 16 02 03 01 02 03 01 02 03 01 06 6e sys5...........n
534 | 3664: 6f 63 61 73 65 02 06 01 02 02 03 06 01 02 02 03 ocase...........
535 | 3680: 06 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 ................
536 | 3696: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
537 | 3712: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
538 | 3728: 02 01 04 6f 6d 69 74 1f 02 02 01 02 02 01 02 01 ...omit.........
539 | 3744: ff ff ff ff ff ff ff ff ff ff ff ff ff ff f1 02 ................
540 | 3760: 58 81 96 4d 01 06 01 02 02 03 06 01 02 02 03 06 X..M............
541 | 3776: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
542 | 3792: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
543 | 3808: 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 02 ................
544 | 3824: 01 0a 74 68 72 65 61 64 73 61 66 65 22 02 02 01 ..threadsafe....
545 | 3840: 02 02 01 02 02 01 04 76 74 61 62 07 02 04 01 02 .......vtab.....
546 | 3856: 04 01 02 04 01 01 78 01 06 01 01 02 01 06 01 01 ......x.........
547 | 3872: 02 01 06 01 c6 02 01 06 01 01 02 01 06 01 01 02 ................
548 | 3888: 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 ................
549 | 3904: 06 01 01 02 00 f6 01 01 02 01 06 01 01 02 01 06 ................
550 | 3920: 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 ................
551 | 3936: 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 01 ................
552 | 3952: 02 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 ................
553 | 3968: 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 ................
554 | 3984: 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 ................
555 | 4000: 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 ................
556 | 4016: 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 01 ................
557 | 4032: 02 01 06 01 01 02 01 06 01 01 02 04 15 13 0c 0c ................
558 | 4048: 12 44 13 11 0f 47 13 0f 0c 0e 11 10 0f 0e 10 0f .D...G..........
559 | 4064: 44 0f 10 40 15 0f 07 01 03 00 14 24 5a 24 24 0f D..@.......$Z$$.
560 | 4080: 0a 03 00 24 00 00 00 00 01 01 01 00 01 01 01 01 ...$............
561 | page 4 offset 12288
562 | 0: 0a 00 00 00 01 0f fa 00 0f fa 00 00 00 00 00 00 ................
563 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
564 | page 7 offset 24576
565 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
566 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
567 | end crash-c69fcaceff1e50.db
570 do_catchsql_test 3.1 {
571 UPDATE t1 SET b=quote(zeroblob(200)) WHERE a MATCH 'thra*T';
572 } {1 {database disk image is malformed}}
574 #-------------------------------------------------------------------------
578 db deserialize [decode_hexdb {
580 | size 24576 pagesize 4096 filename crash-ef6738247b1344.db
582 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
583 | 16: 10 00 01 01 00 40 20 20 00 10 00 06 40 00 00 06 .....@ ....@...
584 | 32: 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 ................
585 | 96: 00 00 00 00 0d 00 00 00 06 0e 0f 00 0f aa 0f 53 ...............S
586 | 112: 0e e8 0e 8b 0e 33 0e 0f 00 00 00 00 00 00 00 00 .....3..........
587 | 3584: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 ................
588 | 3600: 06 06 17 11 11 01 31 74 61 62 6c 65 62 62 62 62 ......1tablebbbb
589 | 3616: 06 43 52 45 41 54 45 20 54 41 42 4c 45 20 62 62 .CREATE TABLE bb
590 | 3632: 28 61 29 56 05 06 17 1f 1f 01 7d 74 61 62 6c 65 (a)V.......table
591 | 3648: 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 6f 6e 66 t1_configt1_conf
592 | 3664: 69 67 05 43 52 45 41 54 45 20 54 41 42 4c 45 20 ig.CREATE TABLE
593 | 3680: 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b 20 50 52 't1_config'(k PR
594 | 3696: 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 20 57 49 IMARY KEY, v) WI
595 | 3712: 54 48 4f 55 54 20 52 4f 57 49 44 5b 04 07 17 21 THOUT ROWID[...!
596 | 3728: 21 01 81 01 74 61 62 6c 65 74 31 5f 64 6f 63 73 !...tablet1_docs
597 | 3744: 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 04 43 52 izet1_docsize.CR
598 | 3760: 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 64 EATE TABLE 't1_d
599 | 3776: 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 54 45 47 ocsize'(id INTEG
600 | 3792: 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 ER PRIMARY KEY,
601 | 3808: 73 7a 20 42 4c 4f 42 29 69 03 07 17 19 19 01 81 sz BLOB)i.......
602 | 3824: 2d 74 61 62 6c 65 74 31 5f 69 64 78 74 31 5f 69 -tablet1_idxt1_i
603 | 3840: 64 78 03 43 52 45 41 54 45 20 54 41 42 4c 45 20 dx.CREATE TABLE
604 | 3856: 27 74 31 5f 69 64 78 27 28 73 65 67 69 64 2c 20 't1_idx'(segid,
605 | 3872: 74 65 72 6d 2c 20 6f 67 6e 6f 2c 20 50 52 49 4d term, ogno, PRIM
606 | 3888: 41 52 59 20 4b 45 59 28 73 65 67 69 64 2c 20 74 ARY KEY(segid, t
607 | 3904: 65 72 6d 29 29 20 57 49 54 48 4f 55 54 20 52 4f erm)) WITHOUT RO
608 | 3920: 57 49 44 55 35 07 17 1b 1b 01 81 01 74 61 62 6c WIDU5.......tabl
609 | 3936: 65 74 31 5f 64 61 74 61 74 31 5f 64 61 74 61 02 et1_datat1_data.
610 | 3952: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
611 | 3968: 5f 64 61 74 61 27 28 69 64 20 49 4e 54 45 47 45 _data'(id INTEGE
612 | 3984: 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 62 R PRIMARY KEY, b
613 | 4000: 6c 6f 63 6b 20 42 4c 4f 42 29 54 01 07 17 11 11 lock BLOB)T.....
614 | 4016: 08 81 15 74 61 62 6c 65 74 31 74 31 43 52 45 41 ...tablet1t1CREA
615 | 4032: 54 45 20 56 49 52 54 55 41 4c 20 54 41 42 4c 45 TE VIRTUAL TABLE
616 | 4048: 20 74 31 20 55 53 49 4e 47 20 66 74 73 35 28 61 t1 USING fts5(a
617 | 4064: 2c 62 2c 70 72 65 66 69 78 3d 22 31 2c 32 2c 33 ,b,prefix=.1,2,3
618 | 4080: 2c 34 22 2c 20 63 6f 6e 74 65 6e 74 3d 22 22 29 ,4., content=..)
620 | 0: 0d 0b 6a 00 37 09 4c 02 0f e7 09 4c 0f c6 0f a4 ..j.7.L....L....
621 | 16: 0f 88 0f 6d 0f 4b 0f 2c 0f 0e 0e ec 0e cd 0e ad ...m.K.,........
622 | 32: 0e 8e 0e 6c 0e 4b 0e 29 0e 08 0d e6 0d c4 0d b5 ...l.K.)........
623 | 48: 0d 97 0d 76 0d 54 0d 31 0d 15 0c f3 0c d3 0c b5 ...v.T.1........
624 | 64: 0c 95 0c 73 0c 54 0c 32 0c 10 0b ee 0b cc 0b b0 ...s.T.2........
625 | 80: 0b 8d 0b 7e 0b 48 0b 2e 0b 0b 0a ef 0a cc 0a 00 ...~.H..........
626 | 2368: 00 00 00 00 00 00 00 00 00 00 00 00 15 0a 03 00 ................
627 | 2384: 30 00 00 00 01 01 03 35 00 03 01 01 12 02 01 12 0......5........
628 | 2400: 03 01 11 1c 8c 80 80 80 80 10 02 9c 3e 00 00 00 ............>...
629 | 2416: 17 01 05 05 34 74 61 62 6c 03 02 03 01 04 77 68 ....4tabl.....wh
630 | 2432: 65 72 03 02 06 09 1b 8c 80 80 80 80 0f 03 00 3c er.............<
631 | 2448: 00 00 00 16 05 34 66 74 73 34 03 02 02 01 04 6e .....4fts4.....n
632 | 2464: 75 6d 62 03 06 01 04 09 1b 8c 80 80 80 80 0e 03 umb.............
633 | 2480: 00 3c 00 00 00 16 04 33 74 68 65 03 06 01 01 04 .<.....3the.....
634 | 2496: 01 03 77 68 65 03 02 04 04 0a 1b 8c 80 80 80 80 ..whe...........
635 | 2512: 0d 03 00 3c 00 00 00 16 04 33 6e 75 6d 03 06 01 ...<.....3num...
636 | 2528: 01 05 01 03 74 61 62 03 02 03 04 0a 19 8c 80 80 ....tab.........
637 | 2544: 80 80 0c 03 00 38 00 00 00 14 03 32 77 68 03 02 .....8.....2wh..
638 | 2560: 04 00 04 33 66 74 73 03 12 02 04 07 18 8c 80 80 ...3fts.........
639 | 2576: 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 03 02 .....6.....2ta..
640 | 2592: 03 02 01 68 03 06 01 01 04 04 07 1b 8c 80 80 80 ...h............
641 | 2608: 80 0a 03 00 3c 00 00 00 16 03 32 6e 75 03 06 01 ....<.....2nu...
642 | 2624: 01 05 01 02 6f 66 03 06 01 01 06 04 09 19 8c 80 ....of..........
643 | 2640: 82 d0 80 09 03 00 38 00 00 00 14 03 32 66 74 03 ......8.....2ft.
644 | 2656: 02 02 01 02 69 73 03 06 01 01 03 04 07 18 8c 80 ....is..........
645 | 2672: 80 80 80 08 03 00 36 00 00 00 13 02 31 74 03 08 ......6.....1t..
646 | 2688: 03 01 01 04 01 01 77 03 02 04 04 09 1a 8c 80 80 ......w.........
647 | 2704: 80 80 07 03 00 3a 00 00 00 15 02 31 6e 03 08 01 .....:.....1n...
648 | 2720: 01 02 05 01 01 6f 03 06 01 01 06 04 09 18 8c 80 .....o..........
649 | 2736: 81 80 80 06 03 00 36 00 00 00 13 04 12 31 66 03 ......6......1f.
650 | 2752: 02 02 01 01 69 03 06 01 01 03 05 06 1c 8c 80 80 ....i...........
651 | 2768: 80 80 05 03 00 3e 00 00 00 17 04 30 74 68 65 03 .....>.....0the.
652 | 2784: 06 01 01 04 01 05 77 68 65 72 65 03 02 04 0a 15 ......where.....
653 | 2800: 8c 80 65 80 80 04 03 00 30 00 00 00 11 01 01 06 ..e.....0.......
654 | 2816: 06 30 74 61 62 6c 65 03 02 03 07 1c 8c 80 80 80 .0table.........
655 | 2832: 80 03 03 00 3e 00 00 00 17 07 30 6e 75 6d 62 65 ....>.....0numbe
656 | 2848: 72 03 06 01 01 05 01 02 6f 66 03 06 04 0d 13 8c r.......of......
657 | 2864: 80 80 80 80 02 03 00 2c 00 00 00 0f fc 01 03 02 .......,........
658 | 2880: 30 6e 03 06 01 00 f2 07 1b 8c 80 80 80 80 01 03 0n..............
659 | 2896: 00 3c 00 00 00 16 08 30 66 74 73 34 61 75 78 03 .<.....0fts4aux.
660 | 2912: 03 02 01 02 69 73 03 06 04 0c 00 00 00 18 ea 00 ....is..........
661 | 2928: 00 00 01 01 02 24 00 02 01 01 12 02 01 12 08 88 .....$..........
662 | 2944: 80 80 80 80 12 03 00 12 10 00 00 05 02 1c 88 80 ................
663 | 2960: 80 80 80 11 03 00 3e 00 00 00 17 05 34 72 6f 77 ......>.....4row
664 | 2976: 73 02 06 01 01 05 01 04 74 68 65 72 02 02 04 0b s.......ther....
665 | 2992: 15 88 80 80 80 80 10 03 00 2f ff ff f0 11 02 01 ........./......
666 | 3008: 01 07 05 34 62 65 74 77 02 02 04 08 1b 88 80 80 ...4betw........
667 | 3024: 80 80 0f cf 00 3c 00 00 00 16 04 04 33 72 6f 77 .....<......3row
668 | 3040: 02 06 01 01 05 01 03 74 68 65 02 08 05 0a 1b 88 .......the......
669 | 3056: 80 80 80 80 0d 03 00 3c 00 00 00 16 00 01 02 04 .......<........
670 | 3072: 33 61 72 65 02 02 03 01 03 62 65 74 02 02 07 08 3are.....bet....
671 | 3088: 1b 88 80 80 80 80 0d 03 00 3c 00 00 00 16 03 32 .........<.....2
672 | 3104: 74 68 02 08 02 01 01 07 00 04 33 61 6e 64 02 06 th........3and..
673 | 3120: 04 0a 1b 88 80 80 80 80 0c 03 00 3c 00 00 00 16 ...........<....
674 | 3136: 03 32 69 6e 02 06 01 01 06 01 02 72 6f 02 06 01 .2in.......ro...
675 | 3152: 01 05 04 09 18 88 80 80 80 80 0b 03 00 36 00 00 .............6..
676 | 3168: 00 13 02 03 32 61 72 02 02 03 01 02 62 65 02 02 ....2ar.....be..
677 | 3184: 04 05 07 1b 88 80 80 80 80 0a 03 00 3c 00 00 00 ............<...
678 | 3200: 16 12 31 74 02 08 02 01 01 07 00 03 32 61 6e 02 ..1t........2an.
679 | 3216: 06 01 01 04 09 19 88 80 80 80 80 09 03 00 38 00 ..............8.
680 | 3232: 00 00 14 02 31 6e 02 06 01 01 03 01 01 72 02 06 ....1n.......r..
681 | 3248: 01 01 05 04 08 17 78 80 80 80 80 08 03 00 34 10 ......x.......4.
682 | 3264: 01 00 12 02 31 62 02 02 04 01 01 69 02 06 01 01 ....1b.....i....
683 | 3280: 06 04 06 19 88 80 80 80 80 07 03 00 38 00 00 00 ............8...
684 | 3296: 14 04 02 31 32 02 02 05 01 01 61 02 08 03 01 01 ...12.....a.....
685 | 3312: 02 05 06 1b 88 80 80 80 80 06 03 00 3c 00 00 00 ............<...
686 | 3328: 16 06 30 74 68 65 72 65 e7 02 02 00 02 31 31 02 ..0there.....11.
687 | 3344: 06 01 01 04 0a 15 88 80 80 80 80 05 03 00 30 00 ..............0.
688 | 3360: 00 00 11 01 01 05 e5 30 74 68 65 02 06 01 01 07 .......0the.....
689 | 3376: 07 1c 88 80 80 80 80 04 03 00 3e 00 00 00 17 01 ..........>.....
690 | 3392: 01 06 02 30 6e 02 06 01 01 03 01 04 72 6f 77 73 ...0n.......rows
691 | 3408: 02 06 07 08 1b 88 80 80 80 80 03 03 00 3c 00 00 .............<..
692 | 3424: 00 16 08 30 62 65 74 77 65 65 6e 02 02 04 01 02 ...0between.....
693 | 3440: 69 6e 02 06 04 0c 1a 88 80 80 80 80 02 03 00 3a in.............:
694 | 3456: 00 00 00 15 04 30 61 6e 64 02 06 01 01 02 02 02 .....0and.......
695 | 3472: 72 65 02 02 03 04 0a 17 88 80 80 80 80 01 03 00 re..............
696 | 3488: 34 01 00 00 12 02 30 31 02 06 01 01 04 01 01 32 4.....01.......2
697 | 3504: 02 02 05 04 08 08 84 80 80 80 80 12 03 00 16 00 ................
698 | 3520: 00 00 05 04 1b 84 80 80 80 80 11 03 00 3c 00 00 .............<..
699 | 3536: 00 16 05 34 74 61 62 6c 01 06 01 01 05 02 03 65 ...4tabl.......e
700 | 3552: 72 6d 01 02 04 0b 1b 84 80 80 80 80 10 03 00 3c rm.............<
701 | 3568: 00 00 00 16 05 34 65 61 63 68 01 02 02 01 04 70 .....4each.....p
702 | 3584: 72 65 73 01 02 05 04 09 1a 84 80 80 80 80 0f 03 res.............
703 | 3600: 00 3a 00 00 00 15 04 33 74 65 72 01 02 04 02 02 .:.....3ter.....
704 | 3616: 68 65 01 06 01 01 03 04 08 1b 84 80 80 80 80 0e he..............
705 | 3632: 03 00 3c 00 00 00 16 04 33 70 72 65 01 02 05 01 ..<.....3pre....
706 | 3648: 03 74 61 62 01 06 01 01 05 04 08 1a 84 80 80 80 .tab............
707 | 3664: 80 0d 03 0d 1a 00 00 00 15 04 33 66 6e 72 01 02 ..........3fnr..
708 | 3680: 02 02 02 74 73 01 06 01 01 04 04 08 1b 84 80 80 ...ts...........
709 | 3696: 80 80 0c 03 00 3c 00 00 00 16 03 32 74 68 01 06 .....<.....2th..
710 | 3712: 01 01 03 00 04 33 65 61 63 01 02 03 04 09 18 84 .....3eac.......
711 | 3728: 80 80 80 80 0b 03 00 36 00 00 00 13 03 32 74 61 .......6.....2ta
712 | 3744: 01 06 01 01 05 02 01 65 01 02 04 04 09 19 84 80 .......e........
713 | 3760: 80 80 80 0a 03 00 38 00 00 00 14 03 30 c9 6e 01 ......8.....0.n.
714 | 3776: 06 01 01 02 01 02 70 72 01 02 05 04 09 18 84 80 ......pr........
715 | 3792: 80 80 80 09 03 00 36 00 00 00 13 03 32 66 6f 01 ......6.....2fo.
716 | 3808: 02 0b e2 01 74 01 06 01 01 04 04 07 1b 84 80 80 ....t...........
717 | 3824: 86 f0 08 03 00 3c 00 00 00 16 02 31 74 01 0a 04 .....<.....1t...
718 | 3840: 01 01 03 04 00 03 32 65 61 01 02 03 04 0a 17 84 ......2ea.......
719 | 3856: 80 80 80 80 07 03 00 34 00 00 00 12 02 31 69 01 .......4.....1i.
720 | 3872: 06 01 01 02 01 01 70 01 02 05 04 08 18 84 80 80 ......p.........
721 | 3888: 80 80 06 03 00 36 00 00 00 13 02 31 65 01 02 03 .....6.....1e...
722 | 3904: 01 01 66 01 08 02 01 01 04 04 06 1b 84 80 80 80 ..f.............
723 | 3920: 80 05 03 00 3c 00 00 00 16 05 30 74 65 72 6d 01 ....<.....0term.
724 | 3936: 02 04 02 02 68 65 01 06 01 01 03 04 09 14 84 80 ....he..........
725 | 3952: 80 80 80 04 03 00 2e 00 00 00 10 06 30 74 61 62 ............0tab
726 | 3968: 6c 65 01 06 01 01 05 04 15 84 7f 80 80 80 03 03 le..............
727 | 3984: 00 30 00 00 00 11 02 08 30 70 72 65 73 65 6e 74 .0......0present
728 | 4000: 01 02 05 05 1b 84 80 22 80 80 02 03 00 3c 00 00 .............<..
729 | 4016: 00 16 04 30 66 74 73 01 06 01 01 04 01 02 69 6e ...0fts.......in
730 | 4032: 01 06 01 01 04 0a 1a 84 80 80 80 80 01 03 00 3a ...............:
731 | 4048: 00 00 00 15 05 30 65 61 63 68 01 02 03 01 03 66 .....0each.....f
732 | 4064: 6f 72 01 02 02 04 09 06 01 03 00 12 03 0b 0f 00 or..............
733 | 4080: 00 08 8c 80 80 80 80 11 03 00 16 00 00 00 05 04 ................
735 | 0: 0a 00 00 00 32 0e 4f 00 0f fa 0f f1 0f e9 0f e1 ....2.O.........
736 | 16: 0f d8 0f d1 0f c9 0f c1 0f b9 0f b1 0f a9 0f a0 ................
737 | 32: 0f 98 0f 90 0f 87 0f 80 0f 78 0f 71 0f 68 0f 5f .........x.q.h._
738 | 48: 0f 56 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 .V..............
739 | 3392: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 ................
740 | 3408: 04 01 10 01 03 34 74 20 07 04 01 0e 01 03 34 1e .....4t ......4.
741 | 3424: 09 04 01 12 01 03 33 74 68 1c 08 04 01 10 01 03 ......3th.......
742 | 3440: 34 6e 1a 08 04 01 10 01 03 32 67 18 08 04 01 10 4n.......2g.....
743 | 3456: 01 03 32 74 16 08 04 01 10 01 03 32 6e 14 07 04 ..2t.......2n...
744 | 3472: 01 0e 01 03 32 12 08 04 01 10 01 03 31 74 10 08 ....2.......1t..
745 | 3488: 04 01 10 01 03 31 6e 0e 07 04 01 0e 01 03 31 0c .....1n.......1.
746 | 3504: 09 04 01 12 01 03 30 74 68 0a 08 04 01 10 01 03 ......0th.......
747 | 3520: 30 74 08 09 04 01 12 01 03 30 6e 75 06 08 04 01 0t.......0nu....
748 | 3536: 10 01 03 30 6e 04 06 04 01 0c 01 03 02 08 04 01 ...0n...........
749 | 3552: 10 01 02 34 72 22 07 04 01 0e 01 02 34 20 08 04 ...4r.......4 ..
750 | 3568: 01 10 01 02 33 72 1e 09 04 01 12 01 02 33 61 72 ....3r.......3ar
751 | 3584: 1c 18 04 01 10 01 02 32 74 1a 08 04 01 10 01 02 .......2t.......
752 | 3600: 32 69 18 09 04 01 12 01 02 32 61 72 16 08 04 01 2i.......2ar....
753 | 3616: 10 01 02 31 74 2a 08 04 01 0f 01 02 31 6e 12 0a ...1t*......1n..
754 | 3632: d4 01 10 01 02 31 62 10 08 04 01 10 01 02 31 32 .....1b.......12
755 | 3648: 0e 0b 04 01 16 01 02 30 74 68 65 72 0c 08 04 01 .......0ther....
756 | 3664: 10 01 02 30 74 0a 08 04 01 10 01 02 30 6e 08 08 ...0t.......0n..
757 | 3680: 04 01 10 01 02 30 62 06 08 04 01 10 01 02 30 61 .....0b.......0a
758 | 3696: 04 06 03 f1 0c 01 02 02 07 04 09 10 01 34 74 22 .............4t.
759 | 3712: 06 04 09 0e 01 34 20 08 04 09 12 01 33 74 65 1e .....4 .....3te.
760 | 3728: 07 04 09 10 01 33 70 1c 07 04 09 10 01 33 66 1a .....3p......3f.
761 | 3744: 08 04 09 12 01 32 74 68 18 07 04 09 10 01 32 74 .....2th......2t
762 | 3760: 16 07 04 09 10 01 32 69 14 07 04 09 10 01 32 66 ......2i......2f
763 | 3776: 12 07 04 09 10 01 31 74 10 07 04 09 10 01 31 69 ......1t......1i
764 | 3792: 0e 06 04 09 0e 01 31 0c 08 04 09 12 01 30 74 65 ......1......0te
765 | 3808: 0a 07 04 09 10 01 30 74 08 07 04 09 10 01 30 70 ......0t......0p
766 | 3824: 06 08 04 09 1e 61 30 66 74 04 05 00 00 00 00 00 .....a0ft.......
767 | page 4 offset 12288
768 | 4064: 00 00 00 00 00 00 00 00 00 00 00 05 03 03 00 10 ................
769 | 4080: 03 05 05 02 03 00 10 04 06 05 01 03 00 10 04 04 ................
770 | page 5 offset 16384
771 | 0: 0a 00 00 00 02 0f eb 00 0f eb 0f f4 00 00 00 00 ................
772 | 4064: 00 00 00 00 00 00 00 00 00 00 00 08 03 15 01 70 ...............p
773 | 4080: 67 73 7a 18 0b 03 1b 01 76 65 72 73 69 6f 6e 04 gsz.....version.
774 | end crash-ef6738247b1344.db
778 do_catchsql_test 4.1 {
780 REPLACE INTO t1(rowid,b,a,rowid) VALUES(200,1,2,3);
781 } {1 {database disk image is malformed}}
783 do_catchsql_test 4.2 {
784 INSERT INTO t1(t1) VALUES('delete-all');
785 } {1 {database disk image is malformed}}
786 do_catchsql_test 4.3 {
787 REPLACE INTO t1(rowid,b,rowid,a) VALUES(200,1,2,3);
788 } {1 {database disk image is malformed}}
789 do_catchsql_test 4.4 {
790 REPLACE INTO t1(rowid,b,a,rowid) VALUES(0,1,2,3);
791 } {1 {database disk image is malformed}}
792 do_catchsql_test 4.5 {
793 REPLACE INTO t1(rowid,a,b,rowid) VALUES(200,1,2,3);
794 } {1 {database disk image is malformed}}
796 #-------------------------------------------------------------------------
800 db deserialize [decode_hexdb {
802 | size 28672 pagesize 4096 filename crash-0c6d3451d11597.db
804 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
805 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 07 .....@ ........
806 | 32: 00 00 00 00 00 00 00 00 00 00 00 07 00 00 00 04 ................
807 | 96: 00 00 00 00 0d 00 00 00 07 0d d2 00 0f c4 0f 6d ...............m
808 | 112: 0f 02 0e ab 0e 4e 0d f6 0d d2 00 00 00 00 00 00 .....N..........
809 | 3536: 00 00 22 07 06 17 11 11 01 31 74 61 62 6c 65 74 .........1tablet
810 | 3552: 32 74 32 07 43 52 45 41 54 45 20 54 41 42 4c 45 2t2.CREATE TABLE
811 | 3568: 20 74 32 28 78 29 56 06 06 17 1f 1f 01 7d 74 61 t2(x)V.......ta
812 | 3584: 62 6c 65 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 blet1_configt1_c
813 | 3600: 6f 6e 66 69 67 06 43 52 45 41 54 45 20 54 41 42 onfig.CREATE TAB
814 | 3616: 4c 45 20 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b LE 't1_config'(k
815 | 3632: 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 PRIMARY KEY, v)
816 | 3648: 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 5b 05 WITHOUT ROWID[.
817 | 3664: 07 17 21 21 01 81 01 74 61 62 6c 65 74 31 5f 64 ..!!...tablet1_d
818 | 3680: 6f 63 73 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 ocsizet1_docsize
819 | 3696: 05 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 .CREATE TABLE 't
820 | 3712: 31 5f 64 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 1_docsize'(id IN
821 | 3728: 54 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 TEGER PRIMARY KE
822 | 3744: 59 2c 20 73 7a 20 42 4c 4f 42 29 55 04 06 17 21 Y, sz BLOB)U...!
823 | 3760: 21 01 77 74 61 62 6c 65 74 31 5f 63 6f 6e 74 65 !.wtablet1_conte
824 | 3776: 6e 74 74 31 5f 63 6f 6e 74 65 6e 74 04 43 52 45 ntt1_content.CRE
825 | 3792: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 63 6f ATE TABLE 't1_co
826 | 3808: 6e 74 65 6e 74 27 28 69 64 20 49 4e 54 45 47 45 ntent'(id INTEGE
827 | 3824: 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 63 R PRIMARY KEY, c
828 | 3840: 30 29 69 03 07 17 19 19 01 81 2d 74 61 62 6c 65 0)i.......-table
829 | 3856: 74 31 5f 69 64 78 74 31 5f 69 64 78 03 43 52 45 t1_idxt1_idx.CRE
830 | 3872: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 69 64 ATE TABLE 't1_id
831 | 3888: 78 27 28 73 65 67 69 64 2c 20 74 65 72 6d 2c 20 x'(segid, term,
832 | 3904: 70 67 6e 6f 2c 20 50 52 49 4d 41 52 59 20 4b 45 pgno, PRIMARY KE
833 | 3920: 59 28 73 65 67 69 64 2c 20 74 65 72 6d 29 29 20 Y(segid, term))
834 | 3936: 57 49 54 48 4f 55 54 20 52 4f 57 49 44 55 02 07 WITHOUT ROWIDU..
835 | 3952: 17 1b 1b 01 81 01 74 61 62 6c 65 74 31 5f 64 61 ......tablet1_da
836 | 3968: 74 61 74 31 5f 64 61 74 61 02 43 52 45 41 54 45 tat1_data.CREATE
837 | 3984: 20 54 41 42 4c 45 20 27 74 31 5f 64 61 74 61 27 TABLE 't1_data'
838 | 4000: 28 69 64 20 49 4e 54 45 47 45 52 20 50 52 49 4d (id INTEGER PRIM
839 | 4016: 41 52 b9 20 4b 45 59 2c 20 62 6c 6f 63 6b 20 42 AR. KEY, block B
840 | 4032: 4c 4f 42 29 3a 01 06 17 11 11 08 63 74 61 62 6c LOB):......ctabl
841 | 4048: 65 74 31 74 31 43 52 45 41 54 45 20 56 49 52 54 et1t1CREATE VIRT
842 | 4064: 55 41 4c 20 54 41 42 4c 45 20 74 31 20 55 53 49 UAL TABLE t1 USI
843 | 4080: 4e 47 20 66 74 73 35 28 63 6f 6e 74 65 6e 74 29 NG fts5(content)
845 | 0: 0d 00 00 00 03 0f bd 00 0f e8 0f ef 0f bd 00 00 ................
846 | 16: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
847 | 4016: 00 00 00 00 00 00 00 00 00 00 00 00 00 24 84 80 .............$..
848 | 4032: 80 80 80 01 03 00 4e 00 00 00 1e 06 30 61 62 61 ......N.....0aba
849 | 4048: 63 6b 01 02 02 04 02 66 74 02 02 02 04 04 6e 64 ck.....ft.....nd
850 | 4064: 6f 6e 03 02 02 04 0a 07 05 01 03 00 10 03 03 0f on..............
851 | 4080: 0a 03 00 24 00 00 00 00 01 01 01 00 01 01 01 11 ...$............
853 | 0: 0a 00 00 00 01 0f 00 00 00 00 00 00 00 00 00 00 ................
854 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
855 | page 4 offset 12288
856 | 0: 0d 00 00 00 03 0f e0 00 0f f6 0f ec 0f e0 00 00 ................
857 | 4064: 0a 03 03 00 1b 61 62 61 6e 64 6f 6e 08 02 03 00 .....abandon....
858 | 4080: 17 61 62 61 66 74 08 01 03 00 17 61 62 61 63 6b .abaft.....aback
859 | page 5 offset 16384
860 | 0: 0d 00 00 00 03 0f ee 00 0f fa 0f f4 0f ee 00 00 ................
861 | 16: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
862 | 4064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 03 ................
863 | 4080: 03 00 0e 01 04 02 03 00 0e 01 04 01 03 00 0e 01 ................
864 | page 6 offset 20480
865 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
866 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
867 | page 7 offset 24576
868 | 0: 0d 00 00 10 03 0f d6 00 0f f4 10 e1 0f d6 00 00 ................
869 | 16: 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 ................
870 | 4048: 00 00 00 00 00 00 09 03 02 1b 72 65 62 75 69 6c ..........rebuil
871 | 4064: 64 11 02 02 2b 69 6e 74 65 67 72 69 74 79 2d 63 d...+integrity-c
872 | 4080: 68 65 63 6b 0a 01 02 1d 6f 70 74 69 6d 00 00 00 heck....optim...
873 | end crash-0c6d3451d11597.db
876 do_execsql_test 5.1 {
877 INSERT INTO t1(t1,rank) VALUES('secure-delete',1);
879 do_catchsql_test 5.4 {
880 UPDATE t1 SET content=randomblob(500);
881 } {1 {database disk image is malformed}}
883 #-------------------------------------------------------------------------
887 db deserialize [decode_hexdb {
889 | size 32768 pagesize 4096 filename crash-42fa37b694d45a.db
891 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
892 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 07 .....@ ........
893 | 96: 00 00 00 00 0d 00 00 00 07 0d d2 00 0f c4 0f 6d ...............m
894 | 112: 0f 02 0e ab 0e 4e 0d f6 0d d2 00 00 00 00 00 00 .....N..........
895 | 3536: 00 00 22 07 06 17 11 11 01 31 74 61 62 6c 65 74 .........1tablet
896 | 3552: 32 74 32 07 43 52 45 41 54 45 20 54 41 42 4c 45 2t2.CREATE TABLE
897 | 3568: 20 74 32 28 78 29 56 06 06 17 1f 1f 01 7d 74 61 t2(x)V.......ta
898 | 3584: 62 6c 65 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 blet1_configt1_c
899 | 3600: 6f 6e 66 69 67 06 43 52 45 41 54 45 20 54 41 42 onfig.CREATE TAB
900 | 3616: 4c 45 20 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b LE 't1_config'(k
901 | 3632: 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 PRIMARY KEY, v)
902 | 3648: 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 5b 05 WITHOUT ROWID[.
903 | 3664: 07 17 21 21 01 81 01 74 61 62 6c 65 74 31 5f 64 ..!!...tablet1_d
904 | 3680: 6f 63 73 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 ocsizet1_docsize
905 | 3696: 05 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 .CREATE TABLE 't
906 | 3712: 31 5f 64 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 1_docsize'(id IN
907 | 3728: 54 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 TEGER PRIMARY KE
908 | 3744: 59 2c 20 73 7a 20 42 4c 4f 42 29 55 04 06 17 21 Y, sz BLOB)U...!
909 | 3760: 21 01 77 74 61 62 6c 65 74 31 5f 63 6f 6e 74 65 !.wtablet1_conte
910 | 3776: 6e 74 74 31 5f 63 6f 6e 74 65 6e 74 04 43 52 45 ntt1_content.CRE
911 | 3792: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 63 6f ATE TABLE 't1_co
912 | 3808: 6e 74 65 6e 74 27 28 69 64 20 49 4e 54 45 47 45 ntent'(id INTEGE
913 | 3824: 52 20 50 52 49 4d 41 52 49 20 4b 45 59 2c 20 63 R PRIMARI KEY, c
914 | 3840: 30 29 69 03 07 17 19 19 01 81 2d 74 61 62 6c 65 0)i.......-table
915 | 3856: 74 31 5f 69 64 78 74 31 5f 69 64 78 03 43 52 45 t1_idxt1_idx.CRE
916 | 3872: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 69 64 ATE TABLE 't1_id
917 | 3888: 78 27 28 73 65 67 69 64 2c 20 74 65 72 6d 2c 20 x'(segid, term,
918 | 3904: 70 67 6e 6f 2c 20 50 52 49 4d 41 52 59 20 4b 45 pgno, PRIMARY KE
919 | 3920: 59 28 73 65 67 69 64 2c 20 74 65 72 6d 29 29 20 Y(segid, term))
920 | 3936: 57 49 54 48 4f 55 54 20 52 4f 57 49 44 55 02 07 WITHOUT ROWIDU..
921 | 3952: 17 1b 1b 01 81 01 74 61 62 6c 65 74 31 5f 64 61 ......tablet1_da
922 | 3968: 74 61 74 31 5f 64 61 74 61 02 43 52 45 41 54 45 tat1_data.CREATE
923 | 3984: 20 54 41 42 4c 45 20 27 74 31 5f 64 61 74 61 27 TABLE 't1_data'
924 | 4000: 28 69 64 20 49 4e 54 45 47 45 52 20 50 52 49 4d (id INTEGER PRIM
925 | 4016: 41 52 b9 20 4b 45 59 2c 20 62 6c 6f 63 6b 20 42 AR. KEY, block B
926 | 4032: 4c 4f 42 29 3a 01 06 17 11 11 08 63 74 61 62 6c LOB):......ctabl
927 | 4048: 65 74 31 74 31 43 52 45 41 54 45 20 56 49 52 54 et1t1CREATE VIRT
928 | 4064: 55 41 4c 20 54 41 42 4c 45 20 74 31 20 55 53 49 UAL TABLE t1 USI
929 | 4080: 4e 47 20 66 74 73 35 28 63 6f 6e 74 65 6e 74 29 NG fts5(content)
931 | 0: 0d 00 00 00 03 0f bd 00 0f e8 0f ef 0f bd f0 00 ................
932 | 16: 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
933 | 4016: 00 00 00 00 00 00 00 00 00 00 00 00 00 24 84 80 .............$..
934 | 4032: 80 80 80 01 03 00 4e 00 10 00 1e 06 30 61 62 61 ......N.....0aba
935 | 4048: 63 6c 01 02 02 04 02 66 74 02 5f 02 04 04 6e 64 cl.....ft._...nd
936 | 4064: 6f 6e 02 02 02 04 0a 07 05 01 03 00 10 03 03 0f on..............
937 | 4080: 0a 03 00 24 00 00 00 00 01 01 01 00 01 01 01 11 ...$............
939 | 0: 0a 00 00 00 01 0f 00 01 00 00 00 00 00 00 00 00 ................
940 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
941 | page 4 offset 12288
942 | 0: 0d 00 00 00 03 0f e0 00 0f f6 0f ec 0f e0 00 00 ................
943 | 4064: 0a 03 03 00 1b 61 62 61 6e 64 6f 6e 08 02 03 00 .....abandon....
944 | 4080: 17 61 62 61 66 74 08 01 03 00 17 61 62 61 63 6b .abaft.....aback
945 | page 5 offset 16384
946 | 0: 0d 00 00 00 03 0f ee 00 0f fa 0f 00 00 00 00 00 ................
947 | 4064: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 03 ................
948 | 4080: 03 00 0e 01 04 02 03 00 0e 01 04 01 03 00 0e 01 ................
949 | page 6 offset 20480
950 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
951 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
952 | page 7 offset 24576
953 | 0: 0d 00 00 10 03 0f d6 00 0f 00 00 00 00 00 00 00 ................
954 | 4048: 00 00 00 00 00 00 09 03 02 1b 72 65 62 75 69 6c ..........rebuil
955 | 4064: 64 11 02 02 2b 69 6e 74 65 67 72 69 74 79 2d 63 d...+integrity-c
956 | 4080: 68 65 63 6b 0a 01 02 1d 6f 70 74 69 6d 00 00 00 heck....optim...
957 | page 8 offset 28672
958 | 0: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
959 | end crash-42fa37b694d45a.db
962 do_execsql_test 6.1 {
963 INSERT INTO t1(t1,rank) VALUES('secure-delete',1);
965 do_catchsql_test 6.2 {
966 UPDATE t1 SET content=randomblob(500) WHERE t1;
967 } {1 {constraint failed}}
969 #-------------------------------------------------------------------------
973 db deserialize [decode_hexdb {
975 | size 40960 pagesize 4096 filename crash-d8b4a99207c10b.db
977 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
978 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 0a .....@ ........
979 | 32: 00 00 00 00 00 00 00 00 00 00 00 0d 00 00 00 04 ................
980 | 48: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 ................
981 | 96: 00 00 00 00 0d 00 00 00 0d 0b 62 00 0f 97 0f 40 ..........b....@
982 | 112: 0e d5 0e 75 0e 18 0d c0 0d 66 0d 0f 0c a4 0c 44 ...u.....f.....D
983 | 128: 0b ec 0b a7 0b 62 00 00 00 00 00 00 00 00 00 00 .....b..........
984 | 2912: 00 00 43 0d 06 17 11 11 08 75 74 61 62 6c 65 74 ..C......utablet
985 | 2928: 34 74 34 43 52 45 41 54 45 20 56 49 52 54 55 41 4t4CREATE VIRTUA
986 | 2944: 4c 20 54 41 42 4c 45 20 74 34 20 55 53 49 4e 47 L TABLE t4 USING
987 | 2960: 20 66 74 73 35 76 6f 63 61 62 28 27 74 32 27 2c fts5vocab('t2',
988 | 2976: 20 27 72 6f 77 27 29 43 0c 06 17 11 11 08 75 74 'row')C......ut
989 | 2992: 61 62 6c 65 74 33 74 33 43 52 45 41 54 45 20 56 ablet3t3CREATE V
990 | 3008: 49 52 54 55 41 4c 20 54 41 42 4c 45 20 74 33 20 IRTUAL TABLE t3
991 | 3024: 55 53 49 4e 47 20 66 74 73 35 76 6f 63 61 62 28 USING fts5vocab(
992 | 3040: 27 74 31 27 2c 20 27 72 6f 77 27 29 56 0b 06 17 't1', 'row')V...
993 | 3056: 1f 1f 01 7d 74 61 62 6c 65 74 32 5f 63 6f 6e 66 ....tablet2_conf
994 | 3072: 69 67 74 32 5f 63 6f 6e 66 69 67 0a 43 52 45 41 igt2_config.CREA
995 | 3088: 54 45 20 54 41 42 4c 45 20 27 74 32 5f 63 6f 6e TE TABLE 't2_con
996 | 3104: 66 69 67 27 28 6b 20 50 52 49 4d 41 52 59 20 4b fig'(k PRIMARY K
997 | 3120: 45 59 2c 20 76 29 20 57 49 54 48 4f 55 54 20 52 EY, v) WITHOUT R
998 | 3136: 4f 57 49 44 5e 0a 07 17 21 21 01 81 07 74 61 62 OWID^...!!...tab
999 | 3152: 6c 65 74 32 5f 63 6f 6e 74 65 6e 74 74 32 5f 63 let2_contentt2_c
1000 | 3168: 6f 6e 74 65 6e 74 09 43 52 45 41 54 45 20 54 41 ontent.CREATE TA
1001 | 3184: 42 4c 45 20 27 74 32 5f 63 6f 6e 74 65 6e 74 27 BLE 't2_content'
1002 | 3200: 28 69 64 20 49 4e 54 45 47 45 52 20 50 52 49 4d (id INTEGER PRIM
1003 | 3216: 41 52 59 20 4b 45 59 2c 20 63 30 2c 20 63 31 2c ARY KEY, c0, c1,
1004 | 3232: 20 63 32 29 69 09 07 17 19 19 01 81 2d 74 61 62 c2)i.......-tab
1005 | 3248: 6c 65 74 32 5f 69 64 78 74 32 5f 69 64 78 08 43 let2_idxt2_idx.C
1006 | 3264: 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 32 5f REATE TABLE 't2_
1007 | 3280: 69 64 78 27 28 73 65 67 69 64 2c 20 74 65 72 6d idx'(segid, term
1008 | 3296: 2c 20 70 67 6e 6f 2c 20 50 52 49 4d 41 52 59 20 , pgno, PRIMARY
1009 | 3312: 4b 45 59 28 73 65 67 69 64 2c 20 74 65 72 6d 29 KEY(segid, term)
1010 | 3328: 29 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 55 ) WITHOUT ROWIDU
1011 | 3344: 08 07 17 1b 1b 01 81 01 74 61 62 6c 65 74 32 5f ........tablet2_
1012 | 3360: 64 61 74 61 74 32 5f 64 61 74 61 07 43 52 45 41 datat2_data.CREA
1013 | 3376: 54 45 20 54 41 42 4c 45 20 27 74 32 5f 64 61 74 TE TABLE 't2_dat
1014 | 3392: 61 27 28 69 64 20 49 4e 54 45 47 45 52 20 50 52 a'(id INTEGER PR
1015 | 3408: 49 4d 41 52 59 20 4b 45 59 2c 20 62 6c 6f 63 6b IMARY KEY, block
1016 | 3424: 20 42 4c 4f 42 29 58 07 07 17 11 11 08 81 1d 74 BLOB)X........t
1017 | 3440: 61 62 6c 65 74 32 74 32 43 52 45 41 54 45 20 56 ablet2t2CREATE V
1018 | 3456: 49 52 54 55 41 4c 20 54 41 42 4c 45 20 74 32 20 IRTUAL TABLE t2
1019 | 3472: 55 53 49 4e 47 20 66 74 73 35 28 27 61 27 2c 5b USING fts5('a',[
1020 | 3488: 62 5d 2c 22 63 22 2c 64 65 74 61 69 6c 3d 6e 6f b],.c.,detail=no
1021 | 3504: 6e 65 2c 63 6f 6c 75 6d 6e 73 69 7a 65 3d 30 29 ne,columnsize=0)
1022 | 3520: 56 06 06 17 1f 1f 01 7d 74 61 62 6c 65 74 31 5f V.......tablet1_
1023 | 3536: 63 6f 6e 66 69 67 74 31 5f 63 6f 6e 66 69 67 06 configt1_config.
1024 | 3552: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
1025 | 3568: 5f 63 6f 6e 66 69 67 27 28 6b 20 50 52 49 4d 41 _config'(k PRIMA
1026 | 3584: 52 59 20 4b 45 59 2c 20 76 29 20 57 49 54 48 4f RY KEY, v) WITHO
1027 | 3600: 55 54 20 52 4f 57 49 44 5b 05 07 17 21 21 01 81 UT ROWID[...!!..
1028 | 3616: 01 74 61 62 6c 65 74 31 5f 64 6f 63 73 69 7a 65 .tablet1_docsize
1029 | 3632: 74 31 5f 64 6f 63 73 69 7a 65 05 43 52 45 41 54 t1_docsize.CREAT
1030 | 3648: 45 20 54 41 42 4c 45 20 27 74 31 5f 64 6f 63 73 E TABLE 't1_docs
1031 | 3664: 69 7a 65 27 28 69 64 20 49 4e 54 45 47 45 52 20 ize'(id INTEGER
1032 | 3680: 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 73 7a 20 PRIMARY KEY, sz
1033 | 3696: 42 4c 4f 42 29 5e 04 07 17 21 21 01 81 07 74 61 BLOB)^...!!...ta
1034 | 3712: 62 6c 65 74 31 5f 63 6f 6e 74 65 6e 74 74 31 5f blet1_contentt1_
1035 | 3728: 63 6f 6e 74 65 6e 74 04 43 52 45 41 54 45 20 54 content.CREATE T
1036 | 3744: 41 42 4c 45 20 27 74 31 5f 63 6f 6e 74 65 6e 74 ABLE 't1_content
1037 | 3760: 27 28 69 64 20 49 4e 54 45 47 45 52 20 50 52 49 '(id INTEGER PRI
1038 | 3776: 4d 41 52 59 20 4b 45 59 2c 20 63 30 2c 20 63 31 MARY KEY, c0, c1
1039 | 3792: 2c 20 63 32 29 69 03 07 17 19 19 01 81 2d 74 61 , c2)i.......-ta
1040 | 3808: 62 6c 65 74 31 5f 69 64 78 74 31 5f 69 64 78 03 blet1_idxt1_idx.
1041 | 3824: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
1042 | 3840: 5f 69 64 78 27 28 73 65 67 69 64 2c 20 74 65 72 _idx'(segid, ter
1043 | 3856: 6d 2c 20 70 67 6e 6f 2c 20 50 52 49 4d 41 52 59 m, pgno, PRIMARY
1044 | 3872: 20 4b 45 59 28 73 65 67 69 64 2c 20 74 65 72 6d KEY(segid, term
1045 | 3888: 29 29 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 )) WITHOUT ROWID
1046 | 3904: 55 02 07 17 1b 1b 01 81 01 74 61 62 6c 65 74 31 U........tablet1
1047 | 3920: 5f 64 61 74 61 74 31 5f 64 61 74 61 02 43 52 45 _datat1_data.CRE
1048 | 3936: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 64 61 ATE TABLE 't1_da
1049 | 3952: 74 61 27 28 69 64 20 49 4e 54 45 47 45 52 20 50 ta'(id INTEGER P
1050 | 3968: 52 49 4d 41 52 59 20 4b 45 59 2c 20 62 6c 6f 63 RIMARY KEY, bloc
1051 | 3984: 6b 20 42 4c 4f 42 29 67 01 07 17 11 11 08 81 3b k BLOB)g.......;
1052 | 4000: 74 61 62 6c 65 74 31 74 31 43 52 45 41 54 45 20 tablet1t1CREATE
1053 | 4016: 56 49 52 54 55 41 4c 20 54 41 42 4c 45 20 74 31 VIRTUAL TABLE t1
1054 | 4032: 20 55 53 49 4e 47 20 66 74 73 35 28 61 2c 62 20 USING fts5(a,b
1055 | 4048: 75 6e 69 6e 64 65 78 65 64 2c 63 2c 74 6f 6b 65 unindexed,c,toke
1056 | 4064: 6e 69 7a 65 3d 22 70 6f 72 74 65 72 20 61 73 63 nize=.porter asc
1057 | 4080: 69 69 22 2c 74 6f 6b 65 6e 64 61 74 61 3d 31 29 ii.,tokendata=1)
1058 | page 2 offset 4096
1059 | 0: 0d 0f 68 00 05 0f 13 00 0f e6 0f 13 0f a8 0f 7c ..h............|
1060 | 16: 0f 2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .*..............
1061 | 3856: 00 00 00 15 0a 03 00 30 00 00 00 00 01 03 03 00 .......0........
1062 | 3872: 03 01 01 01 02 01 01 03 01 01 37 8c 80 80 80 80 ..........7.....
1063 | 3888: 01 03 00 74 00 00 00 2e 02 30 61 03 02 02 01 01 ...t.....0a.....
1064 | 3904: 62 03 02 03 01 01 63 03 02 04 01 01 67 03 06 01 b.....c.....g...
1065 | 3920: 02 02 01 01 68 03 06 01 02 03 01 01 69 03 06 01 ....h.......i...
1066 | 3936: 02 04 04 06 06 06 08 08 0f ef 00 14 2a 00 00 00 ............*...
1067 | 3952: 00 01 02 02 00 02 01 01 01 02 01 01 25 88 80 80 ............%...
1068 | 3968: 80 80 01 03 00 50 00 00 00 1f 02 30 67 02 08 02 .....P.....0g...
1069 | 3984: 01 02 02 01 01 68 02 08 03 01 02 03 01 01 69 02 .....h........i.
1070 | 4000: 08 04 01 02 04 04 09 09 37 84 80 80 80 7f f1 03 ........7.......
1071 | 4016: 00 74 00 00 00 2e 02 30 61 01 02 02 01 01 62 01 .t.....0a.....b.
1072 | 4032: 02 03 01 01 63 01 02 04 01 01 67 01 06 01 02 02 ....c.....g.....
1073 | 4048: 01 01 68 01 06 01 02 03 01 01 69 01 06 01 02 04 ..h.......i.....
1074 | 4064: 04 06 06 06 08 08 07 01 03 00 14 03 09 00 09 00 ................
1075 | 4080: 00 00 11 24 00 00 00 00 01 01 01 00 01 01 01 01 ...$............
1076 | page 3 offset 8192
1077 | 0: 0a 00 00 00 03 0f ec 00 0f fa 0f f3 0f ec 00 00 ................
1078 | 4064: 00 00 00 00 00 00 00 00 00 00 00 00 06 04 01 0c ................
1079 | 4080: 01 03 02 06 04 01 0c 01 02 02 05 04 09 0c 01 02 ................
1080 | page 4 offset 12288
1081 | 0: 0d 00 00 00 03 0f be 00 0f ea 0f d4 0f be 00 00 ................
1082 | 4016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 03 ................
1083 | 4032: 05 00 17 17 17 61 20 62 20 63 67 20 68 20 69 67 .....a b cg h ig
1084 | 4048: 20 68 20 69 14 02 05 00 17 17 17 67 20 68 20 69 h i.......g h i
1085 | 4064: 61 20 62 20 63 67 20 68 20 69 14 01 05 00 17 17 a b cg h i......
1086 | 4080: 17 61 20 62 20 63 64 20 65 20 66 67 20 68 20 69 .a b cd e fg h i
1087 | page 5 offset 16384
1088 | 0: 0d 00 00 00 03 0f e8 00 0f f8 0f f0 0f e8 00 00 ................
1089 | 4064: 00 00 00 00 00 00 00 00 06 03 03 00 12 03 00 03 ................
1090 | 4080: 06 02 03 00 12 03 00 03 06 01 03 00 12 03 00 03 ................
1091 | page 6 offset 20480
1092 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
1093 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
1094 | page 7 offset 24576
1095 | 0: 0d 00 00 00 03 0f 9e 00 0f e6 0f ef 0f 9e 00 00 ................
1096 | 3984: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 41 84 ..............A.
1097 | 4000: 80 80 80 80 01 04 00 81 06 00 00 00 34 02 30 61 ............4.0a
1098 | 4016: 01 01 01 01 01 62 01 01 01 01 01 63 01 01 01 01 .....b.....c....
1099 | 4032: 01 64 01 01 01 65 01 01 01 66 01 01 01 67 01 01 .d...e...f...g..
1100 | 4048: 01 01 01 68 01 01 01 01 01 69 01 01 01 04 06 06 ...h.....i......
1101 | 4064: 06 04 04 04 06 06 07 01 03 00 14 03 09 09 09 0f ................
1102 | 4080: 0a 03 00 24 00 00 00 00 01 01 01 00 01 01 01 01 ...$............
1103 | page 8 offset 28672
1104 | 0: 0a 00 00 00 01 0f fa 00 0f fa 00 00 00 00 00 00 ................
1105 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
1106 | page 9 offset 32768
1107 | 0: 0d 00 00 00 03 0f be 00 0f ea 0f d4 0f be 00 00 ................
1108 | 4016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 03 ................
1109 | 4032: 05 00 17 17 17 61 20 62 20 63 67 20 68 20 69 67 .....a b cg h ig
1110 | 4048: 20 68 20 69 14 02 05 00 17 17 17 67 20 68 20 69 h i.......g h i
1111 | 4064: 61 20 62 20 63 67 20 68 20 69 14 01 05 00 17 17 a b cg h i......
1112 | 4080: 17 61 20 62 20 63 64 20 65 20 66 67 20 68 20 69 .a b cd e fg h i
1113 | page 10 offset 36864
1114 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
1115 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
1116 | end crash-d8b4a99207c10b.db
1119 do_catchsql_test 7.1 {
1120 SELECT snippet(t1, -1, '.', '..', '[', ']'),
1121 highlight(t1, 2, '[', ']')
1123 WHERE rank MATCH 'bm25(1.0, 1.0)' ORDER BY rank;
1124 } {1 {database disk image is malformed}}
1126 #-------------------------------------------------------------------------
1130 db deserialize [decode_hexdb {
1132 | size 20480 pagesize 4096 filename crash-d57c01958e48ab.db
1134 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
1135 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 05 .....@ ........
1136 | 32: 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 04 ................
1137 | 48: 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 ................
1138 | 96: 00 00 00 00 0d 00 00 00 05 0e 10 00 0f 97 0f 40 ...............@
1139 | 112: 0e d5 0e 68 0e 10 01 00 00 00 00 00 00 00 00 00 ...h............
1140 | 3600: 56 05 06 17 1f 1f 01 7d 74 61 62 6c 65 74 31 5f V.......tablet1_
1141 | 3616: 63 6f 6e 66 69 67 74 31 5f 63 6f 6e 66 69 67 05 configt1_config.
1142 | 3632: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
1143 | 3648: 5f 63 6f 6e 66 69 67 27 28 6b 20 50 52 49 4d 41 _config'(k PRIMA
1144 | 3664: 52 59 20 4b 45 59 2c 20 76 29 20 57 49 54 48 4f RY KEY, v) WITHO
1145 | 3680: 55 54 20 52 4f 57 49 44 6b 04 07 17 21 21 01 81 UT ROWIDk...!!..
1146 | 3696: 21 74 61 62 6c 65 74 31 5f 64 6f 63 73 69 7a 65 !tablet1_docsize
1147 | 3712: 74 31 5f 64 6f 63 73 69 7a 65 04 43 52 45 41 54 t1_docsize.CREAT
1148 | 3728: 45 20 54 41 42 4c 45 20 27 74 31 5f 64 6f 63 73 E TABLE 't1_docs
1149 | 3744: 69 7a 65 27 28 69 64 20 49 4e 54 45 47 45 52 20 ize'(id INTEGER
1150 | 3760: 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 73 7a 20 PRIMARY KEY, sz
1151 | 3776: 42 4c 4f 42 2c 20 6f 72 69 67 69 6e 20 49 4e 54 BLOB, origin INT
1152 | 3792: 45 47 45 52 29 69 03 07 17 19 19 01 81 2d 74 61 EGER)i.......-ta
1153 | 3808: 62 6c 65 74 31 5f 69 64 78 74 31 5f 69 64 78 03 blet1_idxt1_idx.
1154 | 3824: 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 CREATE TABLE 't1
1155 | 3840: 5f 69 64 78 27 28 73 65 67 69 64 2c 20 74 65 72 _idx'(segid, ter
1156 | 3856: 6d 2c 20 70 67 6e 6f 2c 20 50 52 49 4d 41 52 59 m, pgno, PRIMARY
1157 | 3872: 20 4b 45 59 28 73 65 67 69 64 2c 20 74 65 72 6d KEY(segid, term
1158 | 3888: 29 29 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 )) WITHOUT ROWID
1159 | 3904: 55 02 07 17 1b 1b 01 81 01 74 61 62 6c 65 74 31 U........tablet1
1160 | 3920: 5f 64 61 74 61 74 31 5f 64 61 74 61 02 43 52 45 _datat1_data.CRE
1161 | 3936: 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 64 61 ATE TABLE 't1_da
1162 | 3952: 74 61 27 28 69 64 20 49 4e 54 45 47 45 52 20 50 ta'(id INTEGER P
1163 | 3968: 52 49 4d 41 52 59 20 4b 45 59 2c 20 62 6c 6f 63 RIMARY KEY, bloc
1164 | 3984: 6b 20 42 4c 4f 42 29 67 01 07 17 11 11 08 81 3b k BLOB)g.......;
1165 | 4000: 74 61 62 6c 65 74 31 74 31 43 52 45 41 54 45 20 tablet1t1CREATE
1166 | 4016: 56 49 52 54 55 41 4c 20 54 41 42 4c 45 20 74 31 VIRTUAL TABLE t1
1167 | 4032: 20 55 53 49 4e 47 20 66 74 73 35 28 61 2c 20 62 USING fts5(a, b
1168 | 4048: 2c 20 63 6f 6e 74 65 6e 74 3d 27 27 2c 20 63 6f , content='', co
1169 | 4064: 6e 74 65 6e 74 6c 65 73 73 5f 64 65 6c 65 74 65 ntentless_delete
1170 | 4080: 3d 31 2c 20 74 6f 6b 65 6e 64 61 74 61 3d 31 29 =1, tokendata=1)
1171 | page 2 offset 4096
1172 | 0: 0d 0f eb 00 03 0e 17 00 0f e2 0e 17 0e 31 00 00 .............1..
1173 | 16: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
1174 | 3600: 00 00 00 00 00 00 00 18 0a 03 00 36 00 00 00 00 ...........6....
1175 | 3616: ff 00 00 01 01 01 01 00 01 01 01 01 01 01 00 00 ................
1176 | 3632: 07 83 29 84 80 80 80 80 01 04 00 86 56 00 00 01 ..).........V...
1177 | 3648: 96 04 30 61 61 61 01 02 02 01 04 02 04 01 08 02 ..0aaa..........
1178 | 3664: 04 04 04 01 10 02 04 04 04 04 04 04 04 01 20 02 .............. .
1179 | 3680: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 01 ................
1180 | 3696: 40 02 04 04 04 04 04 04 04 04 04 04 04 04 04 04 @...............
1181 | 3712: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ................
1182 | 3728: 04 01 81 00 02 04 04 04 04 04 04 04 04 04 04 04 ................
1183 | 3744: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ................
1184 | 3760: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ................
1185 | 3776: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ................
1186 | 3792: 04 04 04 04 02 02 62 63 01 06 01 01 02 01 03 62 ......bc.......b
1187 | 3808: 62 62 02 02 03 01 04 03 06 01 08 03 06 06 06 01 bb..............
1188 | 3824: 10 03 06 06 06 06 06 06 06 01 20 03 06 06 06 06 .......... .....
1189 | 3840: 06 06 06 06 06 06 06 06 06 06 06 01 40 03 06 06 ............@...
1190 | 3856: 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06 06 ................
1191 | 3872: 06 06 06 06 06 06 06 06 06 06 16 06 06 02 02 63 ...............c
1192 | 3888: 64 02 06 01 01 02 01 03 63 63 63 03 02 05 01 04 d.......ccc.....
1193 | 3904: 05 0a 01 08 05 0a 0a 0a 01 10 05 0a 0a 0a 0a 0a ................
1194 | 3920: 0a 0a 01 20 05 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ... ............
1195 | 3936: 0a 0a 0a 0a 02 02 64 65 03 06 01 01 02 01 03 64 ......de.......d
1196 | 3952: 64 64 04 02 09 01 04 09 12 01 08 09 12 12 12 01 dd..............
1197 | 3968: 10 09 12 12 12 12 12 12 12 02 02 65 66 04 06 01 ...........ef...
1198 | 3984: 01 02 01 03 65 65 65 05 02 11 01 04 11 22 01 08 ....eee.........
1199 | 4000: 11 22 22 22 02 02 66 67 05 06 01 01 02 01 03 66 ......fg.......f
1200 | 4016: 56 66 06 02 21 01 04 21 42 02 02 67 68 06 06 01 Vf..!..!B..gh...
1201 | 4032: 01 02 cb 03 67 67 67 07 02 41 02 02 68 69 07 06 ....ggg..A..hi..
1202 | 4048: 01 01 02 04 81 13 09 50 09 2e 09 1c 09 12 09 0c .......P........
1203 | 4064: 09 08 07 01 03 00 14 07 81 77 07 00 00 00 15 22 .........w......
1204 | 4080: 00 00 00 00 ff 00 00 01 00 00 00 00 00 00 05 0c ................
1205 | page 3 offset 8192
1206 | 0: 0a 00 00 00 01 0f fa 00 0f fa 00 00 00 00 00 00 ................
1207 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
1208 | page 4 offset 12288
1209 | 0: 0d 00 00 00 07 0f c8 00 0f f8 0f f0 0f e8 0f e0 ................
1210 | 16: 0f d8 0f d0 0f c8 00 00 00 00 00 00 00 00 00 00 ................
1211 | 4032: 00 00 00 00 00 00 00 00 06 07 04 00 10 09 7f 01 ................
1212 | 4048: 06 06 04 00 10 09 3f 01 06 05 04 00 10 09 1f 01 ......?.........
1213 | 4064: 06 04 04 00 10 09 0f 01 06 03 04 00 10 09 07 01 ................
1214 | 4080: 06 02 04 00 10 09 03 01 06 01 04 00 10 09 01 01 ................
1215 | page 5 offset 16384
1216 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
1217 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
1218 | end crash-d57c01958e48ab.db
1221 do_catchsql_test 8.1 {
1222 SELECT rowid FROM t1('a* NOT ý‘') ;
1223 } {0 {1 2 3 4 5 6 7}}
1225 #-------------------------------------------------------------------------
1229 db deserialize [decode_hexdb {
1231 | size 32768 pagesize 4096 filename crash-c76a16c24c8ba6.db
1233 | 0: 53 51 4c 69 74 65 20 66 6f 72 6d 61 74 20 33 00 SQLite format 3.
1234 | 16: 10 00 01 01 00 40 20 20 00 00 00 00 00 00 00 08 .....@ ........
1235 | 32: 00 00 00 02 00 00 00 01 00 00 00 09 00 00 00 04 ................
1236 | 96: 00 00 00 00 0d 0f c7 00 07 0d 92 00 0f 8d 0f 36 ...............6
1237 | 112: 0e cb 0e 6b 0e 0e 0d b6 0d 92 0d 92 00 00 00 00 ...k............
1238 | 3472: 00 00 22 08 06 17 11 11 01 31 74 61 62 6c 65 74 .........1tablet
1239 | 3488: 32 74 32 08 43 52 45 41 54 45 20 54 41 42 4c 45 2t2.CREATE TABLE
1240 | 3504: 20 74 32 28 78 29 56 07 06 17 1f 1f 01 7d 74 61 t2(x)V.......ta
1241 | 3520: 62 6c 65 74 31 5f 63 6f 6e 66 69 67 74 31 5f 63 blet1_configt1_c
1242 | 3536: 6f 6e 66 69 67 07 43 52 45 41 54 45 20 54 41 42 onfig.CREATE TAB
1243 | 3552: 4c 45 20 27 74 31 5f 63 6f 6e 66 69 67 27 28 6b LE 't1_config'(k
1244 | 3568: 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 76 29 PRIMARY KEY, v)
1245 | 3584: 20 57 49 54 48 4f 55 54 20 52 4f 57 49 44 5b 06 WITHOUT ROWID[.
1246 | 3600: 07 17 21 21 01 81 01 74 61 62 6c 65 74 31 5f 64 ..!!...tablet1_d
1247 | 3616: 6f 63 73 69 7a 65 74 31 5f 64 6f 63 73 69 7a 65 ocsizet1_docsize
1248 | 3632: 06 43 52 45 41 54 45 20 54 41 42 4c 45 20 27 74 .CREATE TABLE 't
1249 | 3648: 31 5f 64 6f 63 73 69 7a 65 27 28 69 64 20 49 4e 1_docsize'(id IN
1250 | 3664: 54 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 TEGER PRIMARY KE
1251 | 3680: 59 2c 20 73 7a 20 42 4c 4f 42 29 5e 05 07 17 21 Y, sz BLOB)^...!
1252 | 3696: 21 01 81 07 74 61 62 6c 65 74 31 5f 63 6f 6e 74 !...tablet1_cont
1253 | 3712: 65 6e 74 74 31 5f 63 6f 6e 74 65 6e 74 05 43 52 entt1_content.CR
1254 | 3728: 45 41 54 45 20 54 41 42 4c 45 20 27 74 31 5f 63 EATE TABLE 't1_c
1255 | 3744: 6f 6e 74 65 6e 74 27 28 69 64 20 49 4e 54 45 47 ontent'(id INTEG
1256 | 3760: 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 2c 20 ER PRIMARY KEY,
1257 | 3776: 63 30 2c 20 63 31 2c 20 63 32 29 69 04 07 17 19 c0, c1, c2)i....
1258 | 3792: 19 01 81 2d 74 61 62 6c 65 74 31 5f 69 64 78 74 ...-tablet1_idxt
1259 | 3808: 31 5f 69 64 78 04 43 52 45 41 54 45 20 54 41 42 1_idx.CREATE TAB
1260 | 3824: 4c 45 20 27 74 31 5f 69 64 78 27 28 73 65 67 69 LE 't1_idx'(segi
1261 | 3840: 64 2c 20 74 65 72 6d 2c 20 70 67 6e 6f 2c 20 50 d, term, pgno, P
1262 | 3856: 52 49 4d 41 52 59 20 4b 45 59 28 73 65 67 69 64 RIMARY KEY(segid
1263 | 3872: 2c 20 74 65 72 6d 29 29 20 57 49 54 48 4f 55 54 , term)) WITHOUT
1264 | 3888: 20 52 4f 57 49 44 55 03 07 17 1b 1b 01 81 01 74 ROWIDU........t
1265 | 3904: 61 62 6c 65 74 31 5f 64 61 74 61 74 31 5f 64 61 ablet1_datat1_da
1266 | 3920: 74 61 03 43 52 45 41 54 45 20 54 41 42 4c 45 20 ta.CREATE TABLE
1267 | 3936: 27 74 31 5f 64 61 74 61 27 28 69 64 20 49 4e 54 't1_data'(id INT
1268 | 3952: 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45 59 EGER PRIMARY KEY
1269 | 3968: 2c 20 62 6c 6f 63 6b 20 42 4c 4f 42 29 38 02 06 , block BLOB)8..
1270 | 3984: 17 11 11 08 5f 74 61 62 6c 65 74 31 74 31 43 52 ...._tablet1t1CR
1271 | 4000: 45 41 54 45 20 56 49 52 54 55 41 4c 20 54 41 42 EATE VIRTUAL TAB
1272 | 4016: 4c 45 20 74 31 20 55 53 49 4e 47 20 66 74 73 35 LE t1 USING fts5
1273 | 4032: 28 61 2c 62 2c 63 29 00 00 00 00 00 00 00 00 00 (a,b,c).........
1274 | page 3 offset 8192
1275 | 0: 0d 00 00 00 03 0c 94 00 0f e6 0f ef 0c 94 00 00 ................
1276 | 3216: 00 00 00 00 86 4a 84 80 80 80 80 01 04 00 8d 18 .....J..........
1277 | 3232: 00 00 03 2b 02 30 30 01 02 06 01 02 06 01 02 06 ...+.00.........
1278 | 3248: 1f 02 03 01 02 03 01 02 03 01 08 32 30 31 36 30 ...........20160
1279 | 3264: 36 30 39 01 02 07 01 02 07 01 02 07 01 01 34 01 609...........4.
1280 | 3280: 02 05 01 02 05 01 02 05 01 01 35 01 02 04 01 02 ..........5.....
1281 | 3296: 04 01 02 04 02 07 30 30 30 30 30 30 30 1c 02 04 ......0000000...
1282 | 3312: 01 02 04 01 02 04 01 06 62 69 6e 61 72 79 03 06 ........binary..
1283 | 3328: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
1284 | 3344: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
1285 | 3360: 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 02 ................
1286 | 3376: 03 06 01 02 02 03 06 01 02 02 01 08 63 6f 6d 70 ............comp
1287 | 3392: 69 6c 65 72 01 02 02 01 02 02 01 02 02 01 06 64 iler...........d
1288 | 3408: 62 73 74 61 74 07 02 03 01 02 03 01 02 03 02 04 bstat...........
1289 | 3424: 65 62 75 67 04 02 02 01 02 02 01 02 02 01 06 65 ebug...........e
1290 | 3440: 6e 61 62 6c 65 07 02 02 01 02 02 01 02 02 01 02 nable...........
1291 | 3456: 02 01 02 02 01 02 02 01 02 02 01 02 02 01 02 02 ................
1292 | 3472: 01 02 02 01 02 02 01 02 02 01 02 02 01 02 02 01 ................
1293 | 3488: 02 02 01 02 02 01 02 02 01 02 02 01 02 02 01 02 ................
1294 | 3504: 02 01 02 02 02 08 78 74 65 6e 73 69 6f 6e 1f 02 ......xtension..
1295 | 3520: 04 01 02 04 01 02 04 01 04 66 74 73 34 0a 02 03 .........fts4...
1296 | 3536: 01 02 03 01 02 03 04 01 35 0d 02 03 01 02 03 01 ........5.......
1297 | 3552: 02 03 01 03 67 63 63 01 02 03 01 02 03 01 02 03 ....gcc.........
1298 | 3568: 02 06 65 6f 70 6f 6c 79 10 02 03 01 02 03 01 02 ..eopoly........
1299 | 3584: 03 01 05 6a 73 6f 6e 31 13 02 03 01 02 03 01 02 ...json1........
1300 | 3600: 03 01 04 6c 6f 61 64 1f 02 03 01 02 03 01 02 03 ...load.........
1301 | 3616: 01 03 6d 61 78 1c 02 02 01 02 02 01 02 02 02 05 ..max...........
1302 | 3632: 65 6d 6f 72 79 1c 02 03 01 02 03 01 02 03 04 04 emory...........
1303 | 3648: 73 79 73 35 16 02 03 01 02 03 01 02 03 01 06 6e sys5...........n
1304 | 3664: 6f 63 61 73 65 02 06 01 02 02 03 06 01 02 02 03 ocase...........
1305 | 3680: 06 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 ................
1306 | 3696: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
1307 | 3712: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
1308 | 3728: 02 01 04 6f 6d 69 74 1f 02 02 01 02 02 01 02 02 ...omit.........
1309 | 3744: 01 05 72 74 72 65 65 19 02 03 01 02 03 01 02 03 ..rtree.........
1310 | 3760: 04 02 69 6d 01 06 01 02 02 03 06 01 02 02 03 06 ..im............
1311 | 3776: 01 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 ................
1312 | 3792: 02 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 ................
1313 | 3808: 02 03 06 01 02 02 03 06 01 02 02 03 06 01 02 02 ................
1314 | 3824: 01 0a 74 68 72 65 61 64 73 61 66 65 03 57 34 56 ..threadsafe.W4V
1315 | 3840: 94 64 91 46 85 84 04 76 74 61 62 07 02 04 01 02 .d.F...vtab.....
1316 | 3856: 04 01 02 04 01 01 78 01 06 01 01 02 01 06 01 01 ......x.........
1317 | 3872: 02 01 06 01 01 02 01 06 01 01 02 01 06 01 10 02 ................
1318 | 3888: 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 ................
1319 | 3904: 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 ................
1320 | 3920: 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 ................
1321 | 3936: 01 02 01 06 01 01 10 01 06 01 01 02 01 06 01 01 ................
1322 | 3952: 02 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 ................
1323 | 3968: 01 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 ................
1324 | 3984: 06 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 ................
1325 | 4000: 01 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 ................
1326 | 4016: 01 02 01 06 01 01 02 01 06 01 01 02 01 06 01 01 ................
1327 | 4032: 02 01 06 01 01 02 01 06 01 01 02 04 15 13 0c 0c ................
1328 | 4048: 12 44 13 11 0f 47 13 0f 0c 0e 11 10 0f 0e 10 0f .D...G..........
1329 | 4064: 44 0f 10 40 15 0f 07 01 03 00 14 24 5a 24 24 0f D..@.......$Z$$.
1330 | 4080: 0a 03 00 24 00 00 00 00 01 01 01 00 01 01 01 01 ...$............
1331 | page 4 offset 12288
1332 | 0: 0a 00 00 00 01 0f fa 00 00 00 00 00 00 00 00 00 ................
1333 | 4080: 00 00 00 00 00 00 00 00 00 00 05 04 09 0c 01 02 ................
1334 | page 5 offset 16384
1335 | 0: 0d 00 00 00 24 0c 0a 00 0f d8 0f af 0f 86 0f 74 ....$..........t
1336 | 16: 0f 61 0f 4e 0f 2f 0f 0f 0e ef 0e d7 0e be 0e a5 .a.N./..........
1337 | 32: 0e 8d 0e 74 0e 5b 0e 40 0e 24 0e 08 0d ef 0d d5 ...t.[.@.$......
1338 | 48: 0d bb 0d a0 0d 84 0d 68 0d 4f 0d 35 0d 1b 0c fb .......h.O.5....
1339 | 64: 0c da 0c b9 0c 99 0c 78 0c 57 0c 3e 0c 24 0c 0a .......x.W.>.$..
1340 | 3072: 00 00 00 00 00 00 00 00 00 00 18 24 05 00 25 0f ...........$..%.
1341 | 3088: 19 54 48 52 45 41 44 53 41 46 45 3d 30 58 42 49 .THREADSAFE=0XBI
1342 | 3104: 4e 41 52 59 18 23 05 00 25 0f 19 54 48 52 45 41 NARY.#..%..THREA
1343 | 3120: 44 53 41 46 45 3d 30 58 4e 4f 43 41 53 45 17 22 DSAFE=0XNOCASE..
1344 | 3136: 05 00 25 0f 17 54 48 52 45 41 44 53 31 46 45 3d ..%..THREADS1FE=
1345 | 3152: 30 58 52 64 52 49 4d 1f 21 05 00 33 0f 19 4f 4d 0XRdRIM.!..3..OM
1346 | 3168: 49 54 20 4c 4f 41 44 20 45 58 54 45 4e 53 49 4f IT LOAD EXTENSIO
1347 | 3184: 4e 58 42 49 4e 41 52 59 1f 20 05 00 33 0f 19 4f NXBINARY. ..3..O
1348 | 3200: 4d 49 54 20 4c 4f 41 44 20 45 58 54 45 4e 53 49 MIT LOAD EXTENSI
1349 | 3216: 4f 4e 58 4e 4f 43 41 53 45 1e 1f 05 00 33 0f 17 ONXNOCASE....3..
1350 | 3232: 4f 4d 49 54 20 4c 4f 41 44 20 45 58 54 45 4e 53 OMIT LOAD EXTENS
1351 | 3248: 49 4f 4e 58 52 54 52 49 4d 1f 1e 05 00 33 0f 19 IONXRTRIM....3..
1352 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000
1353 | 3280: 30 30 30 58 42 49 4e 41 52 59 1f 1d 05 00 33 0f 000XBINARY....3.
1354 | 3296: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 .MAX MEMORY=5000
1355 | 3312: 30 30 30 30 58 4e 4f 43 41 53 45 1e 1c 05 00 33 0000XNOCASE....3
1356 | 3328: 0f 17 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 ..MAX MEMORY=500
1357 | 3344: 30 30 30 30 30 58 52 54 52 49 4d 18 1b 05 00 25 00000XRTRIM....%
1358 | 3360: 0f 19 45 4e 41 42 4c 45 20 52 54 52 45 45 58 42 ..ENABLE RTREEXB
1359 | 3376: 49 4e 41 52 59 18 1a 05 00 25 0f 19 45 4e 41 42 INARY....%..ENAB
1360 | 3392: 4c 45 20 52 54 52 45 45 58 4e 4f 43 41 53 45 17 LE RTREEXNOCASE.
1361 | 3408: 19 05 00 25 0f 17 45 4e 41 42 4c 45 20 52 54 52 ...%..ENABLE RTR
1362 | 3424: 45 45 58 52 54 52 49 4d 1a 18 05 00 29 0f 19 45 EEXRTRIM....)..E
1363 | 3440: 4e 41 42 4b 45 20 4d 45 4d 53 59 53 35 58 42 49 NABKE MEMSYS5XBI
1364 | 3456: 4e 41 52 59 1a 17 05 00 29 0f 19 45 4e 41 42 4c NARY....)..ENABL
1365 | 3472: 42 60 2d 45 4d 53 59 53 35 58 4e 4f 43 41 53 45 B`-EMSYS5XNOCASE
1366 | 3488: 19 16 05 00 29 0f 17 45 4e 41 42 4c 45 20 4d 45 ....)..ENABLE ME
1367 | 3504: 4d 53 59 53 35 58 52 54 52 49 4d 18 15 05 00 25 MSYS5XRTRIM....%
1368 | 3520: 0f 19 45 4e 41 42 4c 45 20 4a 53 4f 4e 31 58 42 ..ENABLE JSON1XB
1369 | 3536: 49 4e 41 52 59 18 14 05 00 25 0f 19 45 4e 41 42 INARY....%..ENAB
1370 | 3552: 4c 45 20 4a 53 4f 4e 31 58 4e 4f 43 41 53 45 17 LE JSON1XNOCASE.
1371 | 3568: 13 05 00 25 0f 17 45 4e 41 42 4c 45 20 4a 53 4f ...%..ENABLE JSO
1372 | 3584: 4e 31 58 52 54 52 49 4d 1a 12 05 00 29 0f 19 45 N1XRTRIM....)..E
1373 | 3600: 4e 41 42 4c 45 20 47 45 4f 50 4f 4c 59 58 42 49 NABLE GEOPOLYXBI
1374 | 3616: 4e 41 52 59 1a 11 05 00 39 0f 19 45 4e 41 42 4c NARY....9..ENABL
1375 | 3632: 45 20 47 45 4f 50 4f 4c 59 58 4e 4f 43 41 53 45 E GEOPOLYXNOCASE
1376 | 3648: 19 10 05 00 29 0f 17 45 4e 41 42 4c 45 20 47 45 ....)..ENABLE GE
1377 | 3664: 4f 50 4f 4c 59 58 52 54 52 49 4d 17 0f 05 00 23 OPOLYXRTRIM....#
1378 | 3680: 0f 19 45 4e 41 42 4c 45 20 46 54 53 35 58 42 49 ..ENABLE FTS5XBI
1379 | 3696: 4e 41 52 59 17 0e 05 00 23 0f 19 45 4e 41 42 4c NARY....#..ENABL
1380 | 3712: 45 20 46 54 53 35 58 4e 4f 43 41 53 45 16 0d 05 E FTS5XNOCASE...
1381 | 3728: 00 23 0f 17 45 4e 41 42 4c 45 20 46 54 53 35 58 .#..ENABLE FTS5X
1382 | 3744: 52 54 52 49 4d 17 0c 05 00 23 0f 19 45 4e 41 42 RTRIM....#..ENAB
1383 | 3760: 4c 45 20 46 54 53 34 58 42 49 4e 41 52 59 17 0b LE FTS4XBINARY..
1384 | 3776: 05 00 23 0f 19 45 4e 41 42 4c 45 20 46 54 53 34 ..#..ENABLE FTS4
1385 | 3792: 58 4e 4f 43 41 53 45 16 0a 05 00 23 0f 17 45 4e XNOCASE....#..EN
1386 | 3808: 41 42 4c 45 20 46 54 53 34 58 52 54 52 49 4d 1e ABLE FTS4XRTRIM.
1387 | 3824: 09 05 00 31 0f 19 45 4e 41 42 4c 45 20 44 42 53 ...1..ENABLE DBS
1388 | 3840: 54 41 54 20 56 54 41 42 58 42 49 4e 41 52 59 1e TAT VTABXBINARY.
1389 | 3856: 08 05 00 31 0f 19 45 4e 41 42 4c 45 20 44 42 53 ...1..ENABLE DBS
1390 | 3872: 54 41 54 20 56 54 24 15 48 4e 4f 43 41 53 45 1d TAT VT$.HNOCASE.
1391 | 3888: 07 05 00 31 0f 17 45 4e 41 42 4c 45 20 44 42 53 ...1..ENABLE DBS
1392 | 3904: 54 41 54 20 56 54 41 42 58 52 54 52 49 4d 11 06 TAT VTABXRTRIM..
1393 | 3920: 05 00 17 0f 19 44 45 42 55 47 58 42 49 4e 41 52 .....DEBUGXBINAR
1394 | 3936: 59 11 05 05 00 17 0f 19 44 45 42 55 47 58 4e 4f Y.......DEBUGXNO
1395 | 3952: 43 41 53 45 10 04 05 00 17 0f 17 44 45 42 55 47 CASE.......DEBUG
1396 | 3968: 58 52 54 52 49 4d 27 03 05 00 43 0f 19 43 4f 4d XRTRIM'...C..COM
1397 | 3984: 50 49 4c 45 52 3d 67 63 63 2d 35 2e 34 2e 30 20 PILER=gcc-5.4.0
1398 | 4000: 32 30 31 36 30 36 30 39 58 42 49 4e 41 52 59 27 20160609XBINARY'
1399 | 4016: 02 05 00 43 0f 19 43 4f 4d 50 49 4c 45 52 3c 67 ...C..COMPILER<g
1400 | 4032: 63 63 2d 35 2e 34 2e 30 20 32 30 31 36 30 36 30 cc-5.4.0 2016060
1401 | 4048: 39 58 4e 4f 43 41 53 45 26 01 05 00 43 0f 17 43 9XNOCASE&...C..C
1402 | 4064: 4f 4d 50 49 4c 45 52 3d 67 63 63 2d 35 2e 34 2e OMPILER=gcc-5.4.
1403 | 4080: 30 20 32 30 31 36 30 36 30 39 58 52 54 52 49 4d 0 20160609XRTRIM
1404 | page 6 offset 20480
1405 | 0: 0d 00 00 00 24 0e e0 00 0f f8 0f f0 0f e8 0f e0 ....$...........
1406 | 16: 0f d8 0f d0 0f c8 0f c0 0f b8 0f b0 0f a8 0f a0 ................
1407 | 32: 1f 98 0f 90 0f 88 0f 80 0f 78 0f 70 0f 68 0f 60 .........x.p.h.`
1408 | 48: 0f 58 0f 50 0f 48 0f 40 0f 38 0f 30 0f 28 0f 20 .X.P.H.@.8.0.(.
1409 | 64: 0f 18 0f 10 0f 08 0f 00 0e f8 0e f0 0e e8 0e e0 ................
1410 | 3808: 06 24 03 00 12 02 01 01 06 23 03 00 12 02 01 01 .$.......#......
1411 | 3824: 06 22 03 00 12 02 01 01 06 21 03 00 12 03 01 01 .........!......
1412 | 3840: 06 20 03 00 12 03 01 01 06 1f 03 00 12 03 01 01 . ..............
1413 | 3856: 06 1e 03 00 12 03 01 01 06 1d 03 00 12 03 01 01 ................
1414 | 3872: 06 1c 03 00 12 03 01 01 06 1b 03 00 12 02 01 01 ................
1415 | 3888: 06 1a 03 00 12 02 01 01 06 19 03 00 12 02 01 01 ................
1416 | 3904: 06 18 03 00 12 02 01 01 06 17 03 00 12 02 01 01 ................
1417 | 3920: 06 15 f3 00 12 02 01 01 06 15 03 00 12 02 01 01 ................
1418 | 3936: 06 14 03 00 12 02 01 01 06 13 03 00 12 02 01 01 ................
1419 | 3952: 06 12 03 00 12 02 01 01 06 11 03 00 12 02 01 01 ................
1420 | 3968: 06 10 03 00 12 02 01 01 06 0f 03 00 12 02 01 01 ................
1421 | 3984: 06 0e 03 00 12 02 01 01 06 0d 03 00 12 02 01 01 ................
1422 | 4000: 06 0c 03 00 12 02 01 01 06 0b 03 00 12 02 01 01 ................
1423 | 4016: 06 0a 03 00 12 02 01 01 06 09 03 00 12 03 01 01 ................
1424 | 4032: 06 08 03 00 12 03 01 01 06 07 03 00 12 03 01 01 ................
1425 | 4048: 06 06 03 00 12 01 01 01 06 05 03 00 12 01 01 01 ................
1426 | 4064: 06 04 03 00 12 01 01 01 06 03 03 00 12 06 01 01 ................
1427 | 4080: 06 02 03 00 12 06 01 01 06 01 03 00 12 06 01 01 ................
1428 | page 7 offset 24576
1429 | 0: 0a 00 00 00 01 0f f4 00 0f f4 00 00 00 00 00 00 ................
1430 | 4080: 00 00 00 00 0b 03 1b 01 76 65 72 73 69 6f 6e 04 ........version.
1431 | page 8 offset 28672
1432 | 0: 0d 00 00 00 03 0f d6 00 0f f4 0f e9 0f d6 00 00 ................
1433 | 4048: 00 00 00 00 00 00 11 03 02 2b 69 6e 74 65 67 72 .........+integr
1434 | 4064: 69 74 79 2d 63 68 65 63 6b 09 02 02 1b 72 65 62 ity-check....reb
1435 | 4080: 75 69 6c 64 0a 01 02 1d 6f 70 74 69 00 00 00 00 uild....opti....
1436 | end crash-c76a16c24c8ba6.db
1439 #.testctrl prng_seed 1 db
1440 #.testctrl internal_functions
1441 #.testctrl json_selfcheck on
1444 do_execsql_test 9.1 {
1445 UPDATE t1 SET b=quote(zeroblob(current_date)) WHERE t1 MATCH 't*';
1447 UPDATE t1 SET b=quote(zeroblob(current_date)) WHERE t1 MATCH 't*';
1448 INSERT INTO t1(t1,rank) VALUES('secure-delete',1);
1450 do_catchsql_test 9.2 {
1452 } {1 {database disk image is malformed}}
1454 sqlite3_fts5_may_be_corrupt 0