## 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
PRAGMA secure_delete = TRUE;
PRAGMA synchronous = 'EXTRA';
ATTACH DATABASE ':memory:' AS aux3;
SAVEPOINT sp3642;
PRAGMA vdbe_debug = NO;
SELECT atanh(randomblob(0))x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
PRAGMA recursive_triggers = -2173336511320358554;
PRAGMA cache_size;
.cd bugs
PRAGMA encoding=UTF16le;
CREATE TABLE tkt3376(a COLLATE nocase PRIMARY KEY);
INSERT INTO tkt3376 VALUES('abc');
INSERT INTO tkt3376 VALUES('ABX');
SELECT DISTINCT a FROM tkt3376;
WITH cte(x) AS (SELECT a FROM tkt3376) SELECT x FROM cte;
RELEASE sp3642;
PRAGMA temp_store_directory = "/tmp";
PRAGMA data_store_directory = "/tmp";
DELETE FROM tkt3376 WHERE 1;
INSERT INTO tkt3376 VALUES (NULL);
UPDATE tkt3376 SET a = CURRENT_TIMESTAMP WHERE 1 RETURNING *;
DETACH DATABASE aux3;
WITH cte AS (SELECT a, COUNT(*) FROM tkt3376 GROUP BY a) SELECT * FROM cte;
WITH cte AS (SELECT 1 AS x) SELECT x + 0.5 FROM cte;
REINDEX tkt3376;
SELECT * FROM tkt3376 AS a FULL JOIN tkt3376 AS b ON a.rowid = b.rowid;
SELECT * FROM tkt3376;
```

## Actual output

```sql
1

0
0
ATOMIC_INTRINSICS=1
3.39.0
-2000
abc
ABX
abc
ABX
2026-05-15 11:45:06
2026-05-15 11:45:06|1
1.5
2026-05-15 11:45:06|2026-05-15 11:45:06
2026-05-15 11:45:06
```

## Expectation

```sql
1

0
0
ATOMIC_INTRINSICS=1
3.51.1
-2000
abc
ABX
abc
ABX
2026-05-15 11:45:06
2026-05-15 11:45:06|1
1.5
2026-05-15 11:45:06|2026-05-15 11:45:06
2026-05-15 11:45:06
```

## Flag

```

```

