## 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 user_version;
ATTACH DATABASE ':memory:' AS aux37;
CREATE TABLE person (org_id TEXT NOT NULL, nickname        TEXT NOT NULL, license         TEXT, CONSTRAINT person_pk PRIMARY KEY (org_id, nickname), CONSTRAINT person_license_uk UNIQUE (license) );
INSERT INTO person VALUES('meyers', 'jack', '2GAT123');
INSERT INTO person VALUES('meyers', 'hill', 'V345FMP');
INSERT INTO person VALUES('meyers', 'jim', '2GAT138');
INSERT INTO person VALUES('smith', 'maggy', '');
CREATE TABLE t2(a PRIMARY KEY, b);
INSERT INTO t2 VALUES('abc', 'xxx');
INSERT INTO t2 VALUES('def', 'yyy');
SELECT org_id, count((NOT (org_id IS NULL)) AND (NOT (nickname IS NULL))) FROM person WHERE (CASE WHEN license != '' THEN CAST(1 AS CHARACTER(20)) ELSE 0 END) GROUP BY 1;
SELECT a, max(b || a) FROM t2 WHERE (b||b||b)!='value' GROUP BY a;


DROP TRIGGER IF EXISTS person;
CREATE TRIGGER IF NOT EXISTS trg_t2_959 AFTER INSERT ON t2 BEGIN SELECT RAISE(IGNORE); END;
DETACH DATABASE aux37;
INSERT INTO t2 VALUES (NULL, NULL);
PRAGMA max_page_count;
INSERT INTO t2 DEFAULT VALUES;
VACUUM;
INSERT INTO t2 DEFAULT VALUES;
WITH RECURSIVE cnt(x) AS (VALUES(1) UNION SELECT x+1 FROM cnt WHERE x<7) SELECT * FROM cnt;
```

## Actual output

```sql
0
meyers|3
abc|xxxabc
def|yyydef
1073741823
1
2
3
4
5
6
7
```

## Expectation

```sql
0
meyers|3
abc|xxxabc
def|yyydef
4294967294
1
2
3
4
5
6
7
```

## Flag

```

```

