## 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
SAVEPOINT sp3173;
.version
CREATE TABLE T (
  a INTEGER,
  b REAL
);
INSERT INTO T VALUES ((1 - 0),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;
CREATE  INDEX IF NOT EXISTS idx_T_6272 ON T(a) WHERE a > 0;
DELETE FROM T WHERE a > (SELECT AVG(a) FROM T);
INSERT OR FAIL INTO T VALUES (0, ('' || ''));
WITH a AS (SELECT * FROM T), b AS (SELECT * FROM a) SELECT * FROM b;
SELECT COUNT(b) FROM T;
SELECT MIN(b) FROM T;
SELECT LAG(a, 0, 'default') OVER (ORDER BY a GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) FROM T;
INSERT OR REPLACE INTO T VALUES ('x', 'x');
INSERT INTO T DEFAULT VALUES;
CREATE TEMPORARY  VIEW IF NOT EXISTS v_T_7970 AS SELECT a FROM T;
ROLLBACK TO sp3173;
RELEASE sp3173;
DROP INDEX IF EXISTS T;
```

## Actual output

```sql
SQLite 3.39.0 2022-05-10 23:28:12 764b71267e0b31ff7eaf2a0def7526a1a02dce4d5b456dea060d97ed342ealt1
gcc-14.2.0
2|-2.5
3|0.0
1|1.5
1|1.5
2|-2.5
0|
3
-2.5
0
1
2
```

## Expectation

```sql
SQLite 3.51.1 2025-11-28 17:28:25 281fc0e9afc38674b9b0991943b9e9d1e64c6cbdb133d35f6f5c87ff6af38a88
zlib version 1.3.1
gcc-11.4.0 (64-bit)
2|-2.5
3|0.0
1|1.5
1|1.5
2|-2.5
0|
3
-2.5
0
1
2
```

## Flag

```

```

