## 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 automatic_index = YES;
.echo off
SAVEPOINT sp1955;
CREATE TABLE t1(a INTEGER PRIMARY KEY,R);
CREATE TABLE t2(x UNIQUE);
CREATE VIEW v1a(z,y) AS SELECT x IS NULL, x FROM t2;
SELECT a,(+a)b,(+a)b,(+a)b,NOT EXISTS(SELECT null FROM t2),CASE z WHEN -(-(floor(-(-('.'))))) THEN unistr('\\') WHEN 391 THEN 203 WHEN 10 THEN '?k<D Q' END,'' FROM t1 LEFT JOIN v1a ON z=b;

RELEASE sp1955;
INSERT OR REPLACE INTO t1 VALUES (-2, '');
WITH RECURSIVE fib(a,b,n) AS (VALUES(1,1,1) UNION ALL SELECT b, a+b, n+1 FROM fib WHERE n<25) SELECT a, n FROM fib;
CREATE TRIGGER IF NOT EXISTS trg_t2_8974 AFTER UPDATE OF x ON t2 BEGIN SELECT RAISE(IGNORE); END;
SELECT * FROM t1 AS a RIGHT OUTER JOIN t2 AS b ON a.rowid = b.rowid;
SELECT * FROM t1 AS a LEFT OUTER JOIN t2 AS b ON a.rowid = b.rowid;
PRAGMA cache_spill = FALSE;
INSERT INTO t2 VALUES (NULL);
PRAGMA wal_checkpoint('RESTART');
```

## Actual output

```sql
1|1
1|2
2|3
3|4
5|5
8|6
13|7
21|8
34|9
55|10
89|11
144|12
233|13
377|14
610|15
987|16
1597|17
2584|18
4181|19
6765|20
10946|21
17711|22
28657|23
46368|24
75025|25
-2||
0|-1|-1
```

## Expectation

```sql

```

## Flag

```

```

