48 lines
1.2 KiB
Markdown
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
|
|
.log stdout
|
|
BEGIN DEFERRED TRANSACTION;
|
|
SELECT (x'7933d886f723d94ae4daafa168938983' - substr(NULL, CAST((length('') - 0) AS DATE)))x0ACB29BM205381;
|
|
SELECT sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº');
|
|
SELECT 1 >> -999999999999999999999999999;
|
|
SELECT sqlite_compileoption_get($1);
|
|
SELECT sqlite_version();
|
|
COMMIT;
|
|
PRAGMA temp_store = 'MEMORY';
|
|
PRAGMA empty_result_callbacks = ON;
|
|
VACUUM;
|
|
```
|
|
|
|
## Actual output
|
|
|
|
```sql
|
|
x0ACB29BM205381 =
|
|
sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº') = 0
|
|
1 >> -999999999999999999999999999 = 0
|
|
sqlite_compileoption_get($1) = ATOMIC_INTRINSICS=1
|
|
sqlite_version() = 3.39.0
|
|
```
|
|
|
|
## Expectation
|
|
|
|
```sql
|
|
x0ACB29BM205381 =
|
|
sqlite_compileoption_used('æçå¤©ä½ æ¯æä¹äº') = 0
|
|
1 >> -999999999999999999999999999 = 0
|
|
(21) API called with NULL prepared statement
|
|
(21) misuse at line 94038 of [281fc0e9af]
|
|
sqlite_compileoption_get($1) = ATOMIC_INTRINSICS=1
|
|
sqlite_version() = 3.51.1
|
|
```
|
|
|
|
## Flag
|
|
|
|
```
|
|
-line
|
|
```
|
|
|