---
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
## 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 T (
|
||||
a INTEGER,
|
||||
b REAL,
|
||||
c REAL
|
||||
);
|
||||
INSERT INTO T VALUES (upper('hello'),2.0,10.5), (1,-3.5,20.25), (2,9e999,-1.0);
|
||||
WITH d AS (SELECT a,SUM(b*c) AS e FROM T GROUP BY a) SELECT * FROM d;
|
||||
PRAGMA trusted_schema;
|
||||
PRAGMA defer_foreign_keys;
|
||||
PRAGMA synchronous = 'EXTRA';
|
||||
.nullvalue -(-(2))32327d3-536b-41de-a764-a6301986aeab
|
||||
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;
|
||||
|
||||
REINDEX T;
|
||||
```
|
||||
|
||||
## Actual output
|
||||
|
||||
```sql
|
||||
1|-70.875
|
||||
2|-Inf
|
||||
HELLO|21.0
|
||||
1
|
||||
0
|
||||
1
|
||||
```
|
||||
|
||||
## Expectation
|
||||
|
||||
```sql
|
||||
1|-70.875
|
||||
2|-Inf
|
||||
HELLO|21.0
|
||||
0
|
||||
0
|
||||
1
|
||||
1
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user