---
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
## 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
|
||||
ATTACH DATABASE ':memory:' AS aux11;
|
||||
ATTACH DATABASE '' || (':memory:') AS aux25;
|
||||
BEGIN TRANSACTION;
|
||||
-- json_array({v}, NULL, {v})
|
||||
|
||||
PRAGMA vdbe_addoptrace = YES;
|
||||
PRAGMA journal_mode;
|
||||
ATTACH DATABASE (':memory:' || /* sinh({v}) */ '') AS aux37;
|
||||
CREATE TABLE [T] (
|
||||
a INTEGER,
|
||||
b REAL,
|
||||
c REAL
|
||||
);
|
||||
INSERT INTO T VALUES (unhex(round(min('z', 'a', 'm'), ((x'85ae0e696c3a31' + instr('hello', 'l')) - -radians(cos(2147483646)))), ' '),2.0,10.5), (1,-3.5,20.25), (2,9e999,-1.0);
|
||||
WITH d AS (SELECT a,SUM(b*c) AS e FROM T GROUP BY a) SELECT * FROM d;
|
||||
SELECT LEAD(a, 2, 'default') OVER (ORDER BY a ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING EXCLUDE GROUP) FROM T;
|
||||
DETACH DATABASE aux37;
|
||||
COMMIT TRANSACTION;
|
||||
DETACH DATABASE aux25;
|
||||
DETACH DATABASE aux11;
|
||||
```
|
||||
|
||||
## Actual output
|
||||
|
||||
```sql
|
||||
memory
|
||||
```
|
||||
|
||||
## Expectation
|
||||
|
||||
```sql
|
||||
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user