mirror of
https://github.com/containers/podman.git
synced 2025-06-21 09:28:09 +08:00
Merge pull request #17889 from vrothberg/sqlite-fixes
More sqlite fixes
This commit is contained in:
@ -38,8 +38,6 @@ const (
|
|||||||
sqliteOptionSynchronous = "&_sync=FULL"
|
sqliteOptionSynchronous = "&_sync=FULL"
|
||||||
// Allow foreign keys (https://www.sqlite.org/pragma.html#pragma_foreign_keys).
|
// Allow foreign keys (https://www.sqlite.org/pragma.html#pragma_foreign_keys).
|
||||||
sqliteOptionForeignKeys = "&_foreign_keys=1"
|
sqliteOptionForeignKeys = "&_foreign_keys=1"
|
||||||
// Enable cache sharing for threads within a process
|
|
||||||
sqliteOptionSharedCache = "&cache=shared"
|
|
||||||
// Make sure that transactions happen exclusively.
|
// Make sure that transactions happen exclusively.
|
||||||
sqliteOptionTXLock = "&_txlock=exclusive"
|
sqliteOptionTXLock = "&_txlock=exclusive"
|
||||||
|
|
||||||
@ -49,7 +47,6 @@ const (
|
|||||||
sqliteOptionJournal +
|
sqliteOptionJournal +
|
||||||
sqliteOptionSynchronous +
|
sqliteOptionSynchronous +
|
||||||
sqliteOptionForeignKeys +
|
sqliteOptionForeignKeys +
|
||||||
sqliteOptionSharedCache +
|
|
||||||
sqliteOptionTXLock
|
sqliteOptionTXLock
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user