Exclusively lock database
This commit is contained in:
parent
3f26d983c8
commit
4e59449d40
@ -18,5 +18,8 @@ openDatabase() {
|
||||
echo 'PRAGMA foreign_keys = ON;' >&3
|
||||
echo 'PRAGMA recursive_triggers = ON;' >&3
|
||||
echo 'PRAGMA temp_store = 2;' >&3
|
||||
echo 'PRAGMA locking_mode = EXCLUSIVE;' >&3
|
||||
read -u4
|
||||
unset REPLY
|
||||
checkDatabaseVersion
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user