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,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
ATTACH DATABASE ':memory:' AS aux44;
CREATE TABLE T (
a INTEGER,
b REAL,
c REAL
);
INSERT INTO T VALUES (strftime('%s', if(0, 9145485036963515638, 9145485036963515638)),1.5,10.0), (2,-2.5,20.0), (3,-9e999,30.0);
SELECT * FROM T WHERE b < 2.0 ORDER BY b;
DETACH DATABASE aux44;
SELECT * FROM T WHERE EXISTS (SELECT 1 FROM T t2 WHERE t2.a = T.a);
INSERT INTO T VALUES (NULL, NULL, NULL);
INSERT OR ROLLBACK INTO T VALUES (NULL, NULL, '');
```
## Actual output
```sql
Parse error near line 7: no such function: if
INSERT INTO T VALUES (strftime('%s', if(0, 9145485036963515638, 91454850369635
error here ---^
```
## Expectation
```sql
```
## Flag
```
-vfs unix-excl
```