## 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 DEFERRED;
PRAGMA recursive_triggers = OFF;
CREATE TABLE t1(a INTEGER, b TEXT, c BLOB, CHECK( coalesce(b,c) ));
INSERT INTO t1 VALUES(if(char(-(-(1.7976931348623157e+308)), 2, 3, 4, 5), 1, 1), 2, 3);
ALTER TABLE t1 RENAME COLUMN b TO d;
CREATE TABLE t3(a, b, c, d, e, f, g, h, i, j, k, l, m, FOREIGN KEY (b, c, d, e, f, g, h, i, j, k, l, m) REFERENCES t4);
CREATE TABLE t4(x, y, z);
INSERT INTO t4 VALUES(3, 2, 1);

WITH cte AS (SELECT a, COUNT(*) AS cnt FROM t1 GROUP BY a) SELECT * FROM cte WHERE cnt > 1;
END TRANSACTION;
ANALYZE t1;
VACUUM;
```

## Actual output

```sql
Parse error near line 4: no such function: if
  INSERT INTO t1 VALUES(if(char(-(-(1.7976931348623157e+308)), 2, 3, 4, 5), 1, 1
                        ^--- error here
```

## Expectation

```sql

```

## Flag

```

```

