## 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
BEGIN IMMEDIATE TRANSACTION;
.save
PRAGMA cache_size = -x'c1bf9a99';
SAVEPOINT sp6833;
PRAGMA analysis_limit;
PRAGMA analysis_limit;
PRAGMA vdbe_debug = abs(coalesce(1, 1, 1, 1, 1));
PRAGMA temp_store;
.once log.txt
CREATE TABLE one(o);
INSERT INTO one DEFAULT VALUES;
CREATE TABLE t1(x, z);
INSERT INTO t1 VALUES('aaa', 4.0);
INSERT INTO t1 VALUES('aaa', 4.0);
CREATE VIEW vvv AS SELECT * FROM t1 UNION ALL SELECT 0, 0 WHERE 0;
SELECT ( SELECT /**/ sum(z) FROM vvv WHERE x='aaa' ) FROM one;

ALTER TABLE t1 RENAME COLUMN x TO x_r5307;
ROLLBACK TO sp6833;
RELEASE sp6833;
WITH RECURSIVE cnt(x) AS (VALUES(1) UNION SELECT x+1 FROM cnt WHERE x<28) SELECT * FROM cnt;
VACUUM main;
COMMIT TRANSACTION;
INSERT INTO one VALUES ('x') ON CONFLICT(o) DO UPDATE SET o = excluded.o;
ALTER TABLE one DROP COLUMN o;
SELECT * FROM one WHERE o > (SELECT AVG(o) FROM one);
INSERT INTO t1 SELECT * FROM t1;
```

## Actual output

```sql
3.39.0 2022-05-10 23:28:12 764b71267e0b31ff7eaf2a0def7526a1a02dce4d5b456dea060d97ed342ealt1
```

## Expectation

```sql
3.51.1 2025-11-28 17:28:25 281fc0e9afc38674b9b0991943b9e9d1e64c6cbdb133d35f6f5c87ff6af38a88 (64-bit)
```

## Flag

```
-version
```

