## 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
.log stdout
BEGIN DEFERRED TRANSACTION;
SELECT (x'7933d886f723d94ae4daafa168938983' - substr(NULL, CAST(1 AS DATE)))x0ACB29BM205381;
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
COMMIT;
PRAGMA temp_store = 'MEMORY';
PRAGMA empty_result_callbacks = ON;
```

## Actual output

```sql
0
0
ATOMIC_INTRINSICS=1
3.39.0
```

## Expectation

```sql
0
0
(21) API called with NULL prepared statement
(21) misuse at line 94038 of [281fc0e9af]
ATOMIC_INTRINSICS=1
3.51.1
```

## Flag

```

```

