## 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
ATTACH DATABASE ':memory:' /* min({v}, 1, 2, 3) */ AS aux83;
ATTACH DATABASE ':memory:' AS aux79;
CREATE TABLE t1(a INTEGER, b INTEGER PRIMARY KEY, c BLOB, FOREIGN KEY (b) REFERENCES t2);
CREATE TABLE t2(c, d, e);
INSERT INTO t1 VALUES(json_valid(json_insert(NULL, '$[0]', rtrim(pow(1, 1))), 8), 2, 3);
ALTER TABLE t1 RENAME COLUMN b TO d;
CREATE TABLE main.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);

DETACH DATABASE aux79;
DETACH DATABASE aux83;
PRAGMA temp_store_directory;
REINDEX t1;
INSERT INTO t2 VALUES (NULL, NULL, NULL);
DELETE FROM t1 WHERE c IS NULL RETURNING *;

SELECT COUNT(*) FROM t2;
REINDEX;
SELECT * FROM t1;
CREATE TRIGGER IF NOT EXISTS trg_t2_8409 BEFORE UPDATE OF c ON t2 BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
ALTER TABLE t4 RENAME TO t4_r2457;
WITH	cte(x) AS (VALUES(1),(2),(3)) SELECT * FROM cte;
UPDATE t3 SET c = '' WHERE c IS NOT NULL;
CREATE  INDEX IF NOT EXISTS idx_t3_2551 ON t3(f COLLATE NOCASE) WHERE f IS NOT NULL;
```

## Actual output

```sql
1
1
2
3
```

## Expectation

```sql

```

## Flag

```

```

