File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ Presently the module is in development and the API is subject to change.
3131
3232## Requirements
3333
34- * A [ sqlite3 installation] ( https://www.sqlite.org/capi3ref.html ) , with library and header files;
34+ * A [ sqlite3 installation] ( https://www.sqlite.org/capi3ref.html ) , with library and header files.
35+ The minimal version of sqlite3 is 3.24.0 (2018-06-04) and it requires a build with
36+ ` -DSQLITE_ENABLE_UNLOCK_NOTIFY ` for concurrent lock support.
3537 * [ go1.17] ( https://golang.org/dl/ ) or later;
3638 * [ npm] ( https://www.npmjs.com/ ) in order to build the frontend;
3739 * Tested on Debian Linux (32- and 64- bit) on ARM and macOS on x64
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const (
2828 SQLITE_DBSTATUS_CACHE_WRITE StatusType = C .SQLITE_DBSTATUS_CACHE_WRITE
2929 SQLITE_DBSTATUS_DEFERRED_FKS StatusType = C .SQLITE_DBSTATUS_DEFERRED_FKS
3030 SQLITE_DBSTATUS_CACHE_USED_SHARED StatusType = C .SQLITE_DBSTATUS_CACHE_USED_SHARED
31- // SQLITE_DBSTATUS_CACHE_SPILL StatusType = C.SQLITE_DBSTATUS_CACHE_SPILL
31+ SQLITE_DBSTATUS_CACHE_SPILL StatusType = C .SQLITE_DBSTATUS_CACHE_SPILL
3232 SQLITE_DBSTATUS_MIN = SQLITE_DBSTATUS_LOOKASIDE_USED
3333 SQLITE_DBSTATUS_MAX StatusType = C .SQLITE_DBSTATUS_MAX
3434)
@@ -62,8 +62,8 @@ func (s StatusType) String() string {
6262 return "SQLITE_DBSTATUS_DEFERRED_FKS"
6363 case SQLITE_DBSTATUS_CACHE_USED_SHARED :
6464 return "SQLITE_DBSTATUS_CACHE_USED_SHARED"
65- // case SQLITE_DBSTATUS_CACHE_SPILL:
66- // return "SQLITE_DBSTATUS_CACHE_SPILL"
65+ case SQLITE_DBSTATUS_CACHE_SPILL :
66+ return "SQLITE_DBSTATUS_CACHE_SPILL"
6767 default :
6868 return "[?? Invalid StatusType value]"
6969 }
You can’t perform that action at this time.
0 commit comments