Files
ast-project/part1/results/1/bug_684734dc-b72c-4cbc-8f19-6c654e341327_logic.md
T
2026-06-24 13:47:14 +02:00

61 lines
948 B
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 cell_size_check = FALSE;
PRAGMA collation_list;
PRAGMA recursive_triggers = 1;
.filectrl main TRUNCATE 10
CREATE TABLE t0(c0 AS(TYPEOF(c1)), c1);
INSERT INTO t0(c1) VALUES(0);
CREATE TABLE t1(x AS (typeof(y)), y);
INSERT INTO t1 SELECT * FROM t0;
SELECT * FROM t1;
SELECT * FROM t1;
CREATE VIEW IF NOT EXISTS v_t0_6908 AS SELECT c1 FROM t0;
SELECT * FROM t0 WHERE (c0, c0) IN (SELECT c0, c0 FROM t0);
WITH n AS NOT MATERIALIZED (SELECT x FROM t1) SELECT * FROM n;
SELECT COUNT(*) FROM t1;
```
## Actual output
```sql
0|decimal
1|uint
2|RTRIM
3|NOCASE
4|BINARY
integer|0
integer|0
integer|0
integer
1
```
## Expectation
```sql
0|decimal
1|BINARY
2|NOCASE
3|RTRIM
4|uint
integer|0
integer|0
integer|0
integer
1
```
## Flag
```
```