Merge 'more compat police' from Glauber Costa

* Affinity is already present
* InsertInt is not a thing
* String is never generated directly, it is a second-execution
optimization for String8 so the size doesn't have to be recomputed, but
we always store the size anyway.

Reviewed-by: Preston Thorpe <preston@turso.tech>

Closes #2374
This commit is contained in:
Preston Thorpe
2025-07-31 20:44:32 -04:00
committed by GitHub

View File

@@ -416,7 +416,7 @@ Modifiers:
|----------------|--------|---------|
| Add | Yes | |
| AddImm | Yes | |
| Affinity | No | |
| Affinity | Yes | |
| AggFinal | Yes | |
| AggStep | Yes | |
| AggStep | Yes | |
@@ -474,7 +474,6 @@ Modifiers:
| Init | Yes | |
| InitCoroutine | Yes | |
| Insert | Yes | |
| InsertInt | No | |
| Int64 | Yes | |
| Integer | Yes | |
| IntegrityCk | Yes | |
@@ -551,7 +550,7 @@ Modifiers:
| SorterNext | Yes | |
| SorterOpen | Yes | |
| SorterSort | Yes | |
| String | No | |
| String | NotNeeded | SQLite uses String for sized strings and String8 for null-terminated. All our strings are sized |
| String8 | Yes | |
| Subtract | Yes | |
| TableLock | No | |