49 lines
640 B
Markdown
49 lines
640 B
Markdown
## 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 index_list(users);
|
|
PRAGMA max_page_count = '&';
|
|
PRAGMA user_version = 999;
|
|
.progress
|
|
CREATE TABLE T (
|
|
a INTEGER,
|
|
b REAL
|
|
);
|
|
INSERT INTO T VALUES (1,1.5), (2,-2.5), (3,0.0);
|
|
CREATE INDEX c
|
|
ON T(b);
|
|
SELECT * FROM T WHERE b >= -2.5 AND b < 2.0;
|
|
```
|
|
|
|
## Actual output
|
|
|
|
```sql
|
|
max_page_count
|
|
1073741823
|
|
a|b
|
|
2|-2.5
|
|
3|0.0
|
|
1|1.5
|
|
```
|
|
|
|
## Expectation
|
|
|
|
```sql
|
|
max_page_count
|
|
4294967294
|
|
a|b
|
|
2|-2.5
|
|
3|0.0
|
|
1|1.5
|
|
```
|
|
|
|
## Flag
|
|
|
|
```
|
|
-header
|
|
```
|
|
|