---
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
## 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
|
||||
CREATE TABLE T (
|
||||
A VARCHAR(-6374042461028137888) PRIMARY KEY,
|
||||
B VARCHAR(30) NOT NULL,
|
||||
C BIGINT UNIQUE
|
||||
);
|
||||
INSERT INTO T VALUES ('a', 'x', -9223372036854775808);
|
||||
INSERT INTO T VALUES ('b', 'y', -1000000);
|
||||
INSERT INTO T VALUES ('c', 'y', 0);
|
||||
INSERT INTO T VALUES ('d', 'y', 42);
|
||||
INSERT INTO T VALUES ('e', 'x', 9223372036854775807);
|
||||
INSERT INTO T VALUES ('f', 'z', 2147483648);
|
||||
SELECT * FROM T WHERE C > 0 ORDER BY C DESC;
|
||||
SELECT * FROM T;
|
||||
UPDATE T SET A = NULL WHERE 1 RETURNING *;
|
||||
DELETE FROM T WHERE B IS NULL;
|
||||
CREATE TEMPORARY VIEW IF NOT EXISTS v_T_5040 AS SELECT A FROM T;
|
||||
```
|
||||
|
||||
## 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
|
||||
e|x|9223372036854775807
|
||||
f|z|2147483648
|
||||
d|y|42
|
||||
a|x|-9223372036854775808
|
||||
b|y|-1000000
|
||||
c|y|0
|
||||
d|y|42
|
||||
e|x|9223372036854775807
|
||||
f|z|2147483648
|
||||
|x|-9223372036854775808
|
||||
|y|-1000000
|
||||
|y|0
|
||||
|y|42
|
||||
|x|9223372036854775807
|
||||
|z|2147483648
|
||||
```
|
||||
|
||||
## 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
|
||||
e|x|9223372036854775807
|
||||
f|z|2147483648
|
||||
d|y|42
|
||||
a|x|-9223372036854775808
|
||||
b|y|-1000000
|
||||
c|y|0
|
||||
d|y|42
|
||||
e|x|9223372036854775807
|
||||
f|z|2147483648
|
||||
|x|-9223372036854775808
|
||||
|y|-1000000
|
||||
|y|0
|
||||
|y|42
|
||||
|x|9223372036854775807
|
||||
|z|2147483648
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
-nonce "n0Nc3"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user