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.4
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.5
Choose a head ref
  • 5 commits
  • 5 files changed
  • 4 contributors

Commits on Nov 16, 2020

  1. Expand documentation for extension functions (#880)

    This relates to #870; it's not immediately clear that you need to pass a
    different driver name to sql.Open from the documentation.
    macaullyjames authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    784c625 View commit details
    Browse the repository at this point in the history
  2. doc.go: you can use Conn.Raw to get *SQLiteConn (#882)

    This can be easier that registering a new driver, in some cases.
    Add a test to verify that this works.
    evanj authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    4f7abea View commit details
    Browse the repository at this point in the history
  3. sqlite3_test.go: Move Go 1.13 test to sqlite3_go113_test.go (#883)

    Commit 4f7abea added a test that uses Conn.Raw, which was added in
    Go >= 1.13. The go-sqlite3 project runs tests with Go >= 1.11. Remove
    the test from sqlite3_test.go, so it only runs with the correct
    versions of Go.
    
    Instead of adding a new test, modify the existing test that already
    uses Conn.Raw() to check the type of driverConn.
    evanj authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    70c7709 View commit details
    Browse the repository at this point in the history
  4. TestExecContextCancel: Reduce timeout to make less flaky (#879)

    This test fails fairly often. On my system, I can trigger it with:
    
        go test . -run=TestExecContextCancel -count=10 -failfast -v
    
    This makes the test less flaky by timing out the context after a
    consistent 50 millisecond delay. This was enough time for the query
    to start, then get cancelled with sqlite3_interrupt() in my tests.
    This now passes the above check.
    
    This is a modified version of the change suggested in:
    #865
    evanj authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    3fb3c0d View commit details
    Browse the repository at this point in the history
  5. Support vfs for Open (#877)

    Closes #876
    mattn authored Nov 16, 2020
    Configuration menu
    Copy the full SHA
    1fbedab View commit details
    Browse the repository at this point in the history
Loading