---
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
## 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
|
||||
CREATE TABLE `T` (
|
||||
a TEXT,
|
||||
b REAL
|
||||
);
|
||||
INSERT INTO T VALUES ('a',datetime(glob('[!0-9]', 'a'), '+1 day')), ('b',-round(instr(NULL, like('%lower%', 200.5)), 2)), ('c',9e999);
|
||||
SELECT a,b,
|
||||
LEAD(b,1) OVER (ORDER BY b DESC) AS c,
|
||||
NTILE(2) OVER (ORDER BY b DESC) AS d FROM T;
|
||||
UPDATE T SET b = -20;
|
||||
UPDATE T SET a = '' WHERE a IS NOT NULL RETURNING *;
|
||||
DROP TRIGGER IF EXISTS T;
|
||||
INSERT INTO T DEFAULT VALUES;
|
||||
INSERT INTO T VALUES (NULL, NULL);
|
||||
CREATE TRIGGER IF NOT EXISTS trg_T_5952 AFTER DELETE ON T BEGIN SELECT RAISE(ROLLBACK, 'rb'); END;
|
||||
```
|
||||
|
||||
## Actual output
|
||||
|
||||
```sql
|
||||
a-4713-11-25 12:00:00Inf1cInf1b2-20-20-20
|
||||
```
|
||||
|
||||
## Expectation
|
||||
|
||||
```sql
|
||||
a-4713-11-25 12:00:00Inf1cInf1b2-20.0-20.0-20.0
|
||||
```
|
||||
|
||||
## Flag
|
||||
|
||||
```
|
||||
-ascii
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user