## 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 TRANSACTION;
SAVEPOINT sp3680;
SAVEPOINT sp8294;
BEGIN IMMEDIATE TRANSACTION;
ATTACH DATABASE ('' || (':memory:') || '') AS aux82;
.vfsinfo
CREATE TABLE T1 (
  a INTEGER,
  b REAL
);
CREATE TABLE T2 (
  a INTEGER,
  b REAL
);
INSERT INTO T1 VALUES (if(format('%s', log2(CAST(trim('hello', NULL) AS MEDIUMINT))), exp(-(-(1))), 1),1.0);
INSERT INTO T2 VALUES (1,-1.0),(2,9e999);
INSERT OR REPLACE INTO T1
SELECT * FROM T2;
WITH _m AS MATERIALIZED (SELECT * FROM T) SELEC_m * FROM T1;
PRAGMA defer_foreign_keys IS FALSE;
ALTER TABLE T1 ADD COLUMN extra_5658 DOUBLE DEFAULT NULL;
VACUUM main;
CREATE TABLE T (
  a INTEGER,
  b TEXT,
  c REAL
);
INSERT INTO T VALUES (1,'a',1.25), (2,'b',-3.5), (3,'c',9e999);
WITH d AS (SELECT * FROM T) SELECT * FROM d WHERE +c > 0;
SELECT * FROM T1 FULL OUTER JOIN T2;
SELECT * FROM T1 t1 JOIN T1 t2 ON t1.b = (SELECT b FROM T1 LIMIT 1);
DELETE FROM T2 WHERE 0;
INSERT INTO T2 VALUES (NULL, NULL);
INSERT INTO T2 DEFAULT VALUES;
PRAGMA journal_mode = 'PERSIST';
PRAGMA index_list(users);
DETACH DATABASE aux82;
SELECT * FROM T WHERE (b, b) IN (SELECT b, b FROM T);
SELECT GROUP_CONCAT(b, b) OVER (ORDER BY b RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING EXCLUDE NO OTHERS) FROM T2;
ALTER TABLE T1 RENAME TO T1_r8928;
SELECT * FROM T2;
END;
ROLLBACK TO sp8294;
RELEASE sp8294;
SELECT * FROM T1;
CREATE TRIGGER IF NOT EXISTS trg_T_7949 BEFORE INSERT ON T FOR EACH ROW BEGIN SELECT RAISE(ABORT, 'abort'); END;
UPDATE T1 SET b = NULL WHERE b BETWEEN 0 AND 100;
SELECT DENSE_RANK() OVER (ORDER BY b RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING) FROM T2;
INSERT INTO T2 VALUES (NULL, NULL);
CREATE UNIQUE  INDEX IF NOT EXISTS idx_T_4404 ON T(c);
ROLLBACK TO sp3680;
RELEASE sp3680;
COMMIT;
```

## 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
```

