Files
ast-project/part1/results/1/bug_767ab5c0-6ea7-458f-9b20-102fc5550735_logic.md
T
2026-06-24 13:47:14 +02:00

52 lines
702 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 index_list(users);
PRAGMA max_page_count = '&';
PRAGMA user_version = 999;
.progress
CREATE TABLE T (
a INTEGER,
b REAL
);
INSERT INTO T VALUES (1,1.5), (2,-2.5), (3,0.0);
CREATE INDEX c
ON T(b);
SELECT * FROM T WHERE b >= -2.5 AND b < 2.0;
SELECT * FROM (SELECT * FROM (SELECT * FROM T) AS inner1) AS inner2;
```
## Actual output
```sql
1073741823
2|-2.5
3|0.0
1|1.5
1|1.5
2|-2.5
3|0.0
```
## Expectation
```sql
4294967294
2|-2.5
3|0.0
1|1.5
1|1.5
2|-2.5
3|0.0
```
## Flag
```
```