34 lines
529 B
Markdown
34 lines
529 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
|
|
CREATE TABLE t0(c0);
|
|
INSERT INTO t0(c0) VALUES (NULL);
|
|
CREATE INDEX i0 ON t0(1) WHERE c0 NOT NULL;
|
|
SELECT 1 FROM /* {"a":1,"b":[1,2,3]} */ 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
|
|
|
|
```
|
|
|
|
```
|
|
|