Files
ast-project/part1/results/1/bug_eb50de19-bc01-47cc-bd5d-66ef2f18e8d2_logic.md
2026-06-24 13:47:14 +02:00

820 lines
33 KiB
Markdown

## Summary
<!--Explain briefly what goes wrong and explain why you believe this is a bug and not the intended behavior of SQLite (if it is not a crash).-->**No review yet**
## Minimized query
```sql
PRAGMA fullsync = OFF;
PRAGMA analysis_limit;
ATTACH DATABASE ':memory:' AS aux96;
.stats on
SAVEPOINT sp9037;
.stats on
CREATE TABLE `T` (
a CHARINT,
b REAL
);
INSERT INTO main.T VALUES ('' || ('a'),power(CAST(CAST((like(CAST(-acos(floor(json_quote(1))) AS REAL), NULL) + 3725563120749816045) AS ANY) AS BOOLEAN), 100.0)), ('b',-200.5), ('c',9e999);
CREATE TABLE "t1"(a INTEGER PRIMARY KEY, b TEXT, c INT, d INT);
INSERT INTO t1 VALUES (1, 'Wernher', 10, 100);
INSERT INTO t1 VALUES (2, 'von', 20, 200);
INSERT INTO t1 VALUES (3, 'Braun', 30, 300);
CREATE INDEX t1bc ON t1(b, c);
PRAGMA writable_schema = ON;
.imposter t1bc t2
SELECT * FROM t2;
SELECT b, c FROM t1 ORDER BY b, c;
.quit
SELECT a,b,
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
PRAGMA query_only;
INSERT INTO T VALUES (1, NULL) ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b;
SELECT COUNT(*) FROM t1;
SELECT * FROM T;
SELECT COUNT(*) FROM t1;
ANALYZE;
ALTER TABLE T RENAME TO T_r9134;
SELECT MIN(a) FILTER (WHERE NOT NOT (NOT NOT (a IS NOT NULL) OVER ()) ORDER BY a GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) FROM T;
INSERT INTO T SELECT * FROM T;
ANALYZE T;
SELECT COUNT(*) FROM T;
ROLLBACK TO sp9037;
RELEASE sp9037;
SELECT COUNT(b) FILTER (WHERE b IS NOT NULL) OVER (PARTITION BY b ORDER BY b) FROM T;
CREATE TABLE T (
a TEXT,
b INTEGER,
c REAL
);
INSERT INTO T VALUES ('a',1,2.0), ('a',2,-3.0), ('b',1,4.5);
SELECT a,b,c,
SUM(c) OVER (
PARTITION BY a
ORDER BY b
) AS d
FROM T;
SELECT COUNT(*) FILTER (WHERE b IS NOT NULL), SUM(rowid) FILTER (WHERE b > 0), COUNT(*) FILTER (WHERE 1=0), COUNT(*) FILTER (WHERE 1=1), COUNT(*) FILTER (WHERE NULL), AVG(b) FILTER (WHERE b > 0 AND b < 100), COUNT(*) FILTER (WHERE typeof(b) = "text") FROM t1;
ALTER TABLE T ADD COLUMN extra_3139 DOUBLE COLLATE RTRIM;
SELECT * FROM T AS a JOIN T AS b ON a.rowid = b.rowid;
INSERT INTO t1 SELECT * FROM t1;
SELECT * FROM T AS a FULL OUTER JOIN t1 AS b ON a.rowid = b.rowid;
SELECT * FROM t1 WHERE c > ANY (SELECT c FROM t1);
SELECT * FROM T AS a LEFT OUTER JOIN T AS b ON a.rowid = b.rowid;
INSERT INTO t1 SELECT * FROM t1;
REINDEX;
WITH cte(x) AS (SELECT a FROM T) SELECT x FROM cte;
DETACH DATABASE aux96;
ALTER TABLE T RENAME TO T_r2899;
SELECT * FROM T WHERE a NOT IN (SELECT a FROM T WHERE a IS NOT NULL);
CREATE TABLE T (
a INTEGER,
b TEXT,
c REAL
);
INSERT INTO T VALUES (1,'a',3.14), (1,'b',-7.75), (2,'c',-9e999);
SELECT b,a,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
SELECT * FROM T AS a FULL OUTER JOIN T AS b ON a.rowid = b.rowid;
SELECT COUNT(*) FROM t1;
PRAGMA cell_size_check = OFF;
SELECT COUNT(*) FROM T;
VACUUM;
ALTER TABLE t1 DROP COLUMN a;
ALTER TABLE T DROP COLUMN c;
DROP INDEX IF EXISTS T;
SELECT MAX(b) FROM T;
PRAGMA foreign_keys = OFF;
ANALYZE T;
INSERT INTO T VALUES (NULL, 1, 'x') ON CONFLICT(a) DO UPDATE SET a = excluded.a, b = excluded.b, c = excluded.c;
SELECT COUNT(*) FROM T;
INSERT INTO t1 SELECT * FROM t1;
INSERT OR REPLACE INTO T VALUES (4, 0, -4);
VACUUM;
INSERT INTO t1 VALUES (NULL, NULL, NULL, NULL);
INSERT INTO T VALUES (NULL, NULL, NULL);
INSERT INTO T SELECT * FROM T;
SELECT COUNT(*) FROM T;
INSERT INTO t1 SELECT * FROM t1;
REINDEX t1;
ALTER TABLE T ADD COLUMN extra_8891 NUMERIC DEFAULT CURRENT_TIMESTAMP;
SELECT * FROM T;
WITH cte(x) AS (VALUES(1),(2),(3)) SELECT * FROM cte WHERE x > 1;
ALTER TABLE T RENAME COLUMN c TO c_r448;
INSERT INTO T VALUES (NULL, NULL, NULL);
CREATE TEMPORARY VIEW IF NOT EXISTS v_T_7952 AS SELECT b FROM T;
```
## Actual output
```sql
SQLite version 3.39.0 2022-05-10 23:28:12
Enter ".help" for usage hints.
sqlite> sqlite> 0
sqlite> sqlite> sqlite> Memory Used: 79920 (max 79920) bytes
Number of Outstanding Allocations: 158 (max 158)
Number of Pcache Overflow Bytes: 16928 (max 16928) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 39 (max 80)
Successful lookaside attempts: 155
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 18496 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1104 bytes
Statement Heap/Lookaside Usage: 2656 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 3
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2656
Bytes received by read(): 9854
Bytes sent to write(): 115
Read() system calls: 13
Write() system calls: 7
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> sqlite> ...> ...> ...> Memory Used: 92704 (max 98384) bytes
Number of Outstanding Allocations: 182 (max 193)
Number of Pcache Overflow Bytes: 25392 (max 25392) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 35 (max 91)
Successful lookaside attempts: 230
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 22840 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1376 bytes
Statement Heap/Lookaside Usage: 2432 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 30
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2432
Bytes received by read(): 10206
Bytes sent to write(): 1449
Read() system calls: 16
Write() system calls: 13
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 92672 (max 98384) bytes
Number of Outstanding Allocations: 172 (max 193)
Number of Pcache Overflow Bytes: 25392 (max 25392) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 53 (max 105)
Successful lookaside attempts: 318
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 22840 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1400 bytes
Statement Heap/Lookaside Usage: 14328 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 50
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 14328
Bytes received by read(): 10305
Bytes sent to write(): 2755
Read() system calls: 18
Write() system calls: 15
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 97456 (max 103136) bytes
Number of Outstanding Allocations: 192 (max 207)
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 35 (max 105)
Successful lookaside attempts: 393
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 27184 bytes
Page cache hits: 3
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1728 bytes
Statement Heap/Lookaside Usage: 2464 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 28
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2464
Bytes received by read(): 10404
Bytes sent to write(): 4064
Read() system calls: 20
Write() system calls: 17
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95016 (max 103136) bytes
Number of Outstanding Allocations: 181 (max 207)
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 44 (max 105)
Successful lookaside attempts: 415
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 27184 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1752 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 10503
Bytes sent to write(): 5372
Read() system calls: 22
Write() system calls: 19
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95016 (max 103136) bytes
Number of Outstanding Allocations: 181 (max 207)
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 44 (max 105)
Successful lookaside attempts: 437
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 27184 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1752 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 10602
Bytes sent to write(): 6680
Read() system calls: 24
Write() system calls: 21
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95016 (max 103136) bytes
Number of Outstanding Allocations: 181 (max 207)
Number of Pcache Overflow Bytes: 29752 (max 29752) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 44 (max 105)
Successful lookaside attempts: 459
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 27184 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1752 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 10701
Bytes sent to write(): 7988
Read() system calls: 26
Write() system calls: 23
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 102424 (max 112216) bytes
Number of Outstanding Allocations: 201 (max 213)
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 35 (max 105)
Successful lookaside attempts: 539
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 31528 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1952 bytes
Statement Heap/Lookaside Usage: 2768 bytes
Fullscan Steps: 0
Sort Operations: 1
Autoindex Inserts: 0
Virtual Machine Steps: 56
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2768
Bytes received by read(): 10800
Bytes sent to write(): 9296
Read() system calls: 28
Write() system calls: 25
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 99584 (max 112216) bytes
Number of Outstanding Allocations: 184 (max 213)
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 38 (max 105)
Successful lookaside attempts: 544
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 31528 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 1952 bytes
Statement Heap/Lookaside Usage: 2528 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 4
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2528
Bytes received by read(): 10899
Bytes sent to write(): 10605
Read() system calls: 30
Write() system calls: 27
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
WARNING: writing to an imposter table will corrupt the "t1bc" index!
sqlite> sqlite> Braun|30|3
Wernher|10|1
von|20|2
Memory Used: 100144 (max 112216) bytes
Number of Outstanding Allocations: 194 (max 213)
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 48 (max 105)
Successful lookaside attempts: 667
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 31528 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 2496 bytes
Statement Heap/Lookaside Usage: 4752 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 21
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4752
Bytes received by read(): 10999
Bytes sent to write(): 12080
Read() system calls: 32
Write() system calls: 32
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Braun|30
Wernher|10
von|20
Memory Used: 100168 (max 112216) bytes
Number of Outstanding Allocations: 195 (max 213)
Number of Pcache Overflow Bytes: 34112 (max 34112) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4360 bytes
Lookaside Slots Used: 48 (max 105)
Successful lookaside attempts: 706
Lookaside failures due to size: 1
Lookaside failures due to OOM: 0
Pager Heap Usage: 31528 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Schema Heap Usage: 2520 bytes
Statement Heap/Lookaside Usage: 4752 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 19
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4752
Bytes received by read(): 11099
Bytes sent to write(): 13423
Read() system calls: 34
Write() system calls: 34
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite>
```
## Expectation
```sql
SQLite version 3.51.1 2025-11-28 17:28:25
Enter ".help" for usage hints.
sqlite> sqlite> 0
sqlite> sqlite> sqlite> Memory Used: 80592 (max 80592) bytes
Number of Outstanding Allocations: 169 (max 169)
Number of Pcache Overflow Bytes: 16944 (max 16944) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 55 (max 91)
Successful lookaside attempts: 161
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 18512 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 944 bytes
Statement Heap/Lookaside Usage: 2656 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 4
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2656
Bytes received by read(): 10630
Bytes sent to write(): 115
Read() system calls: 14
Write() system calls: 7
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> sqlite> (x1...> (x1...> (x1...> Memory Used: 93200 (max 98832) bytes
Number of Outstanding Allocations: 193 (max 204)
Number of Pcache Overflow Bytes: 25408 (max 25408) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 51 (max 100)
Successful lookaside attempts: 229
Lookaside failures due to size: 0
Lookaside failures due to OOM: 0
Pager Heap Usage: 22864 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1176 bytes
Statement Heap/Lookaside Usage: 2320 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 30
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2320
Bytes received by read(): 10727
Bytes sent to write(): 1488
Read() system calls: 16
Write() system calls: 13
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 94656 (max 100288) bytes
Number of Outstanding Allocations: 184 (max 204)
Number of Pcache Overflow Bytes: 25408 (max 25408) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 69 (max 120)
Successful lookaside attempts: 320
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 22864 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1184 bytes
Statement Heap/Lookaside Usage: 17864 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 50
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 17864
Bytes received by read(): 10826
Bytes sent to write(): 2834
Read() system calls: 18
Write() system calls: 15
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 97872 (max 103504) bytes
Number of Outstanding Allocations: 203 (max 218)
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 51 (max 120)
Successful lookaside attempts: 388
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 27216 bytes
Page cache hits: 3
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1448 bytes
Statement Heap/Lookaside Usage: 2352 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 28
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2352
Bytes received by read(): 10925
Bytes sent to write(): 4183
Read() system calls: 20
Write() system calls: 17
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95528 (max 103504) bytes
Number of Outstanding Allocations: 192 (max 218)
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 60 (max 120)
Successful lookaside attempts: 410
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 27216 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1456 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 11024
Bytes sent to write(): 5530
Read() system calls: 22
Write() system calls: 19
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95528 (max 103504) bytes
Number of Outstanding Allocations: 192 (max 218)
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 60 (max 120)
Successful lookaside attempts: 432
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 27216 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1456 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 11123
Bytes sent to write(): 6877
Read() system calls: 24
Write() system calls: 21
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 95528 (max 103504) bytes
Number of Outstanding Allocations: 192 (max 218)
Number of Pcache Overflow Bytes: 29776 (max 29776) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 60 (max 120)
Successful lookaside attempts: 454
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 27216 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1456 bytes
Statement Heap/Lookaside Usage: 3296 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 16
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 3296
Bytes received by read(): 11222
Bytes sent to write(): 8224
Read() system calls: 26
Write() system calls: 23
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 102744 (max 112472) bytes
Number of Outstanding Allocations: 210 (max 222)
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 51 (max 120)
Successful lookaside attempts: 527
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 31568 bytes
Page cache hits: 4
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1664 bytes
Statement Heap/Lookaside Usage: 2576 bytes
Fullscan Steps: 0
Sort Operations: 1
Autoindex Inserts: 0
Virtual Machine Steps: 56
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2576
Bytes received by read(): 11321
Bytes sent to write(): 9571
Read() system calls: 28
Write() system calls: 25
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Memory Used: 100104 (max 112472) bytes
Number of Outstanding Allocations: 195 (max 222)
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 54 (max 120)
Successful lookaside attempts: 532
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 31568 bytes
Page cache hits: 0
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 1664 bytes
Statement Heap/Lookaside Usage: 2528 bytes
Fullscan Steps: 0
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 5
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 2528
Bytes received by read(): 11420
Bytes sent to write(): 10919
Read() system calls: 30
Write() system calls: 27
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> CREATE TABLE "t2"("b","c","_ROWID_",PRIMARY KEY("b","c","_ROWID_"))WITHOUT ROWID;
sqlite> sqlite> Braun|30|3
Wernher|10|1
von|20|2
Memory Used: 100584 (max 112472) bytes
Number of Outstanding Allocations: 205 (max 222)
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 61 (max 120)
Successful lookaside attempts: 645
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 31568 bytes
Page cache hits: 2
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 2144 bytes
Statement Heap/Lookaside Usage: 4368 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 21
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4368
Bytes received by read(): 11520
Bytes sent to write(): 12365
Read() system calls: 32
Write() system calls: 32
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite> Braun|30
Wernher|10
von|20
Memory Used: 100592 (max 112472) bytes
Number of Outstanding Allocations: 206 (max 222)
Number of Pcache Overflow Bytes: 34144 (max 34144) bytes
Largest Allocation: 48000 bytes
Largest Pcache Allocation: 4368 bytes
Lookaside Slots Used: 62 (max 120)
Successful lookaside attempts: 682
Lookaside failures due to size: 2
Lookaside failures due to OOM: 0
Pager Heap Usage: 31568 bytes
Page cache hits: 1
Page cache misses: 0
Page cache writes: 0
Page cache spills: 0
Temporary data spilled to disk: 0
Schema Heap Usage: 2152 bytes
Statement Heap/Lookaside Usage: 4496 bytes
Fullscan Steps: 2
Sort Operations: 0
Autoindex Inserts: 0
Virtual Machine Steps: 19
Reprepare operations: 0
Number of times run: 1
Memory used by prepared stmt: 4496
Bytes received by read(): 11620
Bytes sent to write(): 13747
Read() system calls: 34
Write() system calls: 34
Bytes read from storage: 0
Bytes written to storage: 0
Cancelled write bytes: 0
sqlite>
```
## Flag
```
-interactive
```