You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `loc=auto` in SQLite3 filename schema like `file:foo.db?loc=auto`.
69
69
70
-
* Can use this in multiple routines concurrently?
70
+
* Can I use this in multiple routines concurrently?
71
71
72
72
Yes for readonly. But, No for writable. See [#50](https://github.com/mattn/go-sqlite3/issues/50), [#51](https://github.com/mattn/go-sqlite3/issues/51), [#209](https://github.com/mattn/go-sqlite3/issues/209).
73
73
74
-
* Why is it racy if I use a `sql.Open("sqlite", ":memory:")` database?
74
+
* Why is it racy if I use a `sql.Open("sqlite3", ":memory:")` database?
75
75
76
76
Each connection to :memory: opens a brand new in-memory sql database, so if
77
77
the stdlib's sql engine happens to open another connection and you've only
0 commit comments