Loading
Commits on Source 92
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
TIL that 'go get example.com/foo' downloads only what the respective package requires, but 'go mod tidy' will also download test-only dependencies. If needed, the CGo dependencies can be revived in a separate repository/module. For now just delete it. h/t: Dan Kortschak
-
Matthew Gabeler-Lee authored
-
Matthew Gabeler-Lee authored
use passed context in BeginTx See merge request cznic/sqlite!71
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
Toni Spets authored
-
Toni Spets authored
Add support for setting SQLITE_FCNTL_PERSIST_WAL See merge request cznic/sqlite!72
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
Prathyush PV authored
-
Prathyush PV authored
Implement ResetSession and IsValid methods in connection See merge request cznic/sqlite!74
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
updates #199, #200
-
cznic authored
-
cznic authored
-
cznic authored
This should finally unblock upgrading SQLite per se to latest release once the builders are happy with this commit.
-
cznic authored
-
cznic authored
vendors libsqlite3@v1.8.0
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
Romain LE DISEZ authored
-
cznic authored
- doc.go: update SQLite version - stmt.exec(): correct order of err assignment - stmt.query(): do not finalite pstmt before it'll be used - functionArguments(): do not copy from zero sized blob
-
cznic authored
-
cznic authored
-
cznic authored
-
TheDiveO authored
fix: convert int64 column value to time.Time if necessary; providing compatibility with mattn/go-sqlite3 Signed-off-by:thediveo <thediveo@gmx.eu>
-
TheDiveO authored
Signed-off-by:thediveo <thediveo@gmx.eu>
-
TheDiveO authored
Signed-off-by:thediveo <thediveo@gmx.eu>
-
TheDiveO authored
Signed-off-by:thediveo <thediveo@gmx.eu>
-
TheDiveO authored
-
TheDiveO authored
test: add vfs unit test See merge request cznic/sqlite!78
-
TheDiveO authored
Signed-off-by:thediveo <thediveo@gmx.eu>
-
TheDiveO authored
-
cznic authored
fix: convert int64 column value to time.Time if necessary; providing... Closes #214 See merge request cznic/sqlite!76
-
cznic authored
-
Guénaël Muller authored
-
Guénaël Muller authored
-
Guénaël Muller authored
-
inkhey authored
add support for automatic time to unix epoch integer conversion See merge request cznic/sqlite!77
-
cznic authored
-
Walter Wanderley authored
-
Walter Wanderley authored
feat: pre-update hooks See merge request !80
-
Silvio Moioli authored
This is useful in the following situation: * `query` function gets called * SQL query is executed correctly, the `r` result (Rows) is set * after that, but before `query` returns, `ctx` is canceled * `interruptOnDone`’s goroutine catches the cancelation and signals the completion back to `query` by turning the atomic signaling variable `done` to 1 * `query` finishes and returns * the anonymous deferred function patched here is popped off the deferred stack and executed The current code, seeing that `done` is not zero, will overwrite `r` (Rows) with `nil`, and that implies the Rows can never be `Close`d. Unclosed Rows mean that read transactions never finish, and that blocks the checkpointer process and cause the WAL to grow unbounded, and other read queries to slow down unbounded. https://sqlite.org/wal.html#avoiding_excessively_large_wal_files ("Checkpoint Starvation")
-
Silvio Moioli authored
Signed-off-by:Silvio Moioli <silvio@moioli.net>
-
Silvio Moioli authored
Signed-off-by:
Silvio Moioli <silvio@moioli.net> Co-authored-by:
Alejandro Ruiz <alejandro.ruiz@suse.com>
-
Silvio Moioli authored
Close Rows object if the context is canceled before deferred function See merge request !81
-
cznic authored
-
cznic authored
-
Adrian Witas authored
-
Adrian Witas authored
- Introduce vtab subpackage (modernc.org/sqlite/vtab) exposing Module, Table,... See merge request !84
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
cznic authored
-
Josh Bleecher Snyder authored
The previous code was subject to a TOCTOU race: the atomic.AddInt32 in the select statement could succeed, but then context switch away before actually calling c.interrupt. The actual call to c.interrupt could end up occurring later, interrupting an unrelated subsequent query. Fixes #241