You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SPARQL UPDATE: multi-operation (;) requests silently execute only the first operation #1438
parse_sparql returns after parsing one operation with no trailing-token check (fluree-db-sparql/src/parse/query/mod.rs:40-74,193-207); parse_and_lower_sparql_update lowers that single body. A request like INSERT DATA {...} ; DELETE WHERE {...} commits the INSERT and silently discards everything after the first ; — verified end-to-end through graph().transact().sparql_update().commit() with readback (W3C basic-update#insert-05a is a 5-op request that demonstrates it).
This is silent data loss for any client sending standard multi-op SPARQL UPDATE.
Interim mitigation (decision D-10a, approved): reject requests with trailing tokens with a loud parse error. Full fix: request-level sequential staging of ops within one atomic commit (roadmap PR-U2, gated on the Txn IR shape decision D-10b).
Found and verified by the W3C SPARQL burn-down audit (PR #1437; docs/audit/burn-down/ROADMAP.md §5 on branch test/sparql-testsuite-full-coverage).
Activity
fix(sparql): suppress AST production when input remains after a compl…
Merge origin/main into burndown/wave-1
Merge pull request #1454 from fluree/burndown/wave-2
test(sparql): apply the burn-down register-comment correction batch
docs(audit): correct refuted findings and stale counts in the parent …
feat(sparql): error on trailing tokens after a complete query or update
feat(sparql): parse multi-operation UPDATE requests (request-level ';…
feat(transact): stage multi-operation UPDATE requests sequentially in…