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 @@ -38,11 +38,21 @@ extern const int OPEN_READONLY; // SQLITE_OPEN_READONLY
3838extern const int OPEN_READWRITE; // SQLITE_OPEN_READWRITE
3939// / With OPEN_READWRITE: The database is opened for reading and writing, and is created if it does not already exist.
4040extern const int OPEN_CREATE; // SQLITE_OPEN_CREATE
41- // / Open database with thread-safety
42- extern const int OPEN_FULLMUTEX; // SQLITE_OPEN_FULLMUTEX
43-
4441// / Enable URI filename interpretation, parsed according to RFC 3986 (ex. "file:data.db?mode=ro&cache=private")
4542extern const int OPEN_URI; // SQLITE_OPEN_URI
43+ // / Open in memory database
44+ extern const int OPEN_MEMORY; // SQLITE_OPEN_MEMORY
45+ // / Open database in multi-thread threading mode
46+ extern const int OPEN_NOMUTEX; // SQLITE_OPEN_NOMUTEX
47+ // / Open database with thread-safety in serialized threading mode
48+ extern const int OPEN_FULLMUTEX; // SQLITE_OPEN_FULLMUTEX
49+ // / Open database with shared cache enabled
50+ extern const int OPEN_SHAREDCACHE; // SQLITE_OPEN_SHAREDCACHE
51+ // / Open database with shared cache disabled
52+ extern const int OPEN_PRIVATECACHE; // SQLITE_OPEN_PRIVATECACHE
53+ // / Database filename is not allowed to be a symbolic link
54+ extern const int OPEN_NOFOLLOW; // SQLITE_OPEN_NOFOLLOW
55+
4656
4757extern const int OK; // /< SQLITE_OK (used by check() bellow)
4858
Original file line number Diff line number Diff line change 2727namespace SQLite
2828{
2929
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;
3540
3641const int OK = SQLITE_OK;
3742
You can’t perform that action at this time.
0 commit comments