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: mattn/go-sqlite3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.14.37
Choose a base ref
...
head repository: mattn/go-sqlite3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.14.38
Choose a head ref
  • 6 commits
  • 3 files changed
  • 3 contributors

Commits on Jan 21, 2025

  1. Fix json example

    Because of sqlite's flexible typing, even though the column was declared as jsonb, the values are stored as the TEXT-typed json because they're converted to strings by Value/Scan. If the table is strict with a BLOB column, the example fails because of the type mismatch. This can be fixed by using the `jsonb()` function to convert incoming string-typed json and the `json()` function to convert outgoing binary-typed jsonb. The example is expanded to show both of these approaches.
    
    Note that both approaches use the same string-typed marshalling functions because the conversion to jsonb occurs within sqlite3, not within the Go code. SQLite docs state that the binary format is internal and applications shouldn't try to generate it: https://sqlite.org/json1.html#jsonb
    Jaculabilis committed Jan 21, 2025
    Configuration menu
    Copy the full SHA
    cff37b4 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. Merge pull request #1313 from Jaculabilis/json-example

    Fix json example
    mattn authored Mar 16, 2026
    Configuration menu
    Copy the full SHA
    57e5007 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2026

  1. Configuration menu
    Copy the full SHA
    84bdc43 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. Merge pull request #1379 from theimpostor/pr-1322-missing-constraint-…

    …op-types
    
    Add missing virtual table constraint op constants
    mattn authored Mar 19, 2026
    Configuration menu
    Copy the full SHA
    0d23881 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2026

  1. Eliminate unnecessary bounds checks in hot paths

    - Replace len(args[start:start+na]) > 0 with na > 0 to avoid slice bounds check
    - Use range loops instead of manual index loops for cols/decltype slices
    - Use range variable v.Ordinal instead of re-indexing args[i].Ordinal
    - Add bounds hint for decltype access in nextSyncLocked loop
    mattn committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    8f9f86e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1381 from mattn/eliminate-bounds-checks

    Eliminate unnecessary bounds checks in hot paths
    mattn authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    edadafa View commit details
    Browse the repository at this point in the history
Loading