## 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 ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;
.log ON
BEGIN EXCLUSIVE;
SELECT max(NULL, like('%0%', exp(0), '%'))x0ACB29BM205381;
-- .connection

SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
COMMIT TRANSACTION;

```

## Actual output

```sql
0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0

0
0
ATOMIC_INTRINSICS=1
3.39.0
```

## Expectation

```sql
0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1

0
0
ATOMIC_INTRINSICS=1
3.51.1
```

## Flag

```

```

