Frank Braun
|
93d36ea9fb
|
upgrade go-sqlite3 to v1.14.5
|
2020-12-07 17:56:38 +00:00 |
|
Frank Braun
|
93d8e09d7f
|
update github.com/mattn/go-sqlite3 to latest
Related to #8
|
2020-07-23 04:09:25 +00:00 |
|
Frank Braun
|
1ea89987f6
|
add missing pragmas
|
2017-05-08 18:54:00 +00:00 |
|
Frank Braun
|
2fc2f58d75
|
update code from github.com/mattn/go-sqlite3
Upstream fix to
https://github.com/mattn/go-sqlite3/issues/311
resolves issue #5
|
2017-04-26 07:12:32 +00:00 |
|
Frank Braun
|
b71d753b66
|
add support for dsn _pragma_foreign_keys
|
2015-11-30 01:04:21 +00:00 |
|
Frank Braun
|
e4e8007f0d
|
make _pragma_key more generic
|
2015-11-30 01:00:07 +00:00 |
|
Frank Braun
|
9314beb63f
|
open with databases with C.SQLITE_OPEN_NOMUTEX
Instead of C.SQLITE_OPEN_FULLMUTEX.
With the currently used combination of flags in
https://github.com/mattn/go-sqlite3/blob/master/sqlite3.go (compilation with
-DSQLITE_THREADSAFE and sqlite3_open_v2() called with flag
SQLITE_OPEN_FULLMUTEX) SQLite database files are opened in serialized mode
(https://www.sqlite.org/threadsafe.html).
Since sql.Open() (https://golang.org/pkg/database/sql/#Open) is safe for
concurrent use by multiple goroutines it should be enough to open SQLite
database files in multi-thread mode (flag SQLITE_OPEN_NOMUTEX instead of
SQLITE_OPEN_FULLMUTEX). This should also improve performance.
See also https://github.com/mattn/go-sqlite3/issues/249
|
2015-11-30 00:09:43 +00:00 |
|
Frank Braun
|
60160a1594
|
fix parallel access to an encrypted database
|
2015-11-30 00:02:48 +00:00 |
|
Frank Braun
|
5a9c8c118c
|
update code from github.com/mattn/go-sqlite3
|
2015-11-29 22:21:55 +00:00 |
|
Frank Braun
|
35afdd14fb
|
update go-sqlite3 & fix tests
|
2015-09-27 08:30:08 +02:00 |
|
Frank Braun
|
6d954fda7b
|
update code from github.com/mattn/go-sqlite3
|
2015-09-13 16:28:51 +02:00 |
|
Frank Braun
|
6f1de734f2
|
update code from github.com/mattn/go-sqlite3
|
2015-04-29 02:10:36 +02:00 |
|
Frank Braun
|
a2e3bba9dc
|
add code
|
2015-04-29 01:56:53 +02:00 |
|