Skip to content

docs: document SQLCipher PRAGMA key escaping rationale#186

Merged
careck merged 1 commit intomasterfrom
fix/181-pragma-key-escaping-docs
May 4, 2026
Merged

docs: document SQLCipher PRAGMA key escaping rationale#186
careck merged 1 commit intomasterfrom
fix/181-pragma-key-escaping-docs

Conversation

@careck
Copy link
Copy Markdown
Member

@careck careck commented May 4, 2026

Summary

  • Added inline comments at both PRAGMA key locations in storage.rs explaining why string interpolation is used (SQLCipher doesn't support parameterized queries for PRAGMAs) and why single-quote doubling is sufficient

Test plan

  • cargo test -p krillnotes-core — 628 tests pass
  • No behavior change, documentation only

Closes #181

@careck careck merged commit b9b2151 into master May 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document SQLCipher PRAGMA key escaping rationale

1 participant