## 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 auto_vacuum = FULL;
-- if(0,{v},0,{v},0,{v},0,{v},0,{v},0,{v},{v})

PRAGMA synchronous = '0';
PRAGMA count_changes = ON;
PRAGMA defer_foreign_keys =  OFF;
PRAGMA table_list("users");
.width
BEGIN;
CREATE TABLE "album"( aid DOUBLE PRIMARY KEY, title TEXT UNIQUE NOT NULL);
CREATE TABLE track( tid INTEGER PRIMARY KEY, aid INTEGER NOT NULL REFERENCES album, tn INTEGER NOT NULL, name TEXT, UNIQUE(aid, tn));
INSERT INTO album VALUES(like('*1', NULL), '1-one'), (json_error_position((2 * 1)), '2-two'), (3, '3-three');
INSERT INTO track VALUES (NULL, 1, 1, 'one-a'), (NULL, 2, 2, 'two-b'), (NULL, 3, 3, 'three-c'), (NULL, 1, 3, 'one-c'), (NULL, 2, 1, 'two-a'), (NULL, 3, 1, 'three-a');
COMMIT;
SELECT name FROM album JOIN track USING (aid) ORDER BY title, tn;

CREATE TRIGGER IF NOT EXISTS trg_album_4090 BEFORE DELETE ON album BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
ALTER TABLE track ADD COLUMN extra_9791 INT8 COLLATE NOCASE;
REINDEX;

SELECT COUNT(*) FROM album;
CREATE TABLE "T" (
  A VARCHAR(10) PRIMARY KEY,
  B VARCHAR(15) NOT NULL,
  C INTEGER,
  UNIQUE (B, C)
);
INSERT INTO T VALUES ('a', 'p', -2147483648);
INSERT INTO T VALUES ('b', 'q', 700);
INSERT INTO T VALUES ('c', 'r', 0);
INSERT INTO T VALUES ('d', 's', 2147483647);
INSERT INTO T VALUES ('e', 't', -1);
INSERT INTO T VALUES ('f', 'u', 1);
SELECT * FROM T WHERE C BETWEEN -1000 AND 1000 ORDER BY C ASC;
VACUUM main;
```

## Actual output

```sql
6
0
1
1
1
1
1
1
e|t|-1
c|r|0
f|u|1
b|q|700
```

## Expectation

```sql

```

## Flag

```

```

