limbo/core/translate
Jussi Saurio 9dbbb2e358
Merge 'Add script to run SQLancer against turso + fix some bugs found by doing so' from Jussi Saurio
## Beef
- Add `./scripts/run-sqlancer.sh` script to run
[SQLancer](https://github.com/sqlancer/sqlancer) using Turso's Java
bindings.
> SQLancer is a tool to automatically test Database Management Systems
(DBMSs) in order to find bugs in their implementation. That is, it finds
bugs in the code of the DBMS implementation, rather than in queries
written by the user. SQLancer has found hundreds of bugs in mature and
widely-known DBMSs.
- Fix some bugs that were already found by running it
## Reader's guide to the PR
- Commit by commit reviewing is probably best since the java bindings
changes, turso core bugfixes, and the sqlancer vibecode are all
separated into commits.
## AI Disclosure
Heavy Opus 4.5 vibecoding. I just started with `"This is Turso, the Rust
rewrite of SQlite. Let's investigate ways to run SQLancer against it"`,
and went from there.
I seriously have no idea if this is the least-effort way of doing it,
but it works, so I think that's a good enough start.

Reviewed-by: Preston Thorpe <preston@turso.tech>
Reviewed-by: Pedro Muniz (@pedrocarlo)

Closes #4180
2025-12-11 23:38:26 +02:00
..
optimizer Add greedy join ordering for large queries (>12 tables) 2025-12-11 09:31:38 +02:00
aggregation.rs Store Cow<&Expr> in expr_to_reg_cache 2025-11-13 09:32:37 +02:00
alter.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
analyze.rs Add scalar functions to properly support analyze behavior 2025-12-09 19:45:06 -05:00
attach.rs Fix clippy warnings 2025-09-26 12:17:34 -04:00
collate.rs Use expression indexes as covering when possible 2025-11-20 12:47:50 -05:00
compound_select.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
delete.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
display.rs Fix clippy warnings 2025-12-04 16:09:47 -05:00
emitter.rs Cache result column values in the hashtable to prevent additional SeekRowID 2025-12-04 16:09:48 -05:00
expr.rs core: change some panics to errors 2025-12-11 17:18:11 +02:00
expression_index.rs Use expression indexes as covering when possible 2025-11-20 12:47:50 -05:00
fkeys.rs cargo fmt 2025-11-17 12:22:55 -05:00
group_by.rs Store Cow<&Expr> in expr_to_reg_cache 2025-11-13 09:32:37 +02:00
index.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
insert.rs fix: INSERT OR IGNORE with NOT NULL constraint failure 2025-12-11 17:18:11 +02:00
integrity_check.rs ignore "virtual" index entries corresponding to the index_methods from integrity check 2025-10-31 14:25:59 +04:00
logical.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
main_loop.rs Fix descending index scan returning rows when seek key is NULL 2025-12-08 13:19:58 +02:00
mod.rs core: change some panics to errors 2025-12-11 17:18:11 +02:00
order_by.rs Begin to implement index creation on arbitrary expressions 2025-11-20 12:47:45 -05:00
plan.rs Fix condition evaluation that references hash build table now that its no longer in join order 2025-12-04 16:09:49 -05:00
planner.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
pragma.rs adjust registers allocation 2025-11-20 18:00:54 +04:00
result_row.rs triggers: add capability for DeletePlan to write the write set into a RowSet first 2025-11-18 15:19:01 +02:00
rollback.rs translate: refactor arguments and centralize parameter context 2025-09-26 12:06:44 -04:00
schema.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
select.rs Merge 'Fix CTE scope propagation for compound SELECTs' from Martin Mauch 2025-12-10 19:04:03 +02:00
subquery.rs Fix clippy warnings 2025-12-04 16:09:47 -05:00
transaction.rs Add BEGIN CONCURRENT support for MVCC mode 2025-09-11 16:05:52 +03:00
trigger.rs don't allow triggers on system tables 2025-11-26 07:43:15 +05:30
trigger_exec.rs core: change some panics to errors 2025-12-11 17:18:11 +02:00
update.rs chore: remove experimental_indexes feature flags 2025-12-08 13:00:37 +02:00
upsert.rs run BEFORE and AFTER update triggers on upserts 2025-12-06 15:20:24 -05:00
values.rs feat: fixing name resolution for identifiers inside VALUES() 2025-11-23 12:14:56 +05:30
view.rs Fix: Drop internal DBSP table when dropping materialized view 2025-11-08 20:28:20 +01:00
window.rs Store Cow<&Expr> in expr_to_reg_cache 2025-11-13 09:32:37 +02:00