Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sqliteai/sqlite-memory
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 04a6e39
Choose a base ref
...
head repository: sqliteai/sqlite-memory
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dd50ee5
Choose a head ref
  • 1 commit
  • 5 files changed
  • 1 contributor

Commits on Jun 4, 2026

  1. feat: add preserve duplicate paths option (#9)

    Add the preserve_duplicate_paths option for virtual-file/editor workflows that need distinct logical paths even when content is identical or empty.
    
    When enabled with SELECT memory_set_option('preserve_duplicate_paths', 1), storage hashes are scoped by path so dbmem_content can keep separate rows while the embedding cache still reuses chunk embeddings by text.
    
    Fix empty content handling so memory_add_content() and memory_add_file() can store zero-length entries without producing chunks, and keep default deduplication behavior unchanged when the option is 0.
    
    Document the option, bump the extension version to 1.3.2, and cover default dedupe, duplicate preservation, and empty file/content behavior with unit tests.
    andinux authored Jun 4, 2026
    Configuration menu
    Copy the full SHA
    dd50ee5 View commit details
    Browse the repository at this point in the history
Loading