69 lines
1.2 KiB
Markdown
69 lines
1.2 KiB
Markdown
## 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
|
|
SAVEPOINT sp3642;
|
|
PRAGMA vdbe_debug = NO;
|
|
SELECT atanh(0)x0ACB29BM205381;
|
|
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
|
|
SELECT 1 >> -999999999999999999999999999;
|
|
SELECT sqlite_compileoption_get($1);
|
|
SELECT sqlite_version();
|
|
PRAGMA recursive_triggers = -2173336511320358554;
|
|
PRAGMA cache_size;
|
|
.cd bugs
|
|
PRAGMA encoding=UTF16le;
|
|
CREATE TABLE tkt3376(a COLLATE nocase PRIMARY KEY);
|
|
INSERT INTO tkt3376 VALUES('abc');
|
|
INSERT INTO tkt3376 VALUES('ABX');
|
|
SELECT DISTINCT a FROM tkt3376;
|
|
WITH cte(x) AS (SELECT a FROM tkt3376) SELECT x FROM cte;
|
|
RELEASE sp3642;
|
|
PRAGMA temp_store_directory = "/tmp";
|
|
PRAGMA data_store_directory = "/tmp";
|
|
DELETE FROM tkt3376 WHERE 1;
|
|
INSERT INTO tkt3376 VALUES (NULL);
|
|
UPDATE tkt3376 SET a = CURRENT_TIMESTAMP WHERE 1 RETURNING *;
|
|
```
|
|
|
|
## Actual output
|
|
|
|
```sql
|
|
0.0
|
|
0
|
|
0
|
|
ATOMIC_INTRINSICS=1
|
|
3.39.0
|
|
-2000
|
|
abc
|
|
ABX
|
|
abc
|
|
ABX
|
|
2026-05-15 11:43:56
|
|
```
|
|
|
|
## Expectation
|
|
|
|
```sql
|
|
0.0
|
|
0
|
|
0
|
|
ATOMIC_INTRINSICS=1
|
|
3.51.1
|
|
-2000
|
|
abc
|
|
ABX
|
|
abc
|
|
ABX
|
|
2026-05-15 11:43:56
|
|
```
|
|
|
|
## Flag
|
|
|
|
```
|
|
|
|
```
|
|
|