Files
ast-project/part1/results/3/bug_e5b59a2f-bcaf-4df1-a4b8-95b3a5bf2316_logic.md
2026-06-24 13:47:14 +02:00

48 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
PRAGMA short_column_names = OFF;
PRAGMA legacy_alter_table = OFF;
PRAGMA table_info(users);
.imposter off
SELECT sign((CAST(0 AS DOUBLE PRECISION) + 0))x0ACB29BM205381;
SELECT sqlite_compileoption_used('我的天你是怎么了');
SELECT 1 >> -999999999999999999999999999;
SELECT sqlite_compileoption_get($1);
SELECT sqlite_version();
VACUUM main;
PRAGMA read_uncommitted = ON;
CREATE VIRTUAL TABLE t0 USING fts4("x", "y", "z");
DROP TABLE t0;
```
## Actual output
```sql
[{"x0ACB29BM205381":0}]
[{"sqlite_compileoption_used('我的天你是怎么了')":0}]
[{"1 >> -999999999999999999999999999":0}]
[{"sqlite_compileoption_get($1)":"ATOMIC_INTRINSICS=1"}]
[{"sqlite_version()":"3.39.0"}]
```
## Expectation
```sql
[{"x0ACB29BM205381":0}]
[{"sqlite_compileoption_used('我的天你是怎么了')":0}]
[{"1 >> -999999999999999999999999999":0}]
[{"sqlite_compileoption_get($1)":"ATOMIC_INTRINSICS=1"}]
[{"sqlite_version()":"3.51.1"}]
```
## Flag
```
-json
```