Files
ast-project/part1/bug-reproducers/12/README.md
T
2026-06-24 13:47:14 +02:00

35 lines
587 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).-->
We believe the query is already reduced. The issue for this bug is most likely the "BETWEEN" keyword
## Minimized query
```sql
CREATE TABLE t0(c0);
INSERT INTO t0(c0) VALUES (NULL);
CREATE INDEX i0 ON t0(1) WHERE c0 NOT NULL;
SELECT 1 FROM t0 WHERE (t0.c0 IS FALSE) IS FALSE;
SELECT 1 FROM t0 WHERE (t0.c0 IS FALSE) BETWEEN FALSE AND TRUE;
```
## Actual output
```sql
1
```
## Expectation
```sql
1
1
```
## Flag
```
```