## 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
.clone
.explain auto
CREATE TABLE T (
  a NUMERIC,
  b REAL,
  c REAL
);
INSERT INTO T VALUES (sin(1),1.5,10.0), (2,-2.5,20.0), /**/ (3,-9e999,30.0);
SELECT * FROM T WHERE NOT b < 2.0 ORDER BY b;
CREATE TABLE T1 (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15) UNIQUE,
  C BIGINT
);
CREATE TABLE T2 (
  X VARCHAR(20) PRIMARY KEY,
  A VARCHAR(10),
  FOREIGN KEY (A) REFERENCES T1(A)
);
INSERT INTO T1 VALUES ('a', 'p', 9999999999999);
INSERT INTO T1 VALUES ('b', 'q', -9999999999999);
INSERT INTO T2 VALUES ('m', 'a');
INSERT INTO T2 VALUES ('n', 'b');
SELECT T2.X, T1.C FROM T2 INNER JOIN T1 ON T2.A = T1.A WHERE T1.C > -1000000000000;
SELECT * FROM T2 AS a LEFT JOIN T AS b ON a.rowid = b.rowid;
SELECT * FROM T;
ALTER TABLE T1 RENAME TO T1_r4097;
PRAGMA vdbe_debug = FALSE;
PRAGMA reverse_unordered_selects = YES;
ALTER TABLE T RENAME TO T_r1929;
INSERT OR FAIL INTO T VALUES ('x', 9, NULL);
CREATE TRIGGER IF NOT EXISTS trg_T2_7874 BEFORE INSERT ON T2 FOR EACH ROW BEGIN SELECT RAISE(FAIL, 'no'); END;
ALTER TABLE T ADD COLUMN extra_9060 BLOB DEFAULT 0;
SELECT * FROM T1 AS a FULL OUTER JOIN T AS b ON a.rowid = b.rowid;
ALTER TABLE T RENAME COLUMN a TO a_r9258;
INSERT INTO T2 VALUES (1, 'x') ON CONFLICT(X) DO UPDATE SET X = excluded.X, A = excluded.A;
```

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

