Skip to content

Merge upstream #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 44 commits into from
Sep 11, 2022
Merged

Merge upstream #1

merged 44 commits into from
Sep 11, 2022

Conversation

otoolep
Copy link
Owner

@otoolep otoolep commented Sep 11, 2022

No description provided.

avivklas and others added 30 commits October 19, 2021 18:18
* chore: readme: Fix link, typos, copy editing

Also closes #914, #939.

* Update README.md
Do not use `-u` flag when fetching go-acc
seperated -> separated
The busy_timeout pragma was added in sqlite 3.7.15 as an alternative
to calling sqlite3_busy_timeout directly:

https://sqlite.org/pragma.html#pragma_busy_timeout

While there's no functional change here, using the pragma does align
setting busy_timeout with other settings and removes the special case
for calling sqlite3_busy_timeout directly.
* sqlite3_type update

The main reason for this change is that the original reflected values are nil. I found that there was no good mapping when dealing with the code here

* Update sqlite3_type.go

Update 'ColumnTypeScanType' method,
Different types of mapping values

* Restore copyright

* Update go.mod

* Update go.mod
Selecting only some tests with go test -run=... does not work, because
some of the tests are executed using testing.RunTests(). That function
is documented as "an internal function". This changes TestSuite to use
the testing subtests feature instead.

This has a behaviour change: the benchmarks now need to be
selected at the command line with the standard go test -bench=.
flag. This will also set up the test database twice when running
benchmarks, rather than once.
* Add go.mod and go.sum for upgrade

* Fix upgrade tools to have to run on upgrade directory
Currently, no way to fix failing
This commit adds the SQLiteConn.FileControlInt() method which calls the
underlying sqlite3_file_control() function with an int argument. This can
be used for low-level operations on SQLite databases such as persisting
the WAL file after database close.
mattn and others added 14 commits May 18, 2022 11:53
Based on https://golang.org/pkg/database/sql/#Tx.Commit this function returns an error type.
So why not check it.
Support returning any from callbacks
(For #965.)

This retraction will take effect when this commit is included in the
latest v1 release (presumably v1.14.11).
This commit adds the `sqlite_os_trace` build tag which sets the
`SQLITE_FORCE_OS_TRACE` and `SQLITE_DEBUG_OS_TRACE` compilation
flags. This produces verbose debugging output of every operating
system call made by SQLite.
Fixes a test which did not correctly exercise the multi-statement
Queryer functionality
Always rollback on a commit error
Fix typo in README
@otoolep otoolep merged commit ecd2680 into otoolep:master Sep 11, 2022
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.