Commit ac3e2730 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 11681541
...@@ -415,7 +415,7 @@ func (b *Backend) Close() error { ...@@ -415,7 +415,7 @@ func (b *Backend) Close() error {
func openConn(dburl string) (*sqlite3.Conn, error) { func openConn(dburl string) (*sqlite3.Conn, error) {
conn, err := sqlite3.Open(dburl, conn, err := sqlite3.Open(dburl,
sqlite3.OpenNoMutex, // we use connections only from 1 goroutine simultaneously sqlite3.OpenNoMutex, // we use connections only from 1 goroutine simultaneously
sqlite3.OpenUri, // handle file:... URIs sqlite3.OpenURI, // handle file:... URIs
sqlite3.OpenReadWrite) //, sqlite3.OpenSharedCache) sqlite3.OpenReadWrite) //, sqlite3.OpenSharedCache)
if err != nil { if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment