---
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
## 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
|
||||
.limit
|
||||
BEGIN EXCLUSIVE TRANSACTION;
|
||||
PRAGMA case_sensitive_like = 0;
|
||||
PRAGMA encoding = 'UTF-8';
|
||||
PRAGMA case_sensitive_like = TRUE;
|
||||
.progress
|
||||
CREATE TABLE t1(x);
|
||||
INSERT INTO t1 VALUES(99);
|
||||
SELECT sum((SELECT 1 FROM (SELECT 2 WHERE x IS NULL) WHERE 0)) FROM t1;
|
||||
|
||||
COMMIT TRANSACTION;
|
||||
|
||||
VACUUM;
|
||||
SELECT * FROM t1 NATURAL JOIN t1;
|
||||
SELECT COUNT(*) FILTER (WHERE x > 0) OVER (PARTITION BY x ORDER BY x ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM t1;
|
||||
```
|
||||
|
||||
## Actual output
|
||||
|
||||
```sql
|
||||
length 1000000000
|
||||
sql_length 1000000000
|
||||
column 2000
|
||||
expr_depth 1000
|
||||
compound_select 500
|
||||
vdbe_op 250000000
|
||||
function_arg 127
|
||||
attached 10
|
||||
like_pattern_length 50000
|
||||
variable_number 32766
|
||||
trigger_depth 1000
|
||||
worker_threads 0
|
||||
|
||||
99
|
||||
1
|
||||
```
|
||||
|
||||
## Expectation
|
||||
|
||||
```sql
|
||||
length 1000000000
|
||||
sql_length 1000000000
|
||||
column 2000
|
||||
expr_depth 1000
|
||||
compound_select 500
|
||||
vdbe_op 250000000
|
||||
function_arg 1000
|
||||
attached 10
|
||||
like_pattern_length 50000
|
||||
variable_number 32766
|
||||
trigger_depth 1000
|
||||
worker_threads 0
|
||||
|
||||
99
|
||||
1
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user