This commit is contained in:
2026-06-24 13:47:14 +02:00
commit fd930e15cb
2377 changed files with 1213931 additions and 0 deletions
@@ -0,0 +1,53 @@
## 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 TEXT,
c REAL
);
INSERT INTO T VALUES ('a','b',5.0), ('a','c',5.0), ('b','d',-8.25);
SELECT a,b,c,
RANK() OVER (PARTITION BY a ORDER BY c DESC) AS d FROM T;
UPDATE T SET a = CURRENT_TIMESTAMP WHERE a IS NOT NULL;
INSERT INTO T SELECT * FROM T;
UPDATE T SET c = c + 1 WHERE 1 RETURNING *;
```
## Actual output
```sql
a|b|5.0|1
a|c|5.0|1
b|d|-8.25|1
2026-05-15 11:30:08|b|6
2026-05-15 11:30:08|c|6
2026-05-15 11:30:08|d|-7.25
2026-05-15 11:30:08|b|6
2026-05-15 11:30:08|c|6
2026-05-15 11:30:08|d|-7.25
```
## Expectation
```sql
a|b|5.0|1
a|c|5.0|1
b|d|-8.25|1
2026-05-15 11:30:08|b|6.0
2026-05-15 11:30:08|c|6.0
2026-05-15 11:30:08|d|-7.25
2026-05-15 11:30:08|b|6.0
2026-05-15 11:30:08|c|6.0
2026-05-15 11:30:08|d|-7.25
```
## Flag
```
```