File tree Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,21 @@ extern const int OPEN_READONLY; // SQLITE_OPEN_READONLY
45
45
extern const int OPEN_READWRITE; // SQLITE_OPEN_READWRITE
46
46
// / With OPEN_READWRITE: The database is opened for reading and writing, and is created if it does not already exist.
47
47
extern const int OPEN_CREATE; // SQLITE_OPEN_CREATE
48
- // / Open database with thread-safety
49
- extern const int OPEN_FULLMUTEX; // SQLITE_OPEN_FULLMUTEX
50
-
51
48
// / Enable URI filename interpretation, parsed according to RFC 3986 (ex. "file:data.db?mode=ro&cache=private")
52
49
extern const int OPEN_URI; // SQLITE_OPEN_URI
50
+ // / Open in memory database
51
+ extern const int OPEN_MEMORY; // SQLITE_OPEN_MEMORY
52
+ // / Open database in multi-thread threading mode
53
+ extern const int OPEN_NOMUTEX; // SQLITE_OPEN_NOMUTEX
54
+ // / Open database with thread-safety in serialized threading mode
55
+ extern const int OPEN_FULLMUTEX; // SQLITE_OPEN_FULLMUTEX
56
+ // / Open database with shared cache enabled
57
+ extern const int OPEN_SHAREDCACHE; // SQLITE_OPEN_SHAREDCACHE
58
+ // / Open database with shared cache disabled
59
+ extern const int OPEN_PRIVATECACHE; // SQLITE_OPEN_PRIVATECACHE
60
+ // / Database filename is not allowed to be a symbolic link
61
+ extern const int OPEN_NOFOLLOW; // SQLITE_OPEN_NOFOLLOW
62
+
53
63
54
64
extern const int OK; // /< SQLITE_OK (used by check() bellow)
55
65
Original file line number Diff line number Diff line change 27
27
namespace SQLite
28
28
{
29
29
30
- const int OPEN_READONLY = SQLITE_OPEN_READONLY;
31
- const int OPEN_READWRITE = SQLITE_OPEN_READWRITE;
32
- const int OPEN_CREATE = SQLITE_OPEN_CREATE;
33
- const int OPEN_URI = SQLITE_OPEN_URI;
34
- const int OPEN_FULLMUTEX = SQLITE_OPEN_FULLMUTEX;
30
+ const int OPEN_READONLY = SQLITE_OPEN_READONLY;
31
+ const int OPEN_READWRITE = SQLITE_OPEN_READWRITE;
32
+ const int OPEN_CREATE = SQLITE_OPEN_CREATE;
33
+ const int OPEN_URI = SQLITE_OPEN_URI;
34
+ const int OPEN_MEMORY = SQLITE_OPEN_MEMORY;
35
+ const int OPEN_NOMUTEX = SQLITE_OPEN_NOMUTEX;
36
+ const int OPEN_FULLMUTEX = SQLITE_OPEN_FULLMUTEX;
37
+ const int OPEN_SHAREDCACHE = SQLITE_OPEN_SHAREDCACHE;
38
+ const int OPEN_PRIVATECACHE = SQLITE_OPEN_PRIVATECACHE;
39
+ const int OPEN_NOFOLLOW = SQLITE_OPEN_NOFOLLOW;
35
40
36
41
const int OK = SQLITE_OK;
37
42
You can’t perform that action at this time.
0 commit comments