diff --git a/const.go b/const.go index 3a6a8cd..d4908de 100644 --- a/const.go +++ b/const.go @@ -166,6 +166,7 @@ const ( PREPARE_PERSISTENT PrepareFlag = 0x01 PREPARE_NORMALIZE PrepareFlag = 0x02 PREPARE_NO_VTAB PrepareFlag = 0x04 + PREPARE_DONT_LOG PrepareFlag = 0x10 ) // FunctionFlag is a flag that can be passed to @@ -219,6 +220,7 @@ const ( DBSTATUS_DEFERRED_FKS DBStatus = 10 DBSTATUS_CACHE_USED_SHARED DBStatus = 11 DBSTATUS_CACHE_SPILL DBStatus = 12 + // DBSTATUS_MAX DBStatus = 12 ) // DBConfig are the available database connection configuration options. diff --git a/vfs/const.go b/vfs/const.go index 896cdac..1c9b77a 100644 --- a/vfs/const.go +++ b/vfs/const.go @@ -225,6 +225,7 @@ const ( _FCNTL_EXTERNAL_READER _FcntlOpcode = 40 _FCNTL_CKSM_FILE _FcntlOpcode = 41 _FCNTL_RESET_CACHE _FcntlOpcode = 42 + _FCNTL_NULL_IO _FcntlOpcode = 43 ) // https://sqlite.org/c3ref/c_shm_exclusive.html