Add support for more SQLite database open options. (#565)
* Add support for in-memory SQLite databases. * Add support for opening SQLite databases via file URI.
This commit is contained in:
committed by
GitHub
parent
19db7aef46
commit
70d81430f8
@@ -12,7 +12,9 @@ elif binary.compiler.vendor == 'msvc':
|
||||
|
||||
binary.compiler.defines += [
|
||||
'SQLITE_OMIT_LOAD_EXTENSION',
|
||||
'SQLITE_THREADSAFE'
|
||||
'SQLITE_THREADSAFE',
|
||||
'SQLITE_USE_URI',
|
||||
'SQLITE_ALLOW_URI_AUTHORITY',
|
||||
]
|
||||
if builder.target_platform == 'linux':
|
||||
binary.compiler.postlink += ['-ldl', '-lpthread']
|
||||
|
||||
Reference in New Issue
Block a user